Configuring VLAN 0 Priority Tagging
Configuring VLAN 0 Priority Tagging
Configuring VLAN 0 Priority Tagging
802.1Q Tagging
The 802.1Q standard defines a system of VLAN tagging for Ethernet frames and also contains a provision for a quality of service
(QoS) prioritization scheme known as 802.1P, which indicates the priority level of the frame. The 802.1Q standard adds this information
to the Ethernet header, as shown in the figure below. The priority level values range from zero (best effort) to seven (highest). These
values can be used to prioritize different classes of traffic. The VLAN ID tag specifies the VLAN to which the frame belongs. The
priority bits define the priority with which the frames are processed.
Native VLANs
When a particular VLAN ID is assigned as a native VLAN on an Ethernet interface, frames in the native VLAN transmitted from
the Ethernet interface are not tagged. Similarly, any untagged frames received on the Ethernet interface are associated with the native
VLAN on that interface. The Ethernet interface can still receive both tagged and untagged frames. The tagged frames are associated
with the VLAN ID in the 802.1Q header (see above). Untagged frames do not contain priority bits in the Ethernet frame header and
are treated as best effort. On ingress, Ethernet packets tagged with VLAN 0 are associated with the native VLAN of the interface.
2
Guidelines and Limitations
Ensure that Ethernet packets that the switch receives on VLAN 0 are transmitted on the egress interface as VLAN tagged to retain
their priority values.
Default Settings
VLAN 0 priority tagging is enabled by default.
Procedure
Verifying Configuration
Use the show running-config all command to display the VLAN 0 priority tagging configuration. For example:
3
carrier-delay 2
no shutdown
tx-ring-limit 0
tx-queue-limit 0
encapsulation priority-tagged
no macsec replay-protection
no macsec
Configuration Example
Switch# configure terminal
Switch(config)# interface GigabitEthernet1/1
Switch(config-if)# encapsulation priority-tagged
Switch(config-if)# end
Related Documents
For Cisco Industrial Ethernet Switch documentation, see:
• CGS 2520— http://www.cisco.com/go/cgs2520
• ESM— http://www.cisco.com/c/en/us/support/interfaces-modules/connected-grid-10-port-ethernet-switch-module-interface-card/
model.html
• IE 2000U— http://www.cisco.com/go/ie2000u
• IE 2000— http://www.cisco.com/go/ie2000
• IE 4000— http://www.cisco.com/go/ie4000
• IE 5000— http://www.cisco.com/go/ie5000
Feature History
Platform Feature First Supported Release
CGS 2520, ESM, IE 2000U, IE 2000, IE VLAN 0 Priority Tagging Support Cisco IOS Release 15.2(5)E1
4000, IE 5000
4
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: http://
www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership
relationship between Cisco and any other company. (1110R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network
topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional
and coincidental.
© 2016 Cisco Systems, Inc. All rights reserved.
Americas Headquarters Asia Pacific Headquarters Europe Headquarters
Cisco Systems, Inc. Cisco Systems (USA) Pte. Ltd. Cisco Systems International BV
San Jose, CA 95134-1706 Singapore Amsterdam, The Netherlands
USA
Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the
Cisco Website at www.cisco.com/go/offices.