Command Reference Guide

DiffServ Policy Commands
CLI Command Reference
September 2014 Page 642
HP Moonshot Switch Module CLI Command Reference
policy-map
This command establishes a new DiffServ policy. The policyname parameter is a case-sensitive alphanumeric
string from 1 to 31 characters uniquely identifying the policy. The type of policy is specific to the inbound traffic
direction as indicated by the
in parameter, or the outbound traffic direction as indicated by the out parameter,
respectively.
no policy-map
This command eliminates an existing DiffServ policy. The policyname parameter is the name of an existing
DiffServ policy. This command may be issued at any time. If the policy is currently referenced by one or more
interface service attachments, this delete attempt fails.
policy-map rename
This command changes the name of a DiffServ policy. The policyname is the name of an existing DiffServ class.
The
newpolicyname parameter is a case-sensitive alphanumeric string from 1 to 31 characters uniquely
identifying the policy.
Note: The CLI mode is changed to Policy-Map Config when this command is successfully executed.
Format
policy-map policyname {in|out}
Mode Global Config
Format
no policy-map policyname
Mode Global Config
Format
policy-map rename policyname newpolicyname
Mode Global Config