Cisco N7K-C7018 Configuration Guide - Page 288
Configuring Global CoS for L2 Protocol Tunnel Ports
View all Cisco N7K-C7018 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 288 highlights
Configuring Q-in-Q Tunnels and Layer 2 Protocol Tunneling Chapter 9 Configuring Q-in-Q VLAN Tunnels Send document comments to [email protected] Step 3 Command switchport Purpose Sets the interface as a Layer 2 switching port. Step 4 Example: switch(config-if)# switchport switchport mode dot1q-tunnel Creates a 802.1Q tunnel on the port. Step 5 Example: switch(config-if)# switchport mode dot1q-tunnel l2protocol tunnel [cdp | stp | vtp] Step 6 Example: switch(config-if)# l2protocol tunnel stp no l2protocol tunnel [cdp | stp | vtp] Enables Layer 2 protocol tunneling. Optionally, you can enable CDP, STP, or VTP tunneling. (Optional) Disables protocol tunneling. Step 7 Example: switch(config-if)# no l2protocol tunnel exit Exits configuration mode. Step 8 Example: switch(config-if)# exit switch(config)# exit copy running-config startup-config (Optional) Copies the running configuration to the Example: startup configuration. 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. configure terminal 2. l2protocol tunnel cos value 3. no l2protocol tunnel cos 4. exit 5. copy running-config startup-config 9-12 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x OL-23435-03