Layer 2/3/4 Managed Switch
_____________________________________________________________________________
LB9 User’s Guide 602/1523
6.20.4.1 service-policy
This command attaches a policy to an interface in a particular direction.
service-policy {in | out} <policy-map-name>
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 this policy to all system
interfaces. The direction value is either in or out.
<policy-map-name> - is the name of an existing DiffServ policy, whose type must match the
interface direction. Note that this command causes a service to create a reference to the policy.
This command effectively enables DiffServ on an interface (in a particular direction). There is
no separate interface administrative 'mode' command for DiffServ.
This command shall fail 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 said interface capabilities shall cause
the policy change attempt to fail.
Command Mode
Global Config (for all system interfaces)
Interface Config (for a specific interface)
Restrictions Only a single policy may be attached to a particular interface in a particular direction at
any one time.