beautypg.com

Egress set, 11 wrr, 12 egress set – ZyXEL Communications ZyXEL Dimension GS-3012F User Manual

Page 213

background image

Dimension GS-3012F Gigabit Ethernet Switch

Command Examples

29-15

Figure 29-29 spq Command Example

29.8.11 wrr

Syntax:

wrr
wrr ...

where

Enables WRR on the switch.


...

Sets the interface to use Weighted Round Robin queuing. A weight value of
one to eight is given to each variable from wt 1 to wt 8.

An example is shown next.

Enable port two and ports six to twelve for configuration.

Enable Weighted Round Robin queuing on the interface.

Set the queue weights from Q0 to Q7.

Figure 29-30 wrr Command Example

29.8.12 egress set

Syntax:

egress set

where

Sets the outgoing traffic port list for a port-based VLAN.

An example is shown next.

Enable port-based VLAN tagging on the switch.

Enable ports one, three, four and five for configuration.

Set the outgoing traffic ports as the CPU (0), seven (7), eight (8) and nine (9).

Figure 29-31 egress set Command Example

GS-3012F# configure

GS-3012F(config)# interface 2,6-12

GS-3012F(config-interface)# wrr

GS-3012F(config-interface)# wrr 8 7 6 5 4 3 2 1

GS-3012F(config)# vlan-type port-based

GS-3012F(config)# interface 1,3-5

GS-3012F(config-interface)# egress set 0,7-9

GS-3012F(config)# interface 1,3-5

GS-3012F(config-interface)# spq