Alcatel Carrier Internetworking Solutions 6300-24 Manuale Utente

Pagina di 462
Quality of Service
3-159
3
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 drop any 
violating packets.
Attaching a Policy Map to Ingress and Egress Queues
This function applies a policy map defined in the Policy Map, Policy Rule Settings 
page to a particular interface. 
You can only assign one policy map to an interface.
Command Attributes
• Ports — Specifies a port.
• Ingress/Egress — Applies the rule to ingress, and or egress traffic.
• Enabled — Check this to enable a policy map on a specified port.
Web – Click QoS, DiffServ, Service Policy Settings. Check Enabled to choose a 
Policy Map for a port.
Figure 3-100.  Service Policy Settings
CLI - This example applies a service policy to an ingress interface.
Console(config)#policy-map rd_policy
Console(config-pmap)#class rd_class
Console(config-pmap-c)#set ip dscp 3
Console(config-pmap-c)#police 100000 1522 exceed-action drop
Console(config-pmap-c)#
Console(config)#interface ethernet 1/1 
Console(config-if)#service-policy input rd_service 
Console(config-if)#