POLICY
-
MAP
32-5
Example
This example creates a class map called “rd_class#1,” and sets it to match
packets marked for DSCP service value 3:
This example creates a class map call “rd_class#2,” and sets it to match
packets marked for IP Precedence service value 5:
This example creates a class map call “rd_class#3,” and sets it to match
packets marked for VLAN 1:
policy-map
This command creates a policy map that can be attached to multiple
interfaces, and enters Policy Map configuration mode. Use the
no
form to
delete a policy map and return to Global configuration mode.
Syntax
[
no
]
policy-map
policy-map-name
policy-map-name
- Name of the policy map. (Range: 1-16 characters)
Default Setting
None
Command Mode
Global Configuration
Command Usage
• Use the
policy-map
command to specify the name of the policy map,
and then use the
class
command to configure policies for traffic that
matches criteria defined in a class map.
Console(config)#class-map rd_class#1_ match-any
Console(config-cmap)#match ip dscp 3
Console(config-cmap)#
Console(config)#class-map rd_class#2 match-any
Console(config-cmap)#match ip precedence 5
Console(config-cmap)#
Console(config)#class-map rd_class#3 match-any
Console(config-cmap)#match vlan 1
Console(config-cmap)#
Summary of Contents for WPCI-G - annexe 1
Page 2: ......
Page 26: ...TABLE OF CONTENTS xxvi ...
Page 36: ...GETTING STARTED ...
Page 72: ...MANAGING SYSTEM FILES 2 24 ...
Page 74: ...SWITCH MANAGEMENT ...
Page 90: ...CONFIGURING THE SWITCH 3 16 ...
Page 245: ...SHOWING PORT STATISTICS 8 33 Figure 8 12 Port Statistics ...
Page 252: ...ADDRESS TABLE SETTINGS 9 6 ...
Page 318: ...CLASS OF SERVICE 12 16 ...
Page 330: ...QUALITY OF SERVICE 13 12 ...
Page 348: ...DOMAIN NAME SERVICE 15 8 ...
Page 404: ...IP ROUTING 17 44 ...
Page 406: ...COMMAND LINE INTERFACE ...
Page 608: ...MIRROR PORT COMMANDS 26 4 ...
Page 644: ...SPANNING TREE COMMANDS 29 28 ...
Page 668: ...VLAN COMMANDS 30 24 ...
Page 686: ...CLASS OF SERVICE COMMANDS 31 18 ...
Page 700: ...QUALITY OF SERVICE COMMANDS 32 14 ...
Page 792: ...IP INTERFACE COMMANDS 36 50 ...
Page 818: ...APPENDICES ...
Page 824: ...SOFTWARE SPECIFICATIONS A 6 ...
Page 828: ...TROUBLESHOOTING B 4 ...
Page 844: ...INDEX Index 6 ...
Page 845: ......