ii
Configuring priority mapping ········································································ 27
Overview ·························································································································································· 27
Introduction to priorities ···························································································································· 27
Priority maps ············································································································································ 27
Priority trust mode on a port ····················································································································· 28
Priority mapping process ·························································································································· 29
Configuration restrictions and guidelines ········································································································· 31
Priority mapping configuration tasks ················································································································ 32
Configuring a priority map ································································································································ 32
Configuring a port to trust packet priority for priority mapping ········································································· 33
Changing the port priority of an interface ········································································································· 33
Displaying and maintaining priority mapping···································································································· 34
Priority mapping configuration examples ········································································································· 34
Priority trust mode configuration example ································································································ 34
Priority mapping table and priority marking configuration example ·························································· 35
Configuring traffic policing, GTS, and rate limit ············································ 39
Overview ·························································································································································· 39
Traffic evaluation and token buckets········································································································ 39
Traffic policing ·········································································································································· 40
GTS ·························································································································································· 41
Rate limit ·················································································································································· 42
Configuration restrictions and guidelines ········································································································· 43
Configuring traffic policing by using the MQC approach ·················································································· 43
Configuring GTS by using the non-MQC approach ························································································· 44
Configuring the rate limit for an interface ········································································································· 45
Displaying and maintaining traffic policing, GTS, and rate limit ······································································· 45
Traffic policing, GTS, and rate limit configuration example ·············································································· 45
Network requirements ······························································································································ 45
Configuration procedure ··························································································································· 46
Configuring congestion management ·························································· 49
Overview ·························································································································································· 49
SP queuing ··············································································································································· 49
WRR queuing ··········································································································································· 50
WFQ queuing ··········································································································································· 51
Configuration approaches and task list ············································································································ 51
Configuring per-queue congestion management ····························································································· 52
Configuring SP queuing ··························································································································· 52
Configuring WRR queuing ······················································································································· 52
Configuring WFQ queuing ························································································································ 53
Configuring SP+WRR queuing ················································································································ 53
Configuring SP+WFQ queuing ················································································································· 54
Configuring a queue scheduling profile ············································································································ 55
Configuration restrictions and guidelines ································································································· 56
Configuration procedure ··························································································································· 56
Configuration example ····························································································································· 57
Setting the queue aging time ··························································································································· 57
Displaying and maintaining congestion management ······················································································ 58
Configuring congestion avoidance ······························································· 59
Overview ·························································································································································· 59
Tail drop ··················································································································································· 59
RED and WRED ······································································································································· 59
Relationship between WRED and queuing mechanisms ········································································· 60
ECN ·························································································································································· 60
Configuring and applying a queue-based WRED table ··················································································· 61
Configuration procedure ··························································································································· 62
Configuration example ····························································································································· 62
Displaying and maintaining WRED ·················································································································· 63