Configuring Global Cos For L2 Protocol Tunnel Ports - Cisco 7604-RSP720C-R Configuration Manual

Nx-os interfaces
Table of Contents

Advertisement

Configuring Q-in-Q Tunnels and Layer 2 Protocol Tunneling
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
Command
Step 3
switchport
Example:
switch(config-if)# switchport
Step 4
switchport mode dot1q-tunnel
Example:
switch(config-if)# switchport mode
dot1q-tunnel
Step 5
l2protocol tunnel [cdp | stp | vtp]
Example:
switch(config-if)# l2protocol tunnel stp
Step 6
no l2protocol tunnel [cdp | stp | vtp]
Example:
switch(config-if)# no l2protocol tunnel
Step 7
exit
Example:
switch(config-if)# exit
switch(config)# exit
Step 8
copy running-config startup-config
Example:
switch# copy running-config startup-config
This example shows how to enable protocol tunneling on an 802.1Q tunnel port:
switch# configure terminal
switch(config)# interface ethernet 7/1
switch(config-if)# switchport
switch(config-if)# switchport mode dot1q-tunnel
switch(config-if)# l2protocol tunnel stp
switch(config-if)# exit
switch(config)# exit

Configuring Global CoS for L2 Protocol Tunnel Ports

You can specify a Class of Service (CoS) value globally so that ingress BPDUs on the tunnel ports are
encapsulated with the specified class.
SUMMARY STEPS
1.
2.
3.
4.
5.
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
9-12
configure terminal
l2protocol tunnel cos value
no l2protocol tunnel cos
exit
copy running-config startup-config
Chapter 9
Configuring Q-in-Q VLAN Tunnels
Purpose
Sets the interface as a Layer 2 switching port.
Creates a 802.1Q tunnel on the port.
Enables Layer 2 protocol tunneling. Optionally, you
can enable CDP, STP, or VTP tunneling.
(Optional) Disables protocol tunneling.
Exits configuration mode.
(Optional) Copies the running configuration to the
startup configuration.
OL-23435-03

Advertisement

Table of Contents
loading

Table of Contents