---------- ---------------- --------------- -------------
5
1023
Last Updater
--------------- -------- -------- -------------------------
0.0.0.0
5.
Créez des VLAN sur le commutateur.Par défaut, il n'y a qu'un seul VLAN sur le
commutateur, appelé VLAN 1. Le VLAN 1 est également appelé VLAN par défaut. Tous les
ports appartiennent à ce VLAN par défaut. Ce VLAN ne peut pas être renommé ou
supprimé.Pour créer des VLAN, utilisez la commande set vlan :
Cat5500> (enable) set vlan
Usage: set vlan
(An example of mod/port is 1/1,2/1-12,3/1-2,4/1-12)
set vlan
(name = 1..32 characters, state = (active, suspend)
type = (ethernet, fddi, fddinet, trcrf, trbrf)
said = 1..4294967294, mtu = 576..18190
hex_ring_number = 0x1..0xfff, decimal_ring_number = 1..4095
bridge_number = 0x1..0xf, parent = 2..1005, mode = (srt, srb)
stp = (ieee, ibm, auto), translation = 1..1005
hopcount = 1..13)
Set vlan commands:
----------------------------------------------------------------------------
set vlan
set vlan mapping
set vlan
Cat5500> (enable) set vlan 10
!--- Create VLAN 10.
after the command finishes. Vlan 10 configuration successful Cat5500> (enable) set vlan 20
!--- Create VLAN 20.
after the command finishes. Vlan 20 configuration successful Cat5500> (enable) set vlan 10
4/1-12
!--- Add ports to VLAN 10.
-------------- 10 4/1-12 Cat5500> (enable) set vlan 20 4/13-20
!--- Add ports to VLAN 20.
-------------- 20 4/13-20 Cat5500> (enable) show vlan
VLAN Name
---- -------------------------------- --------- ------- ------------------------
1
default
10
VLAN0010
20
VLAN0020
1002 fddi-default
1003 token-ring-default
1004 fddinet-default
1005 trnet-default
VLAN Type
SAID
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
1
enet
100001
0
V2 Mode
Pruning
PruneEligible on Vlans
disabled disabled 2-1000
<mod/port>
[name ] [type ] [state ]
[said ] [mtu ] [ring ]
[decring ]
[bridge ] [parent ]
[mode ] [stp ]
[translation ] [backupcrf <off/on>
[aremaxhop ] [stemaxhop ]
Set vlan information
Map an 802.1Q vlan to an Ethernet vlan
Vlan number(s)
VTP advertisements transmitting temporarily stopped and will resume
VTP advertisements transmitting temporarily stopped and will resume
VLAN 10 modified. VLAN 1 modified. VLAN Mod/Ports ---- ---------
VLAN 20 modified. VLAN 1 modified. VLAN Mod/Ports ---- ---------
MTU
Parent RingNo BrdgNo Stp
1500
-
disabled
Status
IfIndex Mod/Ports, Vlans
active
443
active
448
active
449
active
444
active
447
active
445
active
446
-
-
-
1/1-2
3/1-3
4/21-24
11/1-48
12/1-2
4/1-12
4/13-20
BrdgMode Trans1 Trans2
-
0
0