- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
07-UCC commands | 85.72 KB |
UCC commands
The following compatibility matrixes show the support of hardware platforms for this feature:
Series |
Models |
Feature compatibility |
WA7200 series |
WA7220 WA7220-HI WA7220H WA7226-C WA7230 WA7230-LI |
No |
WA7300 series |
WA7320i WA7322H-HI WA7330X WA7338-HI |
Yes |
WA7500 series |
WA7538 WA7539 |
Yes |
WA7600 series |
WA7638 |
No |
application enable
Use application enable to enable UCC for an audio or video application.
Use undo application enable to disable UCC for an audio or video application.
Syntax
application app-name enable
undo application app-name enable
Default
UCC is disabled for audio and video applications.
Views
UCC profile view
Predefined user roles
network-admin
Parameters
app-name: Specifies an application name.
Usage guidelines
With UCC enabled for an audio or video application, the wireless service bound to the UCC profile will preferentially forward traffic from that application for wireless users that use the application to obtain higher-quality services.
Examples
# Enable UCC for Skype applications.
<Sysname> system-view
[Sysname] ucc profile ssidcompany
[Sysname-ucc-profile-ssidcompany] application skype enable
Related commands
ucc profile
application flow-mark
Use application flow-mark to configure priority marking for traffic from an audio or video application.
Use undo application flow-mark to restore the default.
Syntax
application app-name flow-mark
undo application app-name flow-mark
Default
Priority marking is not configured for traffic from audio and video applications.
Views
UCC profile view
Predefined user roles
network-admin
Parameters
app-name: Specifies an application name.
Usage guidelines
Priority marking marks the priority of uplink traffic for an audio or video application and sends the priority to other service modules for them to process the traffic as configured.
Examples
# Configure priority marking for Tencent Meeting traffic.
<Sysname> system-view
[Sysname] ucc profile ssidcompany
[Sysname-ucc-profile-ssidcompany] application tencentmeeting flow-mark
Related commands
ucc profile
application-subcategory drop
Use application-subcategory drop to drop packets of an application in the specified subcategory.
Use undo application-subcategory drop to restore the default.
Syntax
application-subcategory appsubcategory [ app app-name ] drop
undo application-subcategory appsubcategory [ app app-name ] drop
Default
The device does not drop application packets.
Views
UCC profile view
Predefined user roles
network-admin
Parameters
appsubcategory: Specifies the name of the application subcategory. The name is defined by the device automatically. You can obtain the name by using the application-subcategory ? command. If you specify custom-subcategory as the application subcategory, you must specify the app app-name option.
app app-name: Specifies the name of the application. The name is defined by the device automatically. You can obtain the name by using the application-subcategory appsubcategory app ? command. If you do not specify this option, the command drops packets of all applications in the subcategory.
Usage guidelines
With this feature configured, the device drops application packets specified by the client. In this case, the wireless service bound to the UCC profile cannot provide the corresponding application services.
After configuring the device to drop packets of all applications in the specified subcategory, you cannot configure a specific application any more.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Configure the device to drop packets of YouKu in the Streaming_Media application subcategory.
<Sysname> system-view
[Sysname] ucc profile ssidcompany
[Sysname-ucc-profile-ssidcompany] application-subcategory streaming_media app youku drop
application-subcategory rate-limit
Use application-subcategory rate-limit to enable and specify a packet rate limit for an application in the specified subcategory.
Use undo application-subcategory rate-limit to disable packet rate limit for an application in the specified subcategory.
Syntax
application-subcategory appsubcategory [ app app-name ] rate-limit rate
undo application-subcategory appsubcategory [ app app-name ] rate-limit
Default
Rate limit for application packets is disabled.
Views
UCC profile view
Predefined user roles
network-admin
Parameters
appsubcategory: Specifies the name of the application subcategory. The name is defined by the device automatically. You can obtain the name by using the application-subcategory ? command. If you specify custom-subcategory as the application subcategory, you must specify the app app-name option.
app app-name: Specifies the name of the application. The name is defined by the device automatically. You can obtain the name by using the application-subcategory appsubcategory app ? command. If you do not specify this option, the command set rate limit for all application packets in the subcategory.
rate: Specifies the rate limit, in the range of 64 to 10000000 kbps.
Usage guidelines
With this feature enabled, the wireless service bound to the UCC profile restricts the packet rate of a specified application. In a scenario featuring a large traffic volume, to ensure the service quality of key applications, you can set low rate limits for non-key application packets and high rate limits for key application packets.
After specifying a rate limit for packets of all applications in a specified subcategory, you cannot configure a specific application any more.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Specify the rate limit as 100 kbps for packets of YouKu in the Streaming_Media subcategory.
<Sysname> system-view
[Sysname] ucc profile ssidcompany
[Sysname-ucc-profile-ssidcompany] application-subcategory streaming_media app youku rate-limit 100
application-subcategory remark
Use application-subcategory remark to specify packet priorities for an application in the specified subcategory.
Use undo application-subcategory remark to restore the default.
Syntax
application-subcategory appsubcategory [ app app-name ] remark { dot1p dot1p-value | dscp dscp-value }
undo application-subcategory appsubcategory [ app app-name ] remark
Default
DSCP and 802.1p priorities for packets of an application in the subcategory are defined by the application itself.
Views
UCC profile view
Predefined user roles
network-admin
Parameters
appsubcategory: Specifies the name of the application subcategory. The name is defined by the device automatically. You can obtain the name by using the application-subcategory ? command. If you specify custom-subcategory as the application subcategory, you must specify the app app-name option.
app app-name: Specifies the name of the application. The name is defined by the device automatically. You can obtain the name by using the application-subcategory appsubcategory app ? command. If you do not specify this option, the command set rate limit for all application packets in the subcategory.
dscp dscp-value: Specifies the DSCP priority, in the range of 0 to 63. A greater number indicates a higher priority.
dot1p dot1p-value: Specifies the 802.1p priority, in the range of 0 to 7. A greater number indicates a higher priority.
Usage guidelines
With this feature configured, the wireless service bound to the UCC profile modifies the DSCP and 802.1p priorities of packets for an application in a specified subcategory.
If you configure this feature with UCC enabled for an audio or video application for the same UCC profile, packets whose priorities are specified by this feature take precedence.
After specifying packet priorities for all applications in the specified subcategory, you cannot configure a specific application any more.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Specify the DSCP priority as 30 for packets of YouKu in the Streaming_Media subcategory.
<Sysname> system-view
[Sysname] ucc profile ssidcompany
[Sysname-ucc-profile-ssidcompany] application-subcategory streaming_media app youku remark dscp 30
display ucc profile
Use display ucc profile to display configuration information for UCC profiles.
Syntax
display ucc profile [ profile-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
profile-name: Specifies a UCC profile by its name, a case-insensitive string of 1 to 31 characters. If you do not specify a UCC profile, this command displays configuration information for all UCC profiles.
Examples
# Display configuration information for all UCC profiles.
<Sysname> display ucc profile
UCC profile information:
UCC profile name: ssidcompany1
UCC-enabled applications: tencentmeeting
Traffic-marking enabled applications: tencentmeeting
Application-subcategory : streaming_media
App : youku
Rate-limit : 150kbps
Packet drop : Disabled
Marked DSCP value : 30
Marked 802.1p value : 5
App : Bilibili
Rate-limit : 100kbps
Packet drop : Disabled
Marked DSCP value : 35
Marked 802.1p value : 5
Total UCC profiles: 1
Table 1 Command output
Field |
Description |
Application-subcate |
Application subcategory defined by the device. |
App |
Application defined by the device in the subcategory. This field displays All for all applications in the subcategory. |
Rate-limit |
Rate limit for packets of applications in a subcategory for the UCC profile. This field displays - when the packet rate is not limited. |
Packet drop |
Enabling status for packet drop applied in an application subcategory for the UCC profile. Options include: · Enabled. · Disabled. |
Marked DSCP value |
Modified DSCP priority for packets of applications in a subcategory for the UCC profile. This field displays - if the DSCP priority is not modified. |
Marked 802.1p value |
Modified 802.1p priority for packets of applications in a subcategory for the UCC profile. This field displays - if the 802.1p priority is not modified. |
Related commands
dfi enable
sip enable
skype4b enable
ucc profile
Use ucc profile to create a UCC profile and enter its view, or enter the view of an existing UCC profile.
Use undo ucc profile to delete a UCC profile.
Syntax
ucc profile profile-name
undo ucc profile profile-name
Default
No UCC profiles exist.
Views
System view
Predefined user roles
network-admin
Parameters
profile-name: Specifies the name of a UCC profile, a case-insensitive string of 1 to 31 characters. The UCC profile name can contain hyphens (-), underscores (_), left brackets ([), right brackets (]), and slashes (/).
Examples
# Create UCC profile ssidcompany and enter its view.
<Sysname> system-view
[Sysname] ucc profile ssidcompany
[Sysname-ucc-profile-ssidcompany]
Related commands
display ucc profile
ucc-profile
ucc-profile
Use ucc-profile to bind a UCC profile.
Use undo ucc-profile to remove the binding of a UCC profile.
Syntax
ucc-profile profile-name
undo ucc-profile
Default
No UCC profile is bound.
Views
Service template view
Layer 3 interface view
Predefined user roles
network-admin
Parameters
profile-name: Specifies a UCC profile by its name, a case-insensitive string of 1 to 31 characters.
Usage guidelines
If the client traffic forwarder is the AC and the clients are in different subnets, bind a UCC profile to both a service template and a Layer 3 interface.
If the client traffic forwarder is an AP, bind a UCC profile to a service template.
Examples
# Bind UCC profile ssidcompany to service template service.
<Sysname> system-view
[Sysname] wlan service-template service
[Sysname-wlan-st-service] ucc-profile ssidcompany
# Bind UCC profile ssidcompany to VLAN-interface 2.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] ucc-profile ssidcompany
Related commands
application enable
ucc profile