Layer 2 Switching Commands 701Peak Burst Size (PBS)A packet is colored red if it exceeds the PIR, yellow if it exceeds the CIR, butnot the PIR, and green if it does not exceed either. A trTCM is useful when apeak rate needs to be enforced separately from a committed rate.The CIR and PIR are measured in Kbps (not pps as indicated in the RFC),the CBS in Kbytes, and the PBS in Kbytes. It is recommended that the CBSand PBS be configured to be larger than the largest expected IP packet. Aclass command in policy-map mode must be issued for an existing class-mapbefore entering this command.Exampleconsole(config-policy-classmap)#police-two-rate 100000000 64 1000000000 32conform-action set-cos-transmit 7 exceed-action set-prec-transmit 7 violate-action droppolicy-mapUse the policy-map command in Global Configuration mode to establish anew DiffServ policy or to enter policy map configuration mode. To removethe policy, use the no form of this command.NOTE: This command is not available on the N1500 Series switches.Syntaxpolicy-map policyname [in|out]no policy-map policyname• policyname— Specifies the DiffServ policy name as a unique case-sensitive alphanumeric string of characters. (Range: 1–31 alphanumericcharacters.)• in—The policy is applied on ingress. Must be specified to create newDiffServ policies. An existing policy can be selected without specifying“in” or “out”.• out—The policy is applied on egress. Either “in” or “out” must bespecified to create a new DiffServ policy. An existing policy may beselected without the “in” or “out” parameter.