Chapter 6 Bandwidth Management

Table 15 Bandwidth Management Commands (continued)

COMMAND

DESCRIPTION

bm debug

Turns the bandwidth management debug features on or off.

[configconfig_actionflowclassi

config: Displays debug messages when entering bm commands.

fierstatisticsweb]

config_action: Displays special configuration messages, such

 

as dynamic filters.

 

flow: Displays the BWM function flow.

 

classifier: Displays the classification matching results, including

 

filter and packet content.

 

statistics: Displays the data transferred through BWM.

 

web: Displays debug message when configuring BWM through the

 

web configurator.

bm defaultClassBw <bandwidth>

Sets the default class bandwidth in the Media Bandwidth

 

Management wizard.

 

bandwidth: The unit is kbps and the range is 0~65535.

 

 

bm filter <interface>

Disables or enables a filter for class # in the specified interface.

<disableenable> <class-number>

 

bm filter <interface> add <class-

Adds a filter for class # in the specified interface. The filter contains

number> [service <ftpsiph323>]

destination address (netmask), destination port, source address

<dest-ip-address> [mask dest-

(netmask), source port and protocol. Use 0 for items that you do not

mask] <dest-port><src-ip-

want the filter to include.

protocol: Enter the number of the protocol type (the protocol field

address> [mask src-mask] <src-

port> <protocol>

in the IP header). For example 1 for ICMP, 6 for TCP, and 17 for

UDP.

 

 

 

bm filter <interface> del <class-

Deletes a filter for class # in the specified interface.

number>

 

bm interface <interface>

Enables or disables BWM for traffic going out of the specified

<enabledisable> [auto <onoff>]

interface.

[bandwidth <bandwidth>] [prrwrr]

auto <onoff>: Enables or disables automatic classification of

[efficient]

traffic types.

 

bandwidth: The unit is bps and its minimum is 30 Kbps. You can

 

add “K” (or “k”) to specify Kbps or “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: Enables or disables maximum bandwidth usage.

bm monitor <interface> [class-

Displays the bandwidth usage of the specified interface or its class.

number]

The first time you use the command turns it on; the second time

 

turns it off, and so on.

bm moveFilter <interface> <from-

Changes the BWM filter order.

class-number><to-class-number>

 

bm show <classfilterstatistics>

Displays bandwidth management class settings, filter settings, or

<interface> [class-number]

statistics for the specified interface. You can also specify the class.

bm show interface <interface>

Displays the general bandwidth management settings for the

 

specified interface.

bm threshold <highlow>

Configures the Automatic Traffic Classifier (ATC) high and low

[threshold]

packet size thresholds (in bytes). Packets smaller than the high

 

priority threshold get high priority. Packets larger than the low priority

 

threshold get low priority. The rest get medium priority.

 

 

42

 

DSL & IAD CLI Reference Guide