Configuring egress port shaping

NOTE:

Egress port shaping only applies to the Aruba 8360 switch.

This example shows how to apply egress port shaping to an interface to limit the rate of egress traffic. Egress port shaping is configured by specifying the desired bandwidth rate in kilobits per second (kbps). To be effective, the egress rate must be less than the line rate of the egress interface. If the configured egress rate exceeds the interface's line rate, then egress shaping has no effect.

The configured egress rate on a specific interface can be found by using the显示界面and显示界面qoscommands.

The following example configures an egress rate of 100 Mbps .

switch(config)#interface 1/1/1switch(config-if)#qos shape 100000

In the next example, both egress port shaping and egress queue shaping are configured on the same interface.

The example creates a schedule profile namedEQSExamplewith strict priority for all seven queues. Queue 7 is configured with a bandwidth limit of 300 Mbps. The profile is then applied to interface1/1/1with egress port shaping of 400 Mbps . As egress queue shaping and egress port shaping are both configured on port1/1/1, egress queue shaping is subject to the lower port or queue shape rate. The effective bandwidth for the traffic egressing on queue 7 will be 300 Mbps .

switch(config)#qos schedule-profile EQSExampleswitch(config-schedule)#strict queue 0switch(config-schedule)#strict queue 1switch(config-schedule)#严格的队列2switch(config-schedule)#严格的队列3switch(config-schedule)#strict queue 4switch(config-schedule)#strict queue 5switch(config-schedule)#strict queue 6switch(config-schedule)#strict queue 7 max-bandwidth 300000switch(config-schedule)#exitswitch(config)#interface 1/1/1switch(config-if)#apply qos schedule-profile EQSExampleswitch(config-if)#qos shape 400000