162
Default: No policy map is bound to ports by default.
Command mode: Interface Configuration Mode.
Usage Guide: Configuring port trust status and applying policy map on the port are two
conflicting operations; the later configuration will override the earlier configuration. Only
one policy map can be applied to each direction of each port. Egress policy map is not
supported yet. Note: class-map can't match multiple rules, such as match multi-cos,
multi-dscp, or match a acl of multiple rules, otherwise the application policy is failure.
Example: Bind policy p1 to ingress Ethernet port1/1.
Switch(config)#interface ethernet 1/1
Switch(Config-If-Ethernet1/1)#service-policy input p1
13.16 show class-map
Command: show class-map [<class-map-name>]
Function: Displays class map of QoS.
Parameters: < class-map-name> is the class map name.
Default: N/A.
Command mode: Admin Mode.
Usage Guide: Displays all configured class-map or specified class-map information.
Example:
Switch # show class-map
Class map name:c1, used by 1 times
match acl name:1
Classifying rule for the class map.
13.17 show policy-map
Command: show policy-map [<policy-map-name>]
Function: Displays policy map of QoS.
Parameters: <policy-map-name> is the policy map name.
Default: N/A.
Command mode: Admin Mode.