Configuration Mode - Cisco Catalyst 4500 Series Command Reference Manual

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

show class-map
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
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
2-664
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
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
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.
OL-27596 -01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents