Chapter 33 Command Examples

33.8.9 weight

Syntax:

weight <wt1> <wt2> ... <wt8>

where

<wt1> <wt2> Sets the interface WFQ weighting. A weight value of one to

... <wt8> eight is given to each variable from wt1 to wt8.

An example is shown next.

Enable port two and ports six to eight for configuration.

Set the queue weights from Q0 to Q7.

Figure 153 weight Command Example

sysname# configure

sysname(config)# interface port-channel 2,6-8 sysname(config-interface)# weight 8 7 6 5 4 3 2 1

33.8.10 egress set

Syntax:

egress set <port-list>

where

<port-list>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) six (6), seven (7) and eight (8).

Figure 154 egress set Command Example

sysname(config)# vlan-type port-based sysname(config)# interface port-channel 1,3-5 sysname(config-interface)# egress set 0,6-8

33.8.11 qos priority

Syntax:

qos priority <0 .. 7>

where

 

<0 .. 7>

Sets the quality of service priority for an interface(s).

 

253

GS-3012/GS-3012F User’s Guide