No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Intelligent Video O&M Configuration Commands

Intelligent Video O&M Configuration Commands

Command Support

Commands provided in this section and all the parameters in the commands are supported by all switch models by default, unless otherwise specified. For details, see specific commands.

collect-item enable (SMI view)

Function

The collect-item enable command enables the switch to report collected information to CampusInsight.

The undo collect-item enable command disables the switch from reporting collected information to CampusInsight.

By default, the switch does not report any collected information to CampusInsight.

Format

collect-item { device-data | fiber-module | poe | user-data | device-status | media-quality } enable

undo collect-item { device-data | fiber-module | poe | user-data | device-status | media-quality } enable

Parameters

Parameter Description Value
device-data Enables the switch to report device data to CampusInsight. -
fiber-module Enables the switch to report optical module information to CampusInsight. -
poe Enables the switch to report PoE data to CampusInsight. -
user-data Enables the switch to report traffic statistics collection of wired users to CampusInsight. -
device-status Enables the switch to report device status information to CampusInsight. -
media-quality Enables the switch to report audio and video data to CampusInsight. -

Views

SMI view

Default Level

3: Management level

Usage Guidelines

Based on your networking requirements, you can enable the switch to report collected information to CampusInsight. You can run this command for multiple times to enable the switch to report different types of data to CampusInsight. For details about the information that can be collected, see KPI Information That Switches Can Send to CampusInsight.

Example

# Enable the switch to report optical module information to CampusInsight.

<HUAWEI> system-view
[HUAWEI] netconf
[HUAWEI-netconf] smi-server
[HUAWEI-netconf-smi-server] collect-item fiber-module enable

collect-item interval (SMI view)

Function

The collect-item interval command sets the interval at which the switch collects KPI information.

The undo collect-item interval command restores the default interval at which the switch collects KPI information.

By default, the switch collects KPI information at an interval of 5 minutes.

Format

collect-item { device-data | fiber-module | poe | user-data | device-status } interval interval

undo collect-item { device-data | fiber-module | poe | user-data | device-status } interval

Parameters

Parameter Description Value
device-data Enables the switch to report device data to CampusInsight. -
fiber-module Enables the switch to report optical module information to CampusInsight. -
poe Enables the switch to report PoE data to CampusInsight. -
user-data Enables the switch to report traffic statistics collection of wired users to CampusInsight. -
device-status Enables the switch to report device status information to CampusInsight. -
interval interval Specifies the interval at which the switch collects KPI information. The value is an integer in the range from 1 to 1440, in minutes.

Views

SMI view

Default Level

3: Management level

Usage Guidelines

Based on your networking requirements, you can set the interval at which the switch collects KPI information. For details about the information that can be collected, see KPI Information That Switches Can Send to CampusInsight.

Example

# Enable the switch to report optical module information to the CampusInsight and set the interval at which the switch collects such information to 3 minutes.

<HUAWEI> system-view
[HUAWEI] netconf
[HUAWEI-netconf] smi-server
[HUAWEI-netconf-smi-server] collect-item fiber-module enable
[HUAWEI-netconf-smi-server] collect-item fiber-module interval 3

collect-item syslog enable (SMI view)

Function

The collect-item syslog enable command configures the device to report logs and alarms to the NMS.

The undo collect-item syslog enable command disables the device from reporting logs and alarms to the NMS.

By default, the device is disabled from reporting logs and alarms to the NMS.

Format

collect-item syslog { acl | basetrap | dhcp | entitytrap | ifnet | ifpdt | l2ifppi | l3adp | mcast | mpls | nac | poe | sea } enable

undo collect-item syslog { acl | basetrap | dhcp | entitytrap | ifnet | ifpdt | l2ifppi | l3adp | mcast | mpls | nac | poe | sea } enable

Parameters

Parameter Description Value
acl Specifies data of the ACL module that is reported to the NMS by the device. -
basetrap Specifies data of the BASETRAP module that is reported to the NMS by the device. -
dhcp Specifies data of the DHCP module that is reported to the NMS by the device. -
entitytrap Specifies data of the ENTITYTRAP module that is reported to the NMS by the device. -
ifnet Specifies data of the IFNET module that is reported to the NMS by the device. -
ifpdt Specifies data of the IFPDT module that is reported to the NMS by the device. -
l2ifppi Specifies data of the L2IFPPI module that is reported to the NMS by the device. -
l3adp Specifies data of the L3MB module that is reported to the NMS by the device. -
mcast Specifies data of the MCAST module that is reported to the NMS by the device. -
mpls Specifies data of the MPLS module that is reported to the NMS by the device. -
nac Specifies data of the NAC module that is reported to the NMS by the device. -
poe Specifies data of the PoE module that is reported to the NMS by the device. -
sea Specifies data of the SEA module that is reported to the NMS by the device. -

Views

SMI view

Default Level

3: Management level

Usage Guidelines

The device is configured to report logs and alarms to the NMS as required. You can run the command multiple times to configure the device to report multiple types of data to the NMS. For the information about devices that can be collected, see Logs and Alarms that Can Be Reported by Switches to CampusInsight.

Example

# Configure the device to report data of the ACL module to the NMS.

<HUAWEI> system-view
[HUAWEI] netconf
[HUAWEI-netconf] smi-server
[HUAWEI-netconf-smi-server] collect-item syslog acl enable

keepalive (SMI view)

Function

The keepalive command configures connection parameters between the switch and CampusInsight.

The undo keepalive command restores the default settings of connection parameters between the switch and CampusInsight.

By default, the switch and CampusInsight send heartbeat packets to each other at an interval of 5 minutes, the switch reconnects to CampusInsight at an interval of 5 minutes, and the maximum number of reconnection attempts is 0.

Format

keepalive { interval interval | retry-interval retry-interval | retry-number retry-number } *

undo keepalive { interval | retry-interval | retry-number } *

Parameters

Parameter Description Value
interval interval Sets the interval at which the switch and CampusInsight send heartbeat packets to each other. The value is an integer in the range from 5 to 60, in minutes.
retry-interval retry-interval Sets the interval at which the switch reconnects to CampusInsight after port disconnection for the first time. The value is an integer in the range from 5 to 60, in minutes.
retry-number retry-number Sets the maximum number of attempts the switch reconnects to CampusInsight after port disconnection for the first time. The value is an integer in the range from 0 to 10. The default value is 0, which indicates that the switch attempts to reconnect to CampusInsight until the reconnection succeeds.

Views

SMI view

Default Level

3: Management level

Usage Guidelines

According to the network stability, you can adjust connection parameters between the switch and CampusInsight as required, such as the interval at which the switch and CampusInsight send heartbeat packets to each other and the maximum number of reconnection attempts. If the network condition is poor, set the maximum number of reconnection attempts to a smaller value and the reconnection interval to a large value to consume less network resources.

Example

# Set the interval at which the switch reconnects to CampusInsight to 10 minutes and the maximum number of reconnection attempts to 5.

<HUAWEI> system-view
[HUAWEI] netconf
[HUAWEI-netconf] smi-server
[HUAWEI-netconf-smi-server] keepalive retry-interval 10 retry-number 5

max-packet-size (SMI view)

Function

The max-packet-size command sets the maximum size of packets sent by the switch to report KPI information to CampusInsight.

The undo max-packet-size command restores the default maximum size of packets sent by the switch to report KPI information to CampusInsight.

By default, the maximum size of packets sent by the switch to report KPI information to CampusInsight is 5 KB.

Format

max-packet-size size

undo max-packet-size

Parameters

Parameter Description Value
size Specifies the maximum packet size. The value is an integer in the range from 5 to 15, in KB.

Views

SMI view

Default Level

3: Management level

Usage Guidelines

According to the network condition, you can run this command to set the maximum size of packets sent by the switch to report KPI information to CampusInsight. If the network condition is poor, set the maximum size of packets sent by the switch to report KPI information to CampusInsight to a smaller value to reduce packet loss.

Example

# Set the maximum size of packets sent by the switch to report KPI information to CampusInsight to 10 KB.

<HUAWEI> system-view
[HUAWEI] netconf
[HUAWEI-netconf] smi-server
[HUAWEI-netconf-smi-server] max-packet-size 10

report-interval (SMI view)

Function

The report-interval command sets the interval at which the switch reports KPI information to CampusInsight.

The undo report-interval command restores the default interval at which the switch reports KPI information to CampusInsight.

By default, the switch reports KPI information to CampusInsight at an interval of 1 minutes.

Format

report-interval interval

undo report-interval

Parameters

Parameter Description Value
interval Specifies the interval at which the switch reports KPI information to CampusInsight. The value is an integer in the range from 1 to 5, in minutes.

Views

SMI view

Default Level

3: Management level

Usage Guidelines

According to the actual device and network resource usage and CampusInsight's requirements for the information collection precision, you can run this command to set the interval at which the switch reports KPI information to CampusInsight. A shorter interval indicates that KPI information is reported more frequently, the information collection precision is higher, and more device and network resources are occupied. A longer interval signifies that less information is collected by the switch within the same time period, the information collection precision is lower, but less device and network resources are occupied.

Example

# Set the interval at which the switch reports KPI information to CampusInsight to 5 minutes.

<HUAWEI> system-view
[HUAWEI] netconf
[HUAWEI-netconf] smi-server
[HUAWEI-netconf-smi-server] report-interval 5

rtp-media monitor-period

Function

The rtp-media monitor-period command sets the monitoring period of media streams.

The undo rtp-media monitor-period command restores the default monitoring period of media streams.

By default, the monitoring period of media streams is 10 seconds.

Format

rtp-media monitor-period period-value

undo rtp-media monitor-period [ period-value ]

Parameters

Parameter Description Value
period-value Specifies the monitoring period of media streams. The value is of the enumerated type, and can only be 10, 30, and 60, in seconds.

Views

SEA view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To monitor service quality of voice and video applications transported over RTP, run the sea command to enable the SEA function to detect SIP sessions, and use the eMDI function to detect dynamic indicators of RTP streams. To adjust the monitoring period of media streams, run the rtp-media monitor-period command.

