beautypg.com

4 generic traffic shaping – Asante Technologies 35516 User Manual

Page 96

background image

- 96 -

matching protocol or interface type. When a match is found, the packet is assigned to the appropriate queue. The list
is searched in the order it is specified, and the first matching rule terminates the search.

7.3.1 Assigning the Queue List to an Interface (Optional)

You can assign a custom queue list number to an interface. Only one list can be assigned per interface. To assign a
custom queue group to an interface, use the following commands beginning in global configuration mode:

Command Purpose

interface interface-type-number

Specifies the interface and enters interface configuration
mode.

custom-queue-list list-number

Assigns a queue list number to the interface.

7.3.1 Monitoring Custom Queue Lists

To display information about the input and output queues when CQ is enabled on an interface, use the following
commands in EXEC mode, as needed:

Command Purpose

show queueing custom

Displays the status of the CQ lists.

show interfaces interface-name

Displays the current status of the custom output queues
when CQ is enabled.

7.3.1 Custom Queuing Example

This example configures the telnet traffic to eth13 to have a minimum bandwidth of 80M.

Defining the queue minimum bandwidth:

router(config)# queue-list 2 queue 4 byte-count 10240000

Defining the queue list:

router(config)# queue-list 2 protocol ip 4 tcp 23

Assigning the priority list to an interface:

router(config)# interface eth13
router(config-if)# custom-queue-list 2

7.4 Generic Traffic Shaping

Traffic shaping allows you to control the traffic going out from an interface in order to match its flow to the speed of
the remote target interface and to ensure that the traffic conforms to policies contracted for it.

Thus, traffic adhering to a particular profile can be shaped to meet downstream requirements, thereby eliminating
bottlenecks in topologies with data-rate mismatches.