- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
04-WLAN DRS commands | 41.87 KB |
WLAN DRS commands
wlan drs enable
Use wlan drs enable to enable DRS.
Use undo wlan drs enable to disable DRS.
Syntax
wlan drs [ ipv6 ] enable
undo wlan drs [ ipv6 ] enable
Default
DRS is disabled.
Views
System view
Predefined user roles
network-admin
Parameters
ipv6: Enables DRS for IPv6 packets. If you do not specify this keyword, the command enables DRS for IPv4 packets.
Usage guidelines
With this feature enabled, DPI report statistics (DRS) classifies user application and URL session information detected by DPI, and stores the statistics in file drs.db in the bash directory of the local SQL database. You can view the statistics on the local database by using SQL database statements or from the Web interface.
Examples
# Enable DRS for IPv4 packets.
<Sysname> system-view
[Sysname] wlan drs enable
# Enable DRS for IPv6 packets.
<Sysname> system-view
[Sysname] wlan drs ipv6 enable
wlan drs report-oasis
Use wlan drs report-oasis to set the DRS information reporting interval and the number of entries to be reported every time.
Use undo wlan drs report-oasis to restore the default.
Syntax
wlan drs report-oasis { app | url } [ interval interval | number number ] *
undo wlan drs report-oasis { app | url }
Default
The AC reports 10 DRS entries to the cloud platform every 1000 milliseconds.
Views
System view
Predefined user roles
network-admin
Parameters
app: Specifies user application information.
url: Specifies URL session information.
interval interval: Specifies the reporting interval in the range of 100 to 10000 milliseconds.
number number: Specifies the number of entries to be reported every time, in the range of 1 to 60.
Examples
# Set the DRS information reporting interval to 100 seconds, and the number of entries to be reported every time to 20.
<Sysname> system-view
[Sysname] wlan drs report-oasis app interval 100 number 20
wlan drs report-oasis enable
Use wlan drs report-oasis enable to enable DRS information reporting to the cloud platform.
Use undo wlan drs report-oasis enable to disable DRS information reporting to the cloud platform.
Syntax
wlan drs report-oasis enable
undo wlan drs report-oasis enable
Default
DRS information reporting to the cloud platform is enabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
This feature enables the AC to send a specific number of DRS entries to the cloud platform at the specified interval.
Examples
# Enable DRS information reporting to the cloud platform.
<Sysname> system-view
[Sysname] wlan drs report-oasis enable
wlan drs wired-statistics enable
Use wlan drs wired-statistics enable to enable DRS for wired clients.
Use undo wlan drs wired-statistics enable to disable DRS for wired clients.
Syntax
wlan drs wired-statistics enable
undo wlan drs wired-statistics enable
Default
DRS for wired clients is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
This feature enables the AC to send a specific number of DRS entries for wired clients to the cloud platform at the specified interval.
Examples
# Enable DRS for wired clients.
<Sysname> system-view
[Sysname] wlan drs wired-statistics enable