Previous Topic

Next Topic

Book Contents

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.

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 1: This command effectively enables DiffServ on an interface in the inbound direction. There is no separate interface administrative 'mode' command for DiffServ.

NOTE 2: 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.

NOTE: Each interface can have one policy attached.

no service-policy

This command detaches a policy from an interface in the inbound direction. The <policyname> parameter is the name of an existing DiffServ policy.

NOTE: This command causes a service to remove its reference to the policy. This command effectively disables DiffServ on an interface in the inbound direction. There is no separate interface administrative 'mode' command for Diff-Serv.

See also

Quality of Service Commands

Class of Service (CoS) Commands

Differentiated Services (DiffServ) Commands

DiffServ Class Commands

DiffServ Policy Commands

DiffServ Show Commands

MAC Access Control List (ACL) Commands

IP Access Control List (ACL) Commands

Time Range Commands for Time-Based ACLs

Auto-Voice over IP Commands

iSCSI Optimization Commands