- Table of Contents
- Related Documents
-
| Title | Size | Download |
|---|---|---|
| 01-AIOps commands | 58.66 KB |
AIOps commands
Common AIOps commands
ai-service
Use ai-service to enter AI service view.
Syntax
ai-service
Views
System view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
To enable AI ECN, first enter AI service view and then enter AI ECN view.
Examples
# Enter AI service view.
<Sysname> system-view
[Sysname] ai-service
[Sysname-ai-service]
AI ECN commands
ai ai-ecn enable
Use ai ai-ecn enable to enable AI ECN and set the AI ECN mode.
Use undo ai ai-ecn enable to restore the default.
Syntax
ai ai-ecn enable mode { centralized | distributed | neural }
undo ai ai-ecn enable
Default
AI ECN is disabled.
Views
AI service view
Predefined user roles
network-admin
mdc-admin
Parameters
centralized: Specifies that the analyzer calculates the ECN triggering threshold and communicates it to devices.
distributed: Specifies that the device itself intelligently sets the optimal ECN triggering threshold.
neural: Specifies that the neural network algorithm of the device intelligently sets the optimal ECN triggering threshold.
Usage guidelines
This function enables the device to collect and send traffic characteristics to the AI service component on an analyzer or the local AI service component. The AI service component dynamically sets the optimal ECN triggering threshold for a queue to achieve low delay and high throughput.
After the device is rebooted, the ECN triggering thresholds set by the analyzer or AI service component are cleared.
This feature does not support distributed deployment on SF interface modules.
The AI ECN feature is limited by licenses. To use the AI ECN feature, first install the corresponding licenses. For more information, see Fundamentals Configuration Guide.
Examples
# Enable AI ECN and set the AI ECN mode to centralized.
<Sysname> system-view
[Sysname] ai-service
[Sysname-ai-service] ai ai-ecn enable mode centralized
Related commands
queue (AI ECN view)
ai-ecn
Use ai-ecn to enter AI ECN view.
Syntax
ai-ecn
Views
AI service view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
To enable AI ECN, first enter AI service view and then enter AI ECN view.
Examples
# Enter AI ECN view.
<Sysname> system-view
[Sysname] ai-service
[Sysname-ai-service] ai-ecn
[Sysname-ai-service-ai-ecn ]
queue (AI ECN view)
Use queue to enable AI ECN for a queue.
Use undo queue to restore the default.
Syntax
queue queue-id enable
undo queue queue-id
Default
The default for this command varies by device model.
Views
AI ECN view
Predefined user roles
network-admin
mdc-admin
Parameters
queue-id: Specifies a queue by its ID. The value range for this argument is 0 to 7.
sa: Sends traffic characteristics to the AI service component on an analyzer.
Usage guidelines
This function enables the device to collect and send traffic characteristics to the AI service component on an analyzer or the local AI service component. The AI service component dynamically sets the optimal ECN triggering threshold for a queue to achieve low delay and high throughput.
This feature is mutually exclusive with the following settings:
· Applying a WRED table to an interface.
· Configuring WRED parameters for a queue.
· Setting the WRED exponent for average queue size calculation.
· Enabling ECN for a queue.
· Enabling global WRED Smart ECN.
After the device is rebooted, the ECN triggering thresholds set by the AI service component are cleared.
Examples
# Enable AI ECN for a queue 1.
<Sysname> system-view
[Sysname] ai-service
[Sysname-ai-service] ai-ecn
[Sysname-ai-service-ai-ecn] queue 1 enable
Related commands
qos wred apply (ACL and QoS Command Reference)
qos wred queue (ACL and QoS Command Reference)
qos wred queue ecn (ACL and QoS Command Reference)
qos wred queue weighting-constant (ACL and QoS Command Reference)
queue (WRED table view) (ACL and QoS Command Reference)
queue ecn (ACL and QoS Command Reference)
