Configuring VLAN 0 Priority Tagging

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

VLAN 0 Priority Tagging Support

Configuring VLAN 0 Priority Tagging 2


Information About VLAN 0 Priority Tagging 2
Guidelines and Limitations 3
Default Settings 3
Configuring VLAN 0 Priority Tagging 3
Verifying Configuration 3
Configuration Example 4
Related Documents 4
Feature History 4
Revised: December 2, 2016,

Configuring VLAN 0 Priority Tagging


VLAN 0 priority tagging is supported on the following Cisco IE switches: IE 2000U, CGS 2520, Ethernet Switch Module (ESM),
IE 2000, IE 4000, and IE 5000.

Information About VLAN 0 Priority Tagging


The VLAN 0 Priority Tagging feature enables 802.1Q Ethernet frames to be transmitted with the VLAN ID set to zero. These frames
are called priority tagged frames. Setting the VLAN ID tag to zero allows the VLAN ID tag to be ignored and the Ethernet frame to
be processed according to the priority configured in the 802.1P bits of the 802.1Q Ethernet frame header.
Process and power system automation protocols that use priority tagging include IEC6180 GOOSE and SV.

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.

VLAN 0 Priority Tagging and Priority Values


When VLAN 0 priority tagging is configured on the interface, the 802.1P priority bits are retained on ingress for the VLAN 0 tagged
Ethernet frames. To retain the 802.1P priority bits of the VLAN 0 Ethernet packets on egress, the egress interface must be in trunk
mode, and the native VLAN should not be the same native VLAN as the ingress interface. When these frames are received at the
destination, the header is stripped off and the frame is processed as per the configuration of the 802.1P priority bits. If the VLAN ID
has a nonzero value, the header is retained and the frame is transmitted to the specified VLAN. High priority frames are sent ahead
of low priority frames.

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.

Configuring VLAN 0 Priority Tagging


Before You Begin
Follow this procedure to configure the interface to transmit and receive 802.1Q frames with VLAN ID 0. By default, VLAN 0 priority
tagging is enabled.

Procedure

Step 1 Enter global configuration mode:


configure terminal

Step 2 Configure an interface and enter interface configuration mode:


interface <interface >

Step 3 Configure the ingress interface to accept VLAN 0 tagged packets:


encapsulation priority-tagged
Note To disable VLAN 0 priority tagging, use the no form of the command:
no encapsulation priority-tagged

Switch(config-if)# encapsulation priority-tagged

Verifying Configuration
Use the show running-config all command to display the VLAN 0 priority tagging configuration. For example:

#sh run all | section GigabitEthernet1/1


interface GigabitEthernet1/1
switchport
switchport access vlan 1
no switchport nonegotiate
no switchport protected
no switchport block unicast
no switchport block multicast
no switchport port-security mac-address sticky
no ip arp inspection trust
ip arp inspection limit rate 15 burst interval 1
ip arp inspection limit rate 15
load-interval 300

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.

You might also like