Cisco WS-C3560V2-24TS-E Command Reference - Page 711
show vlan, vlan global, configuration, state, active, stp type, tb-vlan1, media, ethernet, apply
View all Cisco WS-C3560V2-24TS-E manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 711 highlights
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands vlan (VLAN configuration) • When the no vlan vlan-id state form is used, the VLAN state returns to the default (active). • When the no vlan vlan-id stp type form is used, the VLAN spanning-tree type returns to the default (ieee). • When the no vlan vlan-id tb-vlan1 or no-id tb-vlan2 form is used, the VLAN translational bridge VLAN (or VLANs, if applicable) returns to the default (0). Translational bridge VLANs must be a different VLAN type than the affected VLAN, and if two are specified, the two must be different VLAN types from each other. A translational bridge VLAN resets to the default if the translational bridge VLAN is deleted, if the media keyword changes the VLAN type, or if the media keyword changes the VLAN type of the corresponding translation bridge VLAN. Examples This example shows how to add an Ethernet VLAN with default media characteristics. The default includes a vlan-name of VLANxxx, where xxxx represents four numeric digits (including leading zeros) equal to the VLAN ID number. The default media option is ethernet; the state option is active. The default said-value variable is 100000 plus the VLAN ID; the mtu-size variable is 1500; the stp-type option is ieee. When you enter the exit or apply vlan configuration command, the VLAN is added if it did not already exist; otherwise, this command does nothing. Switch(vlan)# vlan 2 VLAN 2 added: Name: VLAN0002 Switch(vlan)# exit APPLY completed. Exiting.... This example shows how to modify an existing VLAN by changing its name and MTU size: Switch(vlan)# no vlan name engineering mtu 1200 You can verify your settings by entering the show vlan privileged EXEC command. Related Commands Command show vlan vlan (global configuration) Description Displays the parameters for all configured VLANs or one VLAN (if the VLAN ID or name is specified) in the administrative domain. Enters config-vlan mode for configuring normal-range and extended-range VLANs. 78-16405-05 Catalyst 3560 Switch Command Reference 2-679