Changing The System Default Port Mode To Layer 2 - Cisco 7206 - VXR Router Configuration Manual

Network configuration guide
Table of Contents

Advertisement

Chapter 3
Configuring Layer 2 Interfaces
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m
DETAILED STEPS
Command
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
vlan dot1q tag native
Example:
switch(config)# vlan dot1q tag native
Step 3
exit
Example:
switch(config)# exit
switch#
Step 4
show vlan
Example:
switch# show vlan
Step 5
copy running-config startup-config
Example:
switch# copy running-config
startup-config
This example shows how to change the behavior of the native VLAN on an 802.1Q trunked interface to
maintain the tagged packets and drop all untagged traffic (except control traffic):
switch# configure terminal
switch(config)# vlan dot1q tag native
switch#

Changing the System Default Port Mode to Layer 2

You can set the system default port mode to Layer 2 access ports.
See the Cisco NX-OS FCoE Configuration Guide for Cisco Nexus 7000 and Cisco MDS 9500 for
information on setting the system default port mode to Fibre Channel in storage VDCs.
SUMMARY STEPS
1.
2.
3.
4.
5.
OL-23435-03
configure terminal
system default switchport [shutdown]
exit
(Optional) show interface brief
(Optional) copy running-config startup-config
Purpose
Enters configuration mode.
Modifies the behavior of a 802.1Q trunked native
VLAN ID interface. The interface maintains the
taggings for all packets that enter with a tag that
matches the value of the native VLAN ID and drops all
untagged traffic. The control traffic is still carried on
the native VLAN. The default is disabled.
Exits the configuration mode.
(Optional) Displays the status and information for
VLANs.
(Optional) Copies the running configuration to the
startup configuration.
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
Configuring Access and Trunk Interfaces
3-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents