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 VLAN configuration command, the VLAN is added if it did not
already exist; otherwise, this command does has no affect.
This example shows how to create a new VLAN with all default characteristics and enter config-vlan
mode:
Switch(config)# vlan 200
Switch(config-vlan)# exit
This example shows how to create a new extended-range VLAN, to enter VLAN configuration mode and
configure the VLAN as a UNI-ENI community VLAN, and to save the new VLAN in the switch startup
configuration file:
Switch(config)# vlan 2000
Switch(config-vlan)# uni-vlan community
Switch(config-vlan)# exit
Switch(config)# exit
Switch# copy running-config startup config
You can verify your setting by entering the show vlan privileged EXEC command.
Related Commands
Command
show vlan
Cisco ME 3400 Ethernet Access Switch Command Reference
2-718
ste ste-number: defines the maximum number of spanning-tree explorer (STE) hops for TrCRF
VLANs. The range is 0 to 13. The default is 7.
stp type: defines the spanning-tree type for FDDI-NET, Token Ring-NET, or TrBRF VLANs.
ieee for IEEE Ethernet STP running source-route transparent (SRT) bridging.
–
ibm for IBM STP running source-route bridging (SRB).
–
auto for STP running a combination of source-route transparent bridging (IEEE) and
–
source-route bridging (IBM).
tb-vlan1 tb-vlan1-id and tb-vlan2 tb-vlan2-id: specifies the first and second VLAN to which this
VLAN is translationally bridged. Translational VLANs translate FDDI or Token Ring to Ethernet,
for example. The range is 0 to 1005. If no value is specified, 0 (no transitional bridging) is assumed.
uni-vlan {community | isolated}: configures the VLAN as a user network interface-enhanced
network interface (UNI-ENI) community or UNI-ENI isolated VLAN. UNIs on a switch that are
assigned to a community VLAN can communicate with each other. If the UNI-ENI VLAN is
isolated (the default), ports in the VLAN cannot communicate. See the
information.
Description
Displays the parameters for all configured VLANs or one VLAN (if the
VLAN ID or name is specified).
Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
uni count
command for more
OL-9640-10