ZyXEL Communications n/a Modem User Manual


 
Chapter 6 Bandwidth Management
DSL & IAD CLI Reference Guide
43
6.2 Command Examples
This example configures BWM at the interface level. It does the following.
1 Turns on BWM on the WLAN interface.
2 Enables automatic traffic classification.
3 Sets the interface’s bandwidth limit to 25 Mbps.
4 Enables maximum bandwidth usage.
5 Sets the queuing mechanism to fairness-based (WRR).
6 Displays the WLAN interface’s BWM settings.
This example adds one WLAN class using the following settings (and then displays it).
Class number: 1
Class name: WLAN-class1
Bandwidth: 5 Mbps
Priority: 7
Bandwidth borrowing: Enabled
This example adds a filter on the WLAN class using the following settings.
Class number: 1
•Service: FTP
Destination address: 172.16.1.208
ras> bm interface wlan enable auto on bandwidth 25m wrr efficient
BM Interface setting done.
ras> bm show interface wlan
===============================================================================
Interface : wlan Automatic Traffic Classify: Enable
[ Fairness-Based : Maximize BW Usage ]
bandwidth = 25M (bps)
allocated bandwidth = 0 (bps)
MTU = 1500 (byte)
===============================================================================
ras> bm class wlan add 1 name WLAN-class1 bandwidth 5m priority 7 borrow on
Class setting is done.
ras> bm show class wlan 1
===============================================================================
Class: 1 Name: WLAN-class1
depth: 1 priority: 7 filter setting: No
queue: 0/30
borrow class: 0
parent class: 0 (Root Class)
total bandwidth: 5M (bps)
allocated bandwidth: 0 (bps)
===============================================================================