ii
Applying the QoS policy to a control plane ······························································································ 31
Applying the QoS policy to a user profile ································································································· 32
Display and maintenance commands for QoS policies ···················································································· 32
Configuring priority mapping ········································································ 35
About priority mapping ····································································································································· 35
About priorities ········································································································································· 35
Priority maps ············································································································································ 36
Priority mapping configuration methods ··································································································· 36
Priority mapping process ·························································································································· 36
Priority mapping tasks at a glance ··················································································································· 38
Configuring a priority map ································································································································ 39
Configuring a port to trust packet priority for priority mapping ········································································· 39
Changing the port priority of an interface ········································································································· 40
Display and maintenance commands for priority mapping ·············································································· 40
Priority mapping configuration examples ········································································································· 41
Example: Configuring a priority trust mode ······························································································ 41
Example: Configuring priority mapping tables and priority marking ························································· 42
Configuring traffic policing, GTS, and rate limit ············································ 46
About traffic policing, GTS, and rate limit ········································································································· 46
Traffic evaluation and token buckets········································································································ 46
Traffic policing ·········································································································································· 47
GTS ·························································································································································· 48
Rate limit ·················································································································································· 49
Restrictions and guidelines: Traffic policing, GTS, and rate limit configuration ··············································· 50
Configuring traffic policing ································································································································ 50
Configuring traffic policing by using the MQC approach ·········································································· 50
Configuring GTS ·············································································································································· 51
Configuring the rate limit ·································································································································· 52
Configuring the rate limit for an interface ································································································· 52
Display and maintenance commands for traffic policing, GTS, and rate limit ·················································· 52
Traffic policing, GTS, and rate limit configuration examples ············································································ 53
Example: Configuring traffic policing ········································································································ 53
Configuring congestion management ·························································· 56
About congestion management ······················································································································· 56
Cause, negative results, and countermeasure of congestion ·································································· 56
Congestion management methods ·········································································································· 56
Congestion management tasks at a glance ····································································································· 59
Configuring queuing on an interface ················································································································ 59
Restrictions and guidelines for queuing configuration·············································································· 59
Configuring SP queuing ··························································································································· 59
Configuring WRR queuing ······················································································································· 59
Configuring WFQ queuing ························································································································ 60
Configuring SP+WRR queuing ················································································································ 60
Configuring SP+WFQ queuing ················································································································· 60
Configuring a queue scheduling profile ············································································································ 61
About queue scheduling profiles ·············································································································· 61
Restrictions and guidelines for queue scheduling profile configuration ··················································· 62
Configuring a queue scheduling profile ···································································································· 62
Applying a queue scheduling profile ········································································································ 62
Example: Configuring a queue scheduling profile ···················································································· 63
Setting the queue aging time ··························································································································· 63
Display and maintenance commands for congestion management ································································ 64
Configuring congestion avoidance ······························································· 65
About congestion avoidance ···························································································································· 65
Tail drop ··················································································································································· 65
RED and WRED ······································································································································· 65
Relationship between WRED and queuing mechanisms ········································································· 66
ECN ·························································································································································· 66