EasyManua.ls Logo

Cisco Nexus 6000 Series - VLAN Configuration, Port Assignment, and VTP

Cisco Nexus 6000 Series
232 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
This example shows how to configure optional parameters for VLAN 5:
switch# configure terminal
switch(config)# vlan 5
switch(config-vlan)# name accounting
switch(config-vlan)# state active
switch(config-vlan)# no shutdown
Adding Ports to a VLAN
After you have completed the configuration of a VLAN, assign ports to it.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Specifies the interface to configure, and enters the
interface configuration mode. The interface can be a
physical Ethernet port or an EtherChannel.
switch(config)# interface {ethernet
slot/port | port-channel number}
Step 2
If this is a 10G breakout port, the slot/port
syntax is QSFP-module/port.
Note
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 VTP
You can enable VTP and then configure the VTP mode (server [default], client, transparent, or off). 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
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Enables VTP on the device. The default is disabled.switch(config)# feature vtp
Step 2
Specifies the name of the VTP domain that you want
this device to join. The default is blank.
switch(config)# vtp domain
domain-name
Step 3
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
20
Configuring VLANs
Adding Ports to a VLAN

Table of Contents

Related product manuals