Cisco ME 3400 Software Configuration Manual page 256

Ethernet access switch
Hide thumbs Also See for ME 3400:
Table of Contents

Advertisement

Creating and Modifying VLANs
Beginning in privileged EXEC mode, follow these steps to create or modify an Ethernet VLAN:
Command
Step 1
configure terminal
Step 2
vlan vlan-id
Step 3
name vlan-name
Step 4
mtu mtu-size
Step 5
end
Step 6
show vlan {name vlan-name | id vlan-id} Verify your entries. The name option is only valid for VLAN IDs 1 to
Step 7
copy running-config startup config
To delete a VLAN, use the no vlan vlan-id global configuration command. You cannot delete VLAN 1
or VLANs 1002 to 1005.
When you delete a VLAN, any ports assigned to that VLAN become inactive. They remain associated
Caution
with the VLAN (and thus inactive) until you assign them to a new VLAN.
To return the VLAN name to the default settings, use the no name or no mtu VLAN configuration
command.
This example shows how to create Ethernet VLAN 20, name it test20, and add it to the VLAN database:
Switch# configure terminal
Switch(config)# vlan 20
Switch(config-vlan)# name test20
Switch(config-vlan)# end
This example shows how to create a new extended-range VLAN with all default characteristics, enter
config-vlan mode, and save the new VLAN in the switch startup configuration file:
Switch(config)# vlan 2000
Switch(config-vlan)# end
Switch# copy running-config startup config
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
11-10
Purpose
Enter global configuration mode.
Enter a VLAN ID, and enter VLAN configuration mode. Enter a new
VLAN ID to create a VLAN, or enter an existing VLAN ID to modify
that VLAN. The available VLAN ID range for this command is 1 to
4094.
When you create a new VLAN, by default the VLAN is a
Note
UNI-ENI isolated VLAN.
(Optional and supported on normal-range VLANs only) Enter a name
for the VLAN. If no name is entered for the VLAN, the default in the
VLAN database is to append the vlan-id with leading zeros to the word
VLAN. For example, VLAN0004 is a default VLAN name for VLAN 4.
(Optional) Change the MTU size.
Return to privileged EXEC mode.
1005.
(Optional) Save the configuration in the switch startup configuration
file.
Chapter 11
Configuring VLANs
OL-9639-07

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents