2-576
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
qos account layer-all encapsulation
qos account layer-all encapsulation
To account for Layer 1 header length of 20 bytes in QoS policing features, use the qos account layer-all
encapsulation command. To disable the use of additional bytes, use the no form of this command.
qos account layer-all encapsulation
no qos account layer-all encapsulation
Syntax Description This command has no arguments or keywords.
Defaults On Supervisor Engine 6-E, Supervisor Engine 6L-E, Catalyst 4900M, and Catalyst 4948E, policers
account only for the Layer 2 header length in policing features. In contrast, shapers account for header
length as well as IPG in rate calculations.
Command Modes Global configuration
Command History
Usage Guidelines Supervisor Engine 6-E, Supervisor Engine 6L-E, Catalyst 4900M, and Catalyst 4948E use the qos
account layer-all encapsulation command to account for Layer 1 header of 20 bytes ( preamble + IPG)
and Layer 2 header in policing features. When this command is configured, policer statistics ( in bytes )
observed in the output of the show policy-map interface command reflect the Layer 1 header length as
well ( 20 bytes per packet).
Examples This example shows how to shows how to include IPG in policing:
Switch)# config t
Switch(config)# qos account layer-all encapsulation
Switch(config)# end
Switch#
Related Commands
Release Modification
15.0(2)SG Support for this command was introduced on the Catalyst 4500 series switch.
Command Description
show policy-map interface Displays policer statistics on a specific interface.