Cisco Catalyst 4500 Series Command Reference Manual page 939

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
service-policy output:ipp5-policy
class-map:ipp5 (match-all)
class-map:class-default (match-any)
Switch#
This 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.
If you use the match flow ip source-address|destination-address command, these two flows are
Note
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
class c1
OL-27596 -01
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 IOS XE 3.4.0SG and IOS 15.1(2)SG)
End with CNTL/Z.
show policy-map interface
2-881

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents