Chapter 2
Examples
The following example shows how to add a new VLAN with all the default parameters to the new VLAN
database:
Switch(vlan)# vlan 2
If the VLAN already exists, no action occurs.
Note
The following example shows how to cause the device to add a new VLAN, specify the media type and
parent VLAN ID number 3, and set all the other parameters to the defaults:
Switch(vlan)# vlan 2 media fastethernet parent 3
VLAN 2 modified:
The following example shows how to delete VLAN 2:
Switch(vlan)# no vlan 2
Switch(vlan)#
The following example shows how to return the MTU to the default for its type and the translational
bridging VLANs to the default:
Switch(vlan)# no vlan 2 mtu tb-vlan1 tb-vlan2
Switch(vlan)#
Related Commands
Command
show vlan
Media type FASTETHERNET
Parent VLAN 3
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
Description
Displays VLAN information.
vlan (VLAN Database mode)
2-1163