![](/images/new-backgrounds/1299835/299835541x1.webp)
policy-map rename <policyname> <newpolicyname>
<policyname> - Old Policy name. <newpolicyname> - New policy name.
Command Mode
Global Config
Policy Type In
5.12.4Service 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.
Service Provisioning Assign a DiffServ service provisioning policy (as specified by the policy commands) to an interface in the outgoing 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 a particular direction. The policy type (in, out) must match the interface direction to which it is attached.
This set of commands consists of service addition/removal.
The CLI command root is
5.12.4.1service-policy
This command attaches a policy to an interface in a particular direction.
Syntax
service-policy in <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.
271