7000 Series L3 Managed Switch Reference Manual for Software v1.0
This set of commands consists of service addition/removal.
The CLI command root is
config diffserv service add
This command attaches a policy to an interface in a particular direction. The
parameter specifies a valid slot number and port number for the system. Alternatively, the value
can be used in place of
all
direction value is either in or out. The
DiffServ policy, whose type must match the interface direction. Note that this command causes a
service to create a reference to the policy.
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 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.
Format
Restrictions
config diffserv service remove
This command detaches a policy from an interface in a particular direction. The
parameter specifies a valid slot number and port number for the system. Alternatively, the value
can be used in place of
all
it is currently attached. The direction value is either in or out. The
name of an existing DiffServ policy. Note that this command causes a service to remove its
reference to the policy.
Note: This command effectively disables DiffServ on an interface (in a particular direction). There
is no separate interface administrative 'mode' command for DiffServ.
9-28
config diffserv service
to attach this policy to all system interfaces. The
<slot.port>
<policyname>
config diffserv service add <in/out> <slot.port/all>
<policyname>
Only a single policy may be attached to a particular interface in a
particular direction at any one time.
to detach this policy from all system interfaces to which
<slot.port>
May 30, 2003 Beta Draft
.
parameter is the name of an existing
<policyname>
CLI Commands: Differentiated Services
<slot.port>
<slot.port>
parameter is the