
228
9.6 Service Commands
The 'service' command set is used in DiffServ to define:
Traffic Conditioning
Assign a DiffServ traffic conditioning policy (as specified by the policy
commands) to an interface in the incoming direction
The service commands attach a defined policy to a directional interface. Only one policy may be
assigned at any one time to an interface in the inbound direction. The policy type (in) must match
the interface direction to which it is attached.
This set of commands consists of service addition/removal.
The CLI command root is
service-policy
9.6.1 service-policy
This command attaches a policy to an interface in the inbound direction. 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 “in”. The <
policyname>
parameter is the name of an existing DiffServ policy,
whose type must match the interface direction. 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
service-policy in <policymapname>
Modes
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.
9.6.1.1 no service-policy
This command detaches a policy from an interface in a particular 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. The direction value is either in or out. The <
policyname>
parameter is
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.
Format
no service-policy in <policymapname>
Modes
Global Config (for all system interfaces) Interface Config (for a specific interface)
Содержание DN-80233
Страница 1: ...User Manual Dynamic 24 PORT MANAGED GIGABIT SWITCH DN 80233 ...
Страница 25: ...24 ...
Страница 28: ...27 ...
Страница 29: ...28 ...
Страница 30: ...29 ...
Страница 31: ...30 ...
Страница 107: ...106 and no spaces use a hyphen to designate a range of IDs For example you may set vtrunk set 1 2 5 8 ...
Страница 149: ...148 Default 0 Format vlan priority priority Mode Interface Config ...
Страница 224: ...223 Mode Class Map Config ...
Страница 293: ...292 11 6 51 1 no trapflags This command disables OSPF traps Format no trapflags Mode Router OSPF Config ...