
"
Note
:
This command effectively disables DiffServ on an interface (in a particular direction). There is
no separate interface administrative 'mode' command for DiffServ.
▫
Format
no service-policy {in | out} <policymapname>
▫
Modes
Global Config (for all system interfaces)
Interface Config (for a specific interface)
8.7 Show Commands
The 'show' command set is used in DiffServ to display configuration and status information for:
。
Classes
。
Policies
。
Services
This information can be displayed in either summary or detailed formats. The status information is only
shown when the DiffServ administrative mode is enabled; it is suppressed otherwise.
There is also a 'show' command for general DiffServ information that is available at any time.
8.7.1 show class-map
This command displays all configuration information for the specified class. The <classname> is the
name of an existing DiffServ class.
。
Format show class-map [<classname>]
。
Mode Privileged EXEC and User EXEC
If the Class Name is specified the following fields are displayed:
▫
Class Name -
The name of this class.
▫
Class Type -
The class type (all, any, or acl) indicating how the match criteria are evaluated for this
class. A class type of all means every match criterion defined for the class is evaluated
simultaneously they must all be true to indicate a class match. For a type of any each match
criterion is evaluated sequentially and only one need be true to indicate a class match. Class type
acl rules are evaluated in a hybrid manner, with those derived from each ACL Rule grouped and
evaluated simultaneously, while each such grouping is evaluated sequentially.
▫
Match Criteria -
The Match Criteria fields will only be displayed if they have been configured. They
will be displayed in the order entered by the user. These are evaluated in accordance with the
class type. The possible Match Criteria fields are: Class of Service, Destination IP Address,
Destination Layer 4 Port, Destination MAC Address, Every, IP DSCP, IP Precedence, IP TOS,
Protocol Keyword, Reference Class, Source IP Address, Source Layer 4 Port, Source MAC
Address, and VLAN.
▫
Values -
This field displays the values of the Match Criteria.
▫
Excluded -
This field indicates whether or not this Match Criteria is excluded.
If the Class Name is not specified, this command displays a list of all defined DiffServ classes. The