Cisco Catalyst 4500 Series Configuration Manual page 971

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
service-policy output:ipp5-policy
class-map:ipp5 (match-all)
class-map:class-default (match-any)
Switch#
The following example shows how to display the input policy statistics and configurations for a specific
interface:
Switch# show policy-map interface fastethernet 5/36 input
service-policy input:ipp5-policy
class-map:ipp5 (match-all)
class-map:class-default (match-any)
Switch#
With the following configuration, each flow is policed to a 1000000 bps with an allowed 9000-byte burst
value.
Note
If you use the match flow ip source-address|destination-address command, these two flows are
consolidated into one flow and they have the same source and destination address.
Switch# config terminal
Enter configuration commands, one per line.
Switch(config)# class-map c1
Switch(config-cmap)# match flow ip source-address ip destination-address ip protocol l4
source-port l4 destination-port
Switch(config-cmap)# exit
Switch(config)# policy-map p1
Switch(config-pmap)# class c1
Switch(config-pmap-c)# police 1000000 9000
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface fastEthernet 6/1
Switch(config-if)# service-policy input p1
Switch(config-if)# end
Switch# write memory
Switch# show policy-map interface
FastEthernet6/1
class-map c1
match flow
destination-port
!
policy-map p1
0 packets
match:ip precedence 5
set:
ip precedence 6
0 packets
match:any
0 packets
0 packets
match:ip precedence 5
set:
ip precedence 6
0 packets
match:any
0 packets
ip source-address ip destination-address ip protocol l4 source-port l4
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
End with CNTL/Z.
show policy-map interface
2-923

Advertisement

Table of Contents
loading

Table of Contents