Cisco Cisco Gigabit Ethernet Switch Module (CGESM) for HP 기술 참조

다운로드
페이지 742
   
2-541
Cisco Gigabit Ethernet Switch Module for the HP p-Class BladeSystem Command Reference Guide
380265-002
Chapter  2      CGESM 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
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.