vlan-pcp
Configures VLAN priority (PCP) value for
encapsulation of outgoing packets.
Syntax
no
vlan-pcp
vlan-pcp-value
Parameters
- vlan-pcp
vlan-pcp-value
- Specifies the VLAN PCP value. Valid values
are 0 through 7.
Usage Guidelines
Validations for the command are as follows:
- This command is optional.
- When this parameter is not configured, the outgoing packet does not contain a
VLAN header.
- If this command is enabled without
configuring vlan-id, the outgoing packet will not contain the VLAN header.
- Valid VLAN PCP value must be provided.
- If another VLAN PCP is already configured, it must be removed before configuring
a new VLAN PCP.
- If the same command is run more
than once, the second and subsequent instances are ignored
and no error is reported.
- If the no form of the command is run
without the configuration, the command is ignored and no
error is reported.
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