5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
1179
policy-map rename policyname newpolicyname
Parameters
policyname
Enter the policy name up to 31 alphanumeric characters.
newpolicyname
Enter the new policy name up to 31 alphanumeric characters.
Default
The default is None.
Command Mode
Global Config
DiffServ Service Commands
Use the DiffServ service commands to assign a DiffServ traffic conditioning policy, which you specified by
using the policy commands, to an interface in the incoming direction
The service commands attach a defined policy to a directional interface. You can assign only one policy
at any one time to an interface in the inbound direction. DiffServ is not used in the outbound direction.
This set of commands consists of service addition/removal.
The CLI command root is
service-policy
.
12-57 service-policy
This command attaches a policy to an interface in the inbound direction. The
policyname
parameter is the
name of an existing DiffServ policy. This command causes a service to create a reference to the policy.
Note:
This command effectively enables DiffServ on an interface in the inbound 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, that would result in a violation of the interface capabilities, causes the policy change attempt to
fail.
Use the
no
command to detache a policy from an interface in the inbound direction. The policyname
parameter is the name of an existing DiffServ policy.
Note:
The
no
command causes a service to remove its reference to the policy. The
no
command
effectively disables DiffServ on an interface in the inbound direction. There is no separate interface
administrative ‘mode’ command for DiffServ.
Note:
Each interface can have one policy attached.
service-policy in policymapname
no service-policy in policymapname
Содержание 5000 Series
Страница 1: ...Draft 1 2 1 ...
Страница 141: ...5000 Series Layer 2 3 Managed Data Center Switch CLI Reference Guide 135 ...