Quick Reference Guide
Quality of Service (QoS) Commands | 357
Incompatibilities
Expedite (all forms)
Service Commands
The service command set consists of service-policy and show service. The service-policy
command assigns a DiffServ traffic conditioning policy (as specified by the policy commands) to an
interface in the incoming direction. Only one policy may be assigned at any one time to an interface.
service-policy
This command attaches a policy to an interface in a particular direction. However, this version of
SFTOS limits the direction to ingress. The command can be used in the Interface Config mode to
attach a policy to a specific interface. Alternatively, the command can be used in the Global Config
mode to attach the policy to all system interfaces.
Note that this command causes a service to create a reference to the policy.
Syntax
[no] service-policy in policy-map-name
The in parameter is required. SFTOS supports only the ingress direction.
The policy-map-name parameter is the name of an existing DiffServ policy.
The no version of this command detaches a policy from an interface in the ingress direction. The
command can be used in the Interface Config mode to detach a policy from a specific interface.
Alternatively, the command can be used in the Global Config mode to detach this policy from all
system interfaces to which it is currently attached. Note that this command causes a service to remove
its reference to the policy.
Modes
Global Config (for all system interfaces); Interface Config (for a specific interface); Interface Port
Channel Config; Interface Range Port Channel; Interface Range Ethernet
Command
History
Related
Commands
Note: This command effectively enables DiffServ on an interface (in a particular direction).
There is no separate interface administrative 'mode' command for DiffServ.
Note: This command fails if any attributes within the policy definition exceed the capabilities
of the interface. Once a policy is successfully attached to an interface, any attempt to change
the policy definition such that it would result in a violation of the interface capabilities will
cause the policy change attempt to fail.
Note: This command effectively disables DiffServ on an interface (in a particular direction).
There is no separate interface administrative 'mode' command for DiffServ.
Version 2.5.1 Added Interface Port Channel Config mode
interface Selects an interface and accesses the Interface Config mode
policy-map Establishes a new DiffServ policy
show service-policy Display a summary of policy-oriented statistics information for all interfaces.