Assigning Static-Access Ports To A Vlan; Creating An Extended-Range Vlan With An Internal Vlan Id - Cisco ME 3400 Software Configuration Manual

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

Advertisement

Chapter 11
Configuring VLANs

Assigning Static-Access Ports to a VLAN

You can assign a static-access port to a VLAN.
If you assign an interface to a VLAN that does not exist, the new VLAN is created. (See the
Note
or Modifying an Ethernet VLAN" section on page
Beginning in privileged EXEC mode, follow these steps to assign a port to a VLAN in the VLAN
database:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
no shutdown
Step 4
switchport mode access
Step 5
switchport access vlan vlan-id
Step 6
end
Step 7
show running-config interface interface-id
Step 8
show interfaces interface-id switchport
Step 9
copy running-config startup-config
To return an interface to its default configuration, use the default interface interface-id interface
configuration command.
This example shows how to configure a port as an access port in VLAN 2:
Switch# configure terminal
Enter configuration commands, one per line.
Switch(config)# interface fastethernet0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 2
Switch(config-if)# end

Creating an Extended-Range VLAN with an Internal VLAN ID

If you enter an extended-range VLAN ID that is already assigned to an internal VLAN, an error message
appears, and the extended-range VLAN is rejected. To manually release an internal VLAN ID, you must
temporarily shut down the routed port that is using the internal VLAN ID.
OL-9639-07
11-9.)
Purpose
Enter global configuration mode
Enter the interface to be added to the VLAN.
Enable the port, if necessary. By default, UNIs and ENIs are
disabled, and NNIs are enabled.
Define the VLAN membership mode for the port (Layer 2 access
port).
Assign the port to a VLAN. Valid VLAN IDs are 1 to 4094.
Return to privileged EXEC mode.
Verify the VLAN membership mode of the interface.
Verify your entries in the Administrative Mode and the Access Mode
VLAN fields of the display.
(Optional) Save your entries in the configuration file.
End with CNTL/Z.
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
Creating and Modifying VLANs
"Creating
11-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents