Specifications
2-461
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
qos account layer2 encapsulation
qos accou nt layer2 enc apsulation
To include additional bytes to be ac counted by the QoS features, use the qos account l ayer2
encapsulation command. To disab le the use of ad ditio nal by tes, use the no form of this command.
qos account layer2 encapsulation {arpa | dot1q | isl | length len}
no qos account layer2 encapsulation {arpa | dot1q | isl | length len}
Syntax Description
Defaults The length that is specified in the Ethernet header is considered for both IP and non-IP packets. The
Layer 2 length includes the VLAN tag over head.
Command Modes Global configura tion mode
Usage Guidelines Shaping and sharing always use Ether net ARPA length to which 20 bytes of IPv6 overhead is always
added for policing. However, only Layer 2 length including VLAN tag overhead is considered.
Note The given length is included when policing all IP packets irrespective of the encapsulation with which
it was rece ived. Wh en qos account layer2 encapsulation isl is c onfigur ed, a fixe d length of 48 byte s is
included when policing all IP packets, not only those IP packets that are received with ISL encapsulation.
Sharing and shaping use the length tha t is specified in the Layer 2 he aders.
Examples This example shows how to include an additional 18 bytes when policing IP packets:
Switch# config terminal
Switch(config)# qos account layer2 encapsulation length 18
Switch (config)# end
Switch#
This example shows how to disable the consistent accounting of the Layer 2 encapsulation by the QoS
features:
Switch# config terminal
Switch(config)# no qos account layer2 encapsulation
Switch (config)# end
Switch #
arpa Specifies the account length of the Ethe rnet ARPA-encapsulated pac ket
(18 bytes).
dot1q Specif ies the account length of the 802.1Q-encapsu lated packet (22 bytes).
isl Specifies the account len gth of the ISL-encapsula ted packet (48 bytes).
length len Specifies the a dditional packet length to account for; the valid r ange is from 0 to
64 bytes.