
10-7
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
Chapter 10 Configuring VLANs
Configuring VLANs on the Switch
This example shows how to create an Ethernet VLAN and verify the configuration:
Console> (enable) set vlan 500 name Engineering
Vlan 500 configuration successful
Console> (enable) show vlan 500
VLAN Name Status IfIndex Mod/Ports, Vlans
---- -------------------------------- --------- ------- ------------------------
500 Engineering active 344
VLAN Type SAID MTU Parent RingNo BrdgNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
500 enet 100500 1500 - - - - - 0 0
VLAN AREHops STEHops Backup CRF
---- ------- ------- ----------
Console> (enable)
To modify the VLAN parameters on an existing Ethernet VLAN, perform this task in privileged mode:
This example shows how to change the vlan 500 name from Engineering to Development and verify the
configuration:
Console> (enable) set vlan 500 name Development
Vlan 500 configuration successful
Console> (enable) show vlan 500
VLAN Name Status IfIndex Mod/Ports, Vlans
---- -------------------------------- --------- ------- ------------------------
500 Development
active 344
VLAN Type SAID MTU Parent RingNo BrdgNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
500 enet 100500 1500 - - - - - 0 0
VLAN AREHops STEHops Backup CRF
---- ------- ------- ----------
Console> (enable)
Creating or Modifying a Normal-Range Ethernet VLAN
To create a normal-range Ethernet VLAN, perform this task in privileged mode:
Task
Command
Step 1
Modify an existing Ethernet VLAN.
set vlan vlan_num [name name] [state {active | suspend}]
[said said] [mtu mtu] [translation vlan_num]
Step 2
Verify the VLAN configuration.
show vlan [vlan_num]
Task
Command
Step 1
Create a normal-range Ethernet VLAN. set vlan vlan [name name] [said said] [mtu mtu]
[translation vlan]
Step 2
Verify the VLAN configuration.
show vlan [vlan]