vlan-pcp

Configures VLAN priority (PCP) value for encapsulation of outgoing packets.

Syntax

vlan-pcp vlan-pcp-value
no vlan-pcp vlan-pcp-value

Parameters

vlan-pcp vlan-pcp-value
Specifies the VLAN PCP value. Valid values are 0 through 7.

Modes

Encap configuration mode

Usage Guidelines

Validations for the command are as follows:

Examples

The following example configures vlan-pcp and verifies the configuration with the show command.

device# configure terminal
device(config)# encap encap-1
device#(config-encap)# vlan-id 4000
device(config-encap)# vlan-pcp 2 

device(config-encap)# end 

device# show running-config encap encap-1 
encap encap-1
  vlan-id 4000
  vlan-pcp 2

The following example shows the error that is thrown when the vlan-pcp value is outside the valid range.

device(config-encap)# vlan-pcp 100 
% Value '100' not in range <0-7>.