Adding Ports To A Vlan - Cisco Nexus 3000 Series Configuration Manual

Nx-os layer 2 switching configuration guide, release 6.x
Hide thumbs Also See for Nexus 3000 Series:
Table of Contents

Advertisement

Configuring VLANs

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
Triggering the VLAN Membership Consistency Checker
You can manually trigger the VLAN Membership consistency checker to compare the hardware and software
configuration of all ports in a VLAN and display the results. To manually trigger the VLAN Membership
consistency checker and display the results, use the following command in any mode:
Procedure
Step 1
This example shows how to trigger a VLAN Membership consistency check and display the results:
switch# show consistency-checker membership vlan 2
Checks: Port membership of Vlan
Vlan
Consistency Check: PASSED
Vlan:2, Hardware state consistent for:
Ethernet1/18
Ethernet1/20
Ethernet1/29
Ethernet1/30
Ethernet1/31
Ethernet1/32
Ethernet1/33
Ethernet1/34
OL-29545-03
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# show consistency-checker
membership vlan vlan-id
2 :
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 6.x
Adding Ports to a VLAN
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.
Sets the access mode of the interface to the specified
VLAN.
Purpose
Starts a VLAN Membership consistency check on
the member ports of vlan-id and displays the results.
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents