Chapter 36 Bandwidth Management
ZyWALL Series CLI Reference Guide
311
36.3 Bandwidth Management Commands Examples
The following example sets the priority code to 3 for packets in VLAN 1 that don’t match any other BWM
rule. BWM rule 1 marks matching outgoing traffic from VLAN 1 to priority code 4.
priority-code <0..7>
Priority code is applied to outgoing traffic. The BWM policy
priority code setting overwrites the VLAN priority code setting.
Sets the priority code for the specified VLAN from 0 (lowest,
background traffic) to 7 (highest, network control traffic). This
is the priority code for packets in the specified VLAN that
don’t match the BWM rule.
vlan-priority-code <0..7>
Sets the priority code for matching outgoing traffic in the
specfied VLAN.
marked-interface interface vlan<1..4064>
When a packet matches BWM criteria, choose the VLAN
interface(s) to which to apply the priority code using a
marked-interface command.
Marks matching outgoing traffic from the specfied VLAN with
the configured priority code.
marked-interface any
Marks matching outgoing traffic from any VLAN with the
configured priority code.
marked-interface trunk trunk_name
Marks matching outgoing traffic from the specfied trunk with
the configured priority code.
marked-interface none
Doesn’t mark outgoing traffic with priority code for this BWM
rule.
Table 163 bwm Sub-commands (continued)
COMMAND DESCRIPTION
Router(config)# interface vlan1
Router(config-if-vlan)# priority-code 3
Router(config-if-vlan)# exit
Router(config)# bwm 1
Router(config-bwm modify 1)# vlan-priority-code 4
Router(config-bwm modify 1)# marked-interface interface vlan1
Router(config-bwm modify 1)# exit
Router(config)#