Information Technology Reference
In-Depth Information
type is Ethernet. The set vlan 2/20-24 command assigns ports 2/20 to 2/24 to VLAN 101. The
show vlan command verifies that ports 2/20-24 are assigned to VLAN 101.
Example 3-23 CatOS set vlan Command
cat5000: (enable) set vlan ?
Usage: set vlan <vlan_num> <mod/ports...>
(An example of mod/ports is 1/1,2/1-12,3/1-2,4/1-12)
Usage: set vlan <vlan_num> [name <name>] [type <type>] [state <state>]
[said <said>] [mtu <mtu>] [ring <hex_ring_number>]
[decring <decimal_ring_number>]
[bridge <bridge_number>] [parent <vlan_num>]
[mode <bridge_mode>] [stp <stp_type>]
[translation <vlan_num>] [backupcrf <off|on>]
[aremaxhop <hopcount>] [stemaxhop <hopcount>]
(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)
cat5000: (enable)
cat5000: (enable) set vlan 101 name ccie said 10 type enet
Vlan 101 configuration successful
cat5000: (enable) set vlan 101 2/20-24
VLAN 101 modified.
VLAN 1 modified.
VLAN Mod/Ports
---- -----------------------
101 2/20-24
cat5000: (enable) show vlan
VLAN Name Status IfIndex Mod/Ports, Vlans
---- -------------------------------- --------- ------- -----------------------
1 default active 5 1/1-2
2/1-3,2/5-8,2/10-19
2 banzai active 38
3 VLAN0003 active 35
24 VLAN0024 active 39 2/4,2/9
56 VLAN0056 active 36
79 VLAN0079 active 37
101 ccie active 40 2/20-24
1002 fddi-default active 6
1003 trcrf-default active 9
1004 fddinet-default active 7
1005 trbrf-default active 8 1003
set vlan 101 name ccie said 10 type enet
set vlan 101 2/20-24
show vlan
Some switches might be equipped with a routing engine or Multilayer Switch Feature Card
(MSFC). You use the session slot-number command to reach the card from the CatOS.
The CCIE candidate must be familiar with the basic configuration commands for Catalyst OS
switches.
Search WWH ::




Custom Search