3com 3CRUS2475 Manuale Utente

Pagina di 522
show policy-map
123
Use the service-policy (Ethernet, Port-channel) Interface Configuration 
mode command to attach a policy map to an interface. Use an existing 
class map to attach classification criteria to the specified policy map and 
use the access-group parameter to modify the classification criteria of 
the class map.
If this command is used to create a new class map, the name of an IP or 
MAC ACL must also be specified.
Example
The following example defines a traffic classification called 
‘class1’ with an access-group called ‘enterprise’. The class is in a policy 
map called policy1.
show policy-map
The show policy-map Privileged EXEC mode command displays the 
policy maps.
Syntax
show policy-map [policy-map-name [class-name]] 
Parameters
policy-map-name — Specifies the name of the policy map to be 
displayed.
class-name — Specifies the name of the class whose QoS policies are 
to be displayed.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode 
User Guidelines
There are no user guidelines for this command.
Console(config)# policy-map policy1
Console (config-pmap)# class class1 access-group enterprise