Chapter 6 Bandwidth Management Commands

The following section lists the commands for this feature.

Table 20 Bm Interface Commands

COMMAND

 

DESCRIPTION

M

bm interface <interface>

 

Enables or disables BWM for traffic going out of the

R+B

<enabledisable> [bandwidth <bps>]

 

specified interface.

 

[prrwrr] [efficient]

 

bps: The unit is bps and its minimum is 2000. You can

 

 

 

alternatively type “K” or “k” to specify kbps while “M” or

 

 

 

“m” to specify Mbps. If you do not specify the bandwidth,

 

 

 

the default value is 100 Mbps.

 

 

 

prrwrr: Sets the queuing mechanism to fairness-

 

 

 

based (WRR) or priority-based (PRR).

 

 

 

efficient: Turns on the Maximum Bandwidth Usage

 

 

 

option.

 

bm class <interface> <adddelmod>

 

Adds, deletes, or modifies a class for the specified

R+B

<class-number> [bandwidth <bps>]

 

interface with the specified bandwidth. You can also

 

[name <class_name>] [priority <x>]

 

configure other options including name, priority, or

 

[borrow <onoff>]

 

bandwidth borrowing.

 

 

adddelmod: Adds, deletes, or modifies the class.

 

 

 

 

 

 

When you delete a class, it also deletes its sub-classes.

 

 

 

bandwidth <bps>: Uses this command when you add

 

 

 

or modify a class. The unit is bps and its minimum is

 

 

 

2000. You can alternatively type “K” or “k” to specify kbps

 

 

 

while “M” or “m” to specify Mbps.

 

 

 

name <class_name>: The name is for your information.

 

 

 

priority <x>: Sets the class priority ranging from 0

 

 

 

(the lowest) to 7 (the highest).

 

 

 

borrow <onoff>: The class can borrow bandwidth

 

 

 

from its parent class when the borrow is set on, and vice

 

 

 

versa.

 

 

 

 

bm monitor <interface> [class-number]

Displays the bandwidth usage of the specified interface

R+B

 

 

or its class. The first time you use the command turns it

 

 

 

on; the second time turns it off, and so on.

 

 

 

 

 

bm filter <interface> add <class-

 

Adds a filter for the specified class. The filter contains

R+B

number> [service <type>]

 

destination address (netmask), destination port, source

 

<singlerangesubnet> <dst-start-ip>

address (netmask), source port and protocol. Use 0 to

 

[dst-end-ip] <dport> <dportend>

 

not include items in the filter.

 

src-start-ip

>

service <type>: This is service type including ftp, sip,

 

<singlerangesubnet> <

or h323 in lower cases.

 

[src-end-ip] <sport> <sportend>

 

 

<protocol>

 

Following are the settings for filter rule's destination

 

 

 

address.

 

 

 

singlerangesubnet

 

 

 

dst-start-ip

 

 

 

dst-end-ip

 

 

 

dport

 

 

 

dportend

 

 

 

Following are the settings for filter rule's source address.

 

 

 

singlerangesubnet

 

 

 

src-start-ip

 

 

 

src-end-ip

 

 

 

sport

 

 

 

sportend

 

 

 

dst-end-ip, src-end-ip: When you configure a

 

 

 

single address, you don't need to specify these options.

 

 

 

When you configure a range address, these are network

 

 

 

ending IP address. When you configure a subnet, these

 

 

 

are subnet mask, ex. 255.255.255.0.

 

 

 

 

 

44

 

ZyWALL (ZyNOS) CLI Reference Guide