
ii
Configuring an interface to trust packet priority for priority mapping····················································· 26
Changing the port priority of an interface······················································································· 26
Displaying and maintaining priority mapping ·················································································· 27
Priority mapping configuration examples ······················································································· 27
Port priority configuration example ························································································ 27
Priority mapping table and priority marking configuration example ··············································· 28
Configuring traffic policing, GTS, and rate limit ····································· 32
Overview································································································································ 32
Traffic evaluation and token buckets······················································································ 32
Traffic policing ·················································································································· 33
GTS ······························································································································· 34
Rate limit ························································································································· 35
Configuration restrictions and guidelines ······················································································· 36
Configuring traffic policing by using the MQC approach···································································· 36
Configuring GTS by using the non-MQC approach·········································································· 37
Configuring the rate limit for an interface ······················································································· 38
Displaying and maintaining traffic policing, GTS, and rate limit··························································· 38
Traffic policing, GTS, and rate limit configuration example ································································ 38
Network requirements ········································································································ 38
Configuration procedure ····································································································· 39
Configuring congestion management ·················································42
Overview································································································································ 42
SP queuing ······················································································································ 42
WRR queuing ··················································································································· 43
WFQ queuing ··················································································································· 44
Configuration approaches and task list ························································································· 44
Configuring per-queue congestion management············································································· 45
Configuring SP queuing ······································································································ 45
Configuring WRR queuing··································································································· 45
Configuring WFQ queuing ··································································································· 46
Configuring SP+WRR queuing ····························································································· 46
Configuring SP+WFQ queuing ····························································································· 47
Configuring a queue scheduling profile ························································································· 48
Configuration restrictions and guidelines ················································································ 49
Configuration procedure ····································································································· 49
Queue scheduling profile configuration example ······································································ 50
Displaying and maintaining congestion management······································································· 51
Configuring congestion avoidance ·····················································52
Overview································································································································ 52
Tail drop ·························································································································· 52
RED and WRED ··············································································································· 52
Relationship between WRED and queuing mechanisms ···························································· 53
ECN ······························································································································· 53
Configuring and applying a queue-based WRED table ····································································· 54
Configuration procedure ····································································································· 55
Configuration example········································································································ 55
Displaying and maintaining WRED ······························································································ 56
Configuring traffic filtering ································································57
Configuration procedure ············································································································ 57
Configuration example ·············································································································· 57
Network requirements ········································································································ 57
Configuration procedure ····································································································· 58
Configuring priority marking······························································ 59
Configuration procedure ············································································································ 59
Configuration example ·············································································································· 60
Network requirements ········································································································ 60
Configuration procedure ····································································································· 61