2-210
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco IOS Commands for the Catalyst 4500 Series Switches
qos account layer2 encapsulation
qos account layer2 encapsulation
To include additional bytes to be accounted by QoS features, use the qos account layer2 encapsulation
command. Use the no form of this command to disable the use of additional bytes.
qos account layer2 encapsulation {arpa | dot1q | isl | length len}
no qos account layer2 encapsulation {arpa | dot1q | isl | length len}
Syntax Description
Defaults By default, only the length specified in the IP header for IP packets and the length specified in the
Ethernet header for non-IP packets is included.
Command Modes Global configuration
Command History
Usage Guidelines In the Catalyst 4500 series switch, the qos account layer2 encapsulation command indicates that the
policing feature should consider the configured length in addition to the IP length of the packet when
policing IP packets.
Sharing and shaping always use the Ethernet ARPA length.
Note The given length is included when policing all IP packets irrespective of the encapsulation with which
it was received. When qos account layer2 encapsulation isl is configured, a fixed length of 48 bytes is
included when policing all IP packets, not only those IP packets received with ISL encapsulation.
Sharing and shaping use the length specified in the Layer 2 headers.
Examples This example shows how to include an additional 18 bytes when policing IP packets:
Switch# config terminal
Switch(conf)# qos account layer2 encapsulation length 18
Switch (conf)#
arpa Account length of the Ethernet ARPA encapsulated packet (18 bytes).
dot1q Account length of the IEEE 802.1q encapsulated packet (22 bytes).
isl Account length of the ISL encapsulated packet (48 bytes).
length len Additional packet length to account for; valid range is from 0 to 64 bytes.
Release Modification
12.1(19)EW This command was first introduced.