Configuring the ECN330-switch
350 1553-KDU 137 365 Uen D 2006-06-16
CLI – This example creates a policy map called “rd-policy,” sets the average
bandwidth the 1 Mbps, the burst rate to 1522 bps, and the response to reduce
the DSCP value for violating packets to 0.
6.15.1.3 Attaching a Policy Map to Ingress Queues
This function binds a policy map to the ingress queue of a particular interface.
Command Usage
• First define a class map, set an ACL mask to match the criteria defined
in the class map, then define a policy map, and finally bind the service
policy to the required interface.
• Only one policy map can be bound to an interface.
• The current firmware does not allow a policy map to be bound to an
egress queue.
Command Attributes
• Ports – Specifies a port.
• Ingress – Applies the rule to ingress traffic.
• Enabled – Check this to enable a policy map on the specified port.
• Policy Map – Select the appropriate policy map from the scroll-down
box.
Console(config)#policy-map rd_policy#3
Console(config-pmap)#class rd_class#3
Console(config-pmap-c)#set ip dscp 4
Console(config-pmap-c)#police 100000 1522 exceed-action
set ip dscp 0
Console(config-pmap-c)#