Command Reference Guide

DiffServ Show Commands
CLI Command Reference
September 2014 Page 644
HP Moonshot Switch Module CLI Command Reference
no service-policy
This command detaches a policy from an interface in the inbound direction as indicated by the in parameter,
or the outbound direction as indicated by the
out parameter, respectively. The policyname parameter is the
name of an existing DiffServ policy.
DiffServ Show Commands
Use the DiffServ show commands to display configuration and status information for classes, policies, and
services. You can display DiffServ information in summary or detailed formats. The status information is only
shown when the DiffServ administrative mode is enabled.
show class-map
This command displays information about the DiffServ classes configured on the switch. The class-name is the
name of an existing DiffServ class.
If the class-name is specified the following fields are displayed:
Note: This command causes a service to remove its reference to the policy. This command effectively
disables DiffServ on an interface in the inbound direction or an interface in the outbound direction.
There is no separate interface administrative 'mode' command for DiffServ.
Format
no service-policy {in|out} policymapname
Modes Global Config
•Interface Config
Format
show class-map [class-name]
Modes •Privileged EXEC
User EXEC
Term Definition
Class Name The name of this class.
Class Type A class type of all means every match criterion defined for the class is evaluated
simultaneously and must all be true to indicate a class match.
Class Layer3
Protocol
The Layer 3 protocol for this class. Possible values are IPv4 and IPv6.
Match Criteria The Match Criteria fields are only displayed if they have been configured. They are
displayed in the order entered by the user. The fields are evaluated in accordance with the
class type. The possible Match Criteria fields are: Destination IP Address, Destination Layer
4 Port, Destination MAC Address, Ethertype, Source MAC Address, VLAN, Class of Service,
Every, IP DSCP, IP Precedence, IP TOS, Protocol Keyword, Reference Class, Source IP
Address, and Source Layer 4 Port.