44-13
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 44 Configuring Control Plane Policing and Layer 2 Control Packet QoS Configuring Layer 2 Control Packet QoS
Switch(config-if-vlan-range)# exit
Switch(config-if)# exit
Switch(config)# exit
Switch# show policy-map interface gi3/1
GigabitEthernet3/1 vlan 1
Service-policy input: police_cdp
Class-map: system-control-packet-cdp-vtp (match-any)
0 packets
Match: access-group name system-control-packet-cdp-vtp
0 packets
police:
cir 32000 bps, bc 1500 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0000 bps, exceed 0000 bps
Class-map: class-default (match-any)
0 packets
Disabling Layer 2 Control Packet QoS
The no qos control-packet command disables QoS for all packet types.
The following example shows how to disable QoS for CDP packets after QoS is enabled for all packet
types:
Switch# show running-configuration | include qos control-packets
qos control-packets bpdu-range
qos control-packets cdp-vtp
qos control-packets lldp
qos control-packets eapol
qos control-packets sstp
qos control-packets protocol-tunnel
Note When all control packets (CDP/VTP, bpdu-range, SSTP, LLDP, and protocol-tunnel), are enabled only
qos control-packets is nevgen’d. Individual protocol names mentioned in the previous output are
nvegen’d only if the some of the control packets are configured.
Switch# config terminal
Switch(config)# no qos control-packets cdp-vtp
Switch(config)# end
Switch# show running-configuration | include qos control-packets
qos control-packets bpdu-range
qos control-packets lldp
qos control-packets sstp
qos control-packets protocol-tunnel
Note When you unconfigure this feature for a specified protocol type, the user-configured policies handling
that protocol type immediately become ineffective. To save TCAM resources, remove the policies as
well as MACLs and class maps (auto-generated or user-defined).