Verifying The Vlan Configuration - Cisco Nexus 9000 Series Configuration Manual

Nx-os layer 2 switching configuration
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring VLANs
Step 7
This example shows how to configure translation of double tag VLAN traffic (inner VLAN 12; outer VLAN
11) to VLAN 111.
switch# config t
switch(config)# interface ethernet1/1
switch(config-if)# switchport mode trunk
switch(config-if)# switchport vlan mapping enable
switch(config-if)# switchport vlan mapping 11 inner 12 111
switch(config-if)# switchport trunk allowed vlan 101-170
switch(config-if)# no shutdown
switch(config-if)# show mac address-table dynamic vlan 111
Legend:
VLAN
---------+-----------------+--------+---------+------+----+------------------
*
111
*
111

Verifying the VLAN Configuration

To display VLAN configuration information, perform one of the following tasks:
Command
show running-config vlan vlan-id
show vlan [all-ports | brief | id vlan-id | name name
| dot1q tag native]
show vlan summary
show vtp status
Displaying and Clearing VLAN Statistics
To display VLAN configuration information, perform one of the following tasks:
Command or Action
show interface [if-identifier] vlan
mapping
* - primary entry, G - Gateway MAC, (R) - Routed MAC, O - Overlay MAC
age - seconds since last seen,+ - primary entry using vPC Peer-Link,
(T) - True, (F) - False
MAC Address
Type
0000.0092.0001
dynamic
0000.0940.0001
dynamic
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
Purpose
(Optional)
Displays VLAN mapping information for a range of
interfaces or for a specific interface.
age
Secure NTFY Ports
0
F
F
nve1(100.100.100.254)
0
F
F
Eth1/1
Purpose
Displays VLAN information.
Displays VLAN information.
Displays a summary of VLAN information.
Displays VTP information.
Verifying the VLAN Configuration
33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents