- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
04-WLAN DRS configuration | 67.72 KB |
Contents
Configuring DRS information reporting to the cloud platform
WLAN DRS configuration examples
Configuring WLAN DRS
About WLAN DRS
DPI report statistics (DRS) classifies and stores user application and URL session information detected by DPI and sends the information to the cloud platform as configured. For more information about DPI, see DPI Configuration Guide.
WLAN DRS tasks at a glance
To configure WLAN DRS, perform the following tasks:
1. Enabling DRS
2. (Optional.) Configuring DRS information reporting to the
Enabling DRS
About this task
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.
Procedure
1. Enter system view.
system-view
2. Enable DRS.
wlan drs [ ipv6 ] enable
By default, DRS is disabled.
3. (Optional.) Enable DRS for wired clients.
wlan drs wired-statistics enable
By default, DRS for wired clients is disabled.
Configuring DRS information reporting to the cloud platform
About this task
This feature enables the AC to send a specific number of DRS entries to the cloud platform at the specified interval.
Procedure
1. Enter system view.
system-view
2. Enabling DRS information reporting to the cloud platform.
wlan drs report-oasis enable
By default, the reporting feature is enabled.
3. Set the DRS information reporting interval and the number of entries to be reported every time.
wlan drs report-oasis { app | url } [ interval interval | number number ] *
By default, the AC reports 10 DRS entries to the cloud platform every 1000 milliseconds.
WLAN DRS configuration examples
Example: Configuring WLAN DRS
Network configuration
As shown in Figure 1, enable DRS for the AC to get user application and URL session information, and enable the AC to report DRS entries to the cloud platform at the specified interval.
Procedure
1. Configure a VLAN interface:
# Create VLAN 100 and assign an IP address to VLAN-interface 100.
<AC> system-view
[AC] vlan 100
[AC-vlan100] quit
[AC] interface vlan-interface 100
[AC-Vlan-interface100] ip address 10.1.9.58 16
[AC-Vlan-interface100] quit
2. Configure wireless services:
# Create service template service1.
[AC] wlan service-template service1
# Set the SSID to drs.
[AC-wlan-st-service1] ssid drs
# Assign clients coming online through the service template to VLAN 100.
[AC-wlan-st-service1] vlan 100
# Enable the service template.
[AC-wlan-st-service1] service-template enable
[AC-wlan-st-service1] quit
3. Create a manual AP:
# Create manual AP ap1, and specify the AP model and serial ID.
[AC] wlan ap ap1 model WA6320
[AC-wlan-ap-ap1] serial-id 219801A28N819CE0002T
# Bind service template service1 to radio 1.
[AC-wlan-ap-ap1] radio 1
[AC-wlan-ap-ap1-radio-1] radio enable
[AC-wlan-ap-ap1-radio-1] service-template service1
[AC-wlan-ap-ap1-radio-1] quit
[AC-wlan-ap-ap1] quit
4. Configure DRS:
# Enable DRS.
# Set the DRS information reporting interval to 500 seconds, and the number of entries to be reported every time to 20.
[AC] wlan drs report-oasis app interval 500 number 20
[AC] wlan drs report-oasis url interval 500 number 20
Verifying the configuration
# Verify that you can view application and URL session records from the Web interface.