Intelligent O&M for audio and video services is effective only for non-encrypted SIP protocol packets forwarded by devices that connect to the network through X series cards in an IPv4 scenario. The supported voice applications include eSpace (installed on physical machines), Huawei IP phones, Cisco IP phones, and Yealink IP phones. The supported video applications include Huawei videoconferencing, Polycom videoconferencing, and Cisco videoconferencing.

Example

# Set the monitoring period of media streams to 30 seconds.

<HUAWEI> system-view
[HUAWEI] sea
[HUAWEI-sea] rtp-media monitor-period 30

rtp-media monitor-type

Function

The rtp-media monitor-type command sets the type of media streams to be monitored.

The undo rtp-media monitor-type command deletes the type of media streams to be monitored.

By default, the type of media streams to be monitored is not configured.

Format

rtp-media monitor-type { audio | video } *

undo rtp-media monitor-type { audio | video } *

Parameters

Parameter Description Value
audio Sets the type of media streams to be monitored to audio. -
video Sets the type of media streams to be monitored to video. -

Views

SEA view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To monitor service quality of audio and video applications transported over RTP in real time, you must run the rtp-media monitor-type command to set the type of media streams to be monitored after enabling the SEA function using the sea command.

Intelligent O&M for audio and video services is effective only for non-encrypted SIP protocol packets forwarded by devices that connect to the network through X series cards in an IPv4 scenario. The supported voice applications include eSpace (installed on physical machines), Huawei IP phones, Cisco IP phones, and Yealink IP phones. The supported video applications include Huawei videoconferencing, Polycom videoconferencing, and Cisco videoconferencing.

Example

# Set the type of media streams to be monitored to audio.

<HUAWEI> system-view
[HUAWEI] sea
[HUAWEI-sea] rtp-media monitor-type audio

sea

Function

The sea command enables the service experience analysis (SEA) function for users and applications and displays the SEA view.

The undo sea command disables the SEA function and deletes the SEA view.

By default, the SEA function is disabled.

Format

sea

undo sea

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To monitor service quality of audio or video applications transported over RTP, you can run the sea command to enable the SEA function to SIP sessions, and use the Enhanced Media Delivery Index (eMDI) detection function to monitor dynamic indicators of RTP streams.

Intelligent O&M for audio and video services is effective only for non-encrypted SIP protocol packets forwarded by devices that connect to the network through X series cards in an IPv4 scenario. The supported voice applications include eSpace (installed on physical machines), Huawei IP phones, Cisco IP phones, and Yealink IP phones. The supported video applications include Huawei videoconferencing, Polycom videoconferencing, and Cisco videoconferencing.

Prerequisites

The eMDI detection function has been enabled using the emdi command.

Follow-up Procedure

Run the rtp-media monitor-type { audio | video } * command to configure the type of media streams to be monitored.

Example

# Enable the SEA function and display the SEA view.

<HUAWEI> system-view
[HUAWEI] emdi
[HUAWEI-emdi] quit
[HUAWEI] sea
[HUAWEI-sea]

server ip-address (SMI view)

Function

The server ip-address command configures the IPv4 address and port number of connected CampusInsight.

The undo server ip-address command deletes the IPv4 address and port number of connected CampusInsight.

By default, the IPv4 address and port number of connected CampusInsight are not configured on the switch.

Format

server ip-address ip-address [ port port-number ]

undo server ip-address

Parameters

Parameter Description Value
ip-address Specifies the IPv4 address of CampusInsight. The value is in dotted decimal notation.
port port-number Specifies the port number of CampusInsight. The value is an integer in the range from 0 to 65535.

Views

SMI view

Default Level

3: Management level

Usage Guidelines

To implement intelligent video O&M, the switch needs to establish a NETCONF connection with CampusInsight and periodically reports KPI information to CampusInsight. To enable interoperability between the switch and CampusInsight, run the server ip-address command on the switch to configure the IPv4 address and port number of CampusInsight.

Example

# Set the IP address and port number of CampusInsight to 10.1.2.1 and 27371, respectively.

<HUAWEI> system-view
[HUAWEI] netconf
[HUAWEI-netconf] smi-server
[HUAWEI-netconf-smi-server] server ip-address 10.1.2.1 port 27371

smi-server

Function

The smi-server command creates and displays the switch maintenance insight (SMI) view.

The undo smi-server command deletes the SMI view.

By default, no SMI view is created on a switch.

Format

smi-server

undo smi-server

Parameters

None

Views

NETCONF view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

The switch needs to interconnect with CampusInsight to implement intelligent video O&M. You can run the smi-server command in the NETCONF view to enter the SMI view, and configure the IP address and port number used by connected CampusInsight in the SMI view.

Follow-up Procedure

Run the server ip-address (SMI view) command to configure the IPv4 address and port number of CampusInsight.

Precautions

Deleting the SMI view using the undo smi-server command will delete all intelligent video O&M configurations from the switch. Therefore, exercise caution when deleting the SMI view.

Example

# Create and display the SMI view.

<HUAWEI> system-view
[HUAWEI] netconf
[HUAWEI-netconf] smi-server
[HUAWEI-netconf-smi-server]
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 127665

Downloads: 88

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next