Configuring VLANs
What to Do Next
You can configure routing protocols on this interface.
Configuring a VLAN as a Management SVI
You can configure a VLAN to be a management switch virtual interface (SVI).
Procedure
Step 1
Step 2
Step 3
Step 4
This example shows how to configure a VLAN as a management SVI:
switch# configure terminal
switch(config)# feature interface-vlan
switch(config)# interface vlan 5
switch(config-if)# management
switch(config-if)# copy running-config startup-config
switch(config-if)#
This example shows how to remove the management function from an SVI:
switch# configure terminal
switch(config)# interface vlan 5
switch(config-if)# no management
switch(config-if)# copy running-config startup-config
switch(config-if)#
Configuring VTP
You can enable and configure VTP. If you enable VTP, you must configure either version 1 or version 2. If
you are using VTP in a Token Ring environment, you must use version 2.
Procedure
Step 1
Step 2
OL-29545-03
Command or Action
switch# configure terminal
switch(config)# feature interface-vlan
switch(config)# interface-vlan vlan-id
management
switch(config-if)# copy running-config
startup-config
Command or Action
switch# configure terminal
switch(config)# feature vtp
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 6.x
Configuring a VLAN as a Management SVI
Purpose
Enters global configuration mode.
Enables the creation of SVIs.
Creates a VLAN interface (SVI) and configures
the SVI to be used for in-band management.
Copies the running configuration to the startup
configuration.
Purpose
Enters global configuration mode.
Enables VTP on the device. The default is disabled.
15