Cisco Catalyst 4500 Series Configuration Manual page 743

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
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
!
interface FastEthernet 6/1
service-policy input p1
Switch# show class-map c1
Class Map match-all c1 (id 2)
Match flow
destination-port
Switch#
Related Commands
Command
class-map
show policy-map
show policy-map interface
ip source-address ip destination-address ip protocol l4 source-port l4
class c1
police 1000000 bps 9000 byte conform-action transmit exceed-action drop
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.
Description
Creates a class map to be used for matching packets to the class
whose name you specify and to be used enter class-map
configuration mode.
Displays information about the policy map.
Displays the statistics and configurations of the input and output
policies that are attached to an interface.
show class-map
2-695

Advertisement

Table of Contents
loading

Table of Contents