user manual

Table Of Contents
PurposeCommand or Action
Sets the access mode of the interface to the
specified VLAN.
switch(config-if)# switchport access vlan
vlan-id
Step 3
This example shows how to configure an Ethernet interface to join VLAN 5:
switch# configure terminal
switch(config)# interface ethernet 1/13
switch(config-if)# switchport access vlan 5
Configuring a VLAN as a Routed SVI
You can configure a VLAN to be a routed switch virtual interface (SVI).
Before You Begin
Install the Layer 3 license. For more information, see License and Copyright Information for Cisco
NX-OS Software available at the following URL: http://www.cisco.com/en/US/docs/switches/datacenter/
sw/4_0/nx-os/license_agreement/nx-ossw_lisns.html.
Make sure you understand the guidelines and limitations of this feature. For information, see Guidelines
and Limitations for SVIs.
Procedure
PurposeCommand or Action
Enters global configuration mode.configure terminal
Step 1
Enables the creation of SVIs.feature interface-vlan
Step 2
Creates a VLAN interface (SVI) and enters
interface configuration mode.
interface-vlan vlan-id
Step 3
Copies the running configuration to the startup
configuration.
copy running-config startup-config
Step 4
The following example shows how to configure a VLAN as a routed SVI:
switch# configure terminal
switch(config)# feature interface-vlan
switch(config)# interface vlan 5
switch(config-if)# copy running-config startup-config
switch(config-if)#
The following example shows how to remove the routed SVI function from a VLAN:
switch# configure terminal
switch(config)# no interface vlan 5
switch(config-if)# copy running-config startup-config
switch(config-if)#
Cisco Nexus 3000 NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U3(1)
OL-26590-01 33
Configuring VLANs
Configuring a VLAN as a Routed SVI