hit counter script

Adding Ports To A Vlan; Configuring Vtp - Cisco Nexus 6000 Series Configuration Manual

Nx-os layer 2 guide
Hide thumbs Also See for Nexus 6000 Series:
Table of Contents

Advertisement

Adding Ports to a VLAN

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
Step 1
Step 2
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
Step 1
Step 2
Step 3
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
20
Command or Action
switch# configure terminal
switch(config)# interface {ethernet
slot/port | port-channel number}
switch(config-if)# switchport access
vlan vlan-id
Command or Action
switch# configure terminal
switch(config)# feature vtp
switch(config)# vtp domain
domain-name
Purpose
Enters global configuration mode.
Specifies the interface to configure, and enters the
interface configuration mode. The interface can be a
physical Ethernet port or an EtherChannel.
If this is a 10G breakout port, the slot/port
Note
syntax is QSFP-module/port.
Sets the access mode of the interface to the specified
VLAN.
Purpose
Enters global configuration mode.
Enables VTP on the device. The default is disabled.
Specifies the name of the VTP domain that you want
this device to join. The default is blank.
Configuring VLANs

Advertisement

Table of Contents
loading

Table of Contents

Save PDF