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).
eMDI Configuration Commands

eMDI 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.

display emdi

Function

The display emdi command displays the eMDI specifications, current eMDI configuration, and running status of eMDI instances.

Format

display emdi

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display the eMDI specifications, current eMDI configuration, and running status of eMDI instances.

<HUAWEI> display emdi
                                                                                                                                    
Specification Information(Main Board):                                                                                              
 Max Instance Number                       : 1024                                                                                   
 Max UDP Instance Number                   : 1024                                                                                   
 Max TCP Instance Number                   : 512                                                                                    
 Max Static Instance Number                : 1024                                                                                   
 Max Dynamic Instance Number               : 1024                                                                                   
                                                                                                                                    
Configuration Information:                                                                                                          
 Current Instance Number                   : 0                                                                                      
 Current Running Instance Number           : 0                                                                                      
 Current UDP Instance Number               : 0                                                                                      
 Current TCP Instance Number               : 0                                                                                      
 Current Static Instance Number            : 0                                                                                      
 Current Dynamic Instance Number           : 0                                                                                      
                                                                                                                                    
Specification and Configuration Information(IO Board 1):                                                                            
 Max Instance Number                       : 1024                                                                                   
 Current Instance Number                   : 0  
Table 16-103  Description of the display emdi command output

Item

Description

Specification Information(Main Board)

Specifications of the MPU.

Max Instance Number

Maximum number of eMDI instances supported by the MPU or LPU.

Max UDP Instance Number

Maximum number of eMDI instances for monitoring UDP packets.

Max TCP Instance Number

Maximum number of eMDI instances for monitoring TCP packets.

Max Static Instance Number

Maximum number of eMDI instances that can be statically configured.

Max Dynamic Instance Number

Maximum number of eMDI instances that can be dynamically configured.

Configuration Information

Configuration on the MPU.

Current Instance Number

Number of eMDI instances configured on the LPU.

Current Running Instance Number

Number of eMDI instances that have been started.

Current UDP Instance Number

Number of eMDI instances that are monitoring UDP packets.

Current TCP Instance Number

Number of eMDI instances that are monitoring TCP packets.

Current Static Instance Number

Number of eMDI instances that have been statically configured.

Current Dynamic Instance Number

Number of eMDI instances that have been dynamically configured.

Specification and Configuration Information(IO Board 1)

LPU specifications and configuration information.

display emdi statistics instance

Function

The display emdi statistics instance command displays statistics about an eMDI instance.

Format

display emdi statistics instance instance-id [ verbose | abnormal ]

Parameters

Parameter Description Value
instance-id

Specifies the ID of an eMDI instance.

The value is an integer in the range from 1 to 5120.

verbose

Displays detailed statistics about an eMDI instance.

-

abnormal

Displays exception statistics about an eMDI instance.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command displays only the latest 60 statistical records of an eMDI instance.

Example

# Display statistics about eMDI instance 1 that monitors UDP flows.

<HUAWEI> display emdi statistics instance 1 
Instance ID : 1       Monitor Period(s) : 10    Protocol : UDP                                                                      
----------------------------------------------------------------------------                                                        
        Record        Monitor       RTP-LR       RTP-SER       Jitter                                                              
         Time         Status      (1/100000)    (1/100000)     (us)                                                               
 2018-09-17:16-17-00  Normal         152          151           2
 2018-09-17:16-17-10  Normal         152          151           2
 2018-09-17:16-17-20  Normal         152          151           2

# Display statistics about eMDI instance 2 that monitors TCP flows.

<HUAWEI> display emdi statistics instance 2 
Instance ID : 2       Monitor Period(s) : 10    Protocol : TCP                                                                      
-------------------------------------------------------------------------------                                                     
        Record        Monitor       MFR          DPLR         UPLR      DRTT                                                        
        Time          Status       (bps)      (1/100000)   (1/100000)   (us)                                                        
------------------------------------------------------------------------------- 
 2018-09-17:16-17-00  Normal       4865656118     151          2         2
 2018-09-17:16-17-10  Normal       4866005390     151          2         2
 2018-09-17:16-17-20  Normal       4871215641     151          2         2

# Display detailed statistics about eMDI instance 3 that monitors UDP flows.

<HUAWEI> display emdi statistics instance 3 verbose
Instance ID : 3      Monitor Period(s) : 10    Protocol : UDP                                                                      
----------------------------------------------------------------------------
Originated From Slot 1
Record Time       : 2018-09-17:17-02-00   Monitor Status    : Abnormal
Received Packets  : 3850                  Rate pps          : 128
Received Bytes    : 5390000               Rate bps          : 1437333
Lost Packets      : 32261                 RTP-LR(1/100000)  : 89338
Disordered Packets: 0                     RTP-SER(1/100000) : 0
RTP-LP            : 35                    Average Jitter(us): 8540
Maximum Jitter(us): 8815                  Minimum Jitter(us)  : 8262

# Display detailed statistics about eMDI instance 4 that monitors TCP flows.

<HUAWEI> display emdi statistics instance 4 verbose
Instance ID : 4       Monitor Period(s) : 10    Protocol : TCP                                                                      
----------------------------------------------------------------------------
Originated From Slot 1
Record Time      : 2018-09-17:15-27-00   Monitor Status : Normal
Received Packets : 95                    Rate pps       : 9
Received Bytes   : 12510                 Rate bps(MFR)  : 10008
UPLC             : 0                     UPLR(1/100000) : 0
DPLC             : 0                     DPLR(1/100000) : 0
DRTT(us)         : 8396412               

# Display exception statistics about eMDI instance 5 that monitors UDP flows.

<HUAWEI> display emdi statistics instance 5 abnormal
Instance ID : 5       Monitor Period(s) : 30    Protocol : UDP                                                                      
---------------------------------------------------------------------------- 
Originated From Slot 1
Record Time       : 2018-09-17:17-02-00   Monitor Status    : Abnormal
Received Packets  : 3850                  Rate pps          : 128
Received Bytes    : 5390000               Rate bps          : 1437333
Lost Packets      : 32261                 RTP-LR(1/100000)  : 89338
Disordered Packets: 0                     RTP-SER(1/100000) : 0
RTP-LP            : 35                    Average Jitter(us): 8540
Maximum Jitter(us): 8815                  Minimum Jitter(us)  : 8262

# Display exception statistics about eMDI instance 6 that monitors TCP flows.

<HUAWEI> display emdi statistics instance 6 abnormal
Instance ID : 6       Monitor Period(s) : 30    Protocol : TCP                                                                      
---------------------------------------------------------------------------- 
Originated From Slot 1
Record Time      : 2018-09-17:15-27-00   Monitor Status : Normal
Received Packets : 95                    Rate pps       : 9
Received Bytes   : 12510                 Rate bps(MFR)  : 10008
UPLC             : 0                     UPLR(1/100000) : 0
DPLC             : 0                     DPLR(1/100000) : 0
DRTT(us)         : 8396412               
Table 16-104  Description of the display emdi statistics instance command output

Item

Description

Instance ID

ID of an eMDI instance.

Monitor Period(s)

Monitoring interval of an eMDI instance.

Protocol

Transport layer protocol.

Record Time

Time when a record is generated.

Monitor Status

Status of an eMDI instance:
  • Normal
  • Abnormal

RTP-LR(1/100000)

Packet loss rate of RTP packets.

RTP-SER(1/100000)

Out-of-order rate of RTP packets.

Jitter(us)

Jitter of RTP packets.

MFR(bps)

Average bit rate.

DPLR(1/100000)

Downstream packet loss rate.

UPLR(1/100000)

Upstream packet loss rate.

DRTT(us)

Average downstream two-way delay, in microseconds.

Originated From Slot

ID of the slot where the card having eMDI instance started is located.

Received Packets

Number of the received packets.

Rate pps

Rate at which packets are received, in pps.

Received Bytes

Total number of received bytes.

Rate bps

Rate at which packets are received, in bps.

Lost Packets

Number of lost packets.

Disordered Packets

Number of out-of-order packets.

RTP-LP

Maximum number of consecutively lost RTP packets.

Average Jitter(us)

Average jitter, in microseconds.

Maximum Jitter(us)

Maximum jitter, in microseconds.

Minimum Jitter(us)

Minimum jitter, in microseconds.

Rate bps(MFR)

Average rate at which packets are received, in bps.

UPLC

Number of the lost upstream packets.

DPLC

Number of the lost downstream packets.

display snmp-agent trap feature-name emdi all

Function

The display snmp-agent trap feature-name emdi all command displays whether the switch is enabled to send traps of eMDI module to the NMS.

Format

display snmp-agent trap feature-name emdi all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

After running the snmp-agent trap enable feature-name emdi command to enable the function of sending traps of eMDI modules to the NMS, you can run the display snmp-agent trap feature-name emdi all command to check whether this function is enabled.

Prerequisites

SNMP has been enabled. For details, see snmp-agent.

Example

# Display whether the switch is enabled to send traps of eMDI module to the NMS.

<HUAWEI> display snmp-agent trap feature-name emdi all
------------------------------------------------------------------------------                                                      
Feature name: EMDI                                                                                                                  
Trap number : 4                                                                                                                     
------------------------------------------------------------------------------                                                      
Trap name                       Default switch status   Current switch status                                                       
hwEMDIIndicatorOverThreshold    on                      on                                                                          
hwEMDIIndicatorOverThresholdResume                                                                                                  
                                on                      on                                                                          
hwEMDIReceiveDuplicatePackets   on                      on                                                                          
hwEMDIReceiveDuplicatePacketsResume                                                                                                 
                                on                      on                                                                          
Table 16-105  Description of the display snmp-agent trap feature-name emdi all command output

Item

Description

Feature name

Name of the feature that generates traps.

Trap number

Number of traps generated by IP FPM module.

Trap name

Name of the trap. Traps of the IP FPM module include:
  • hwIpfpmLossRatioExceed: A monitoring indicator detected by an eMDI instance exceeded the alarm threshold in three consecutive monitoring intervals.
  • hwIpfpmLossRatioRecovery: A monitoring indicator detected by an eMDI instance fell below the alarm threshold in 60 consecutive monitoring intervals.
  • hwIpfpmTlpExceed: The out-of-order packet rate detected by an eMDI instance was greater than the packet loss rate in three consecutive monitoring intervals.
  • hwIpfpmTlpRecovery: The out-of-order packet rate detected by an eMDI instance was less than the packet loss rate in 60 consecutive monitoring intervals.

Default switch status

Default status of a trap:
  • on: The switch is enabled to send this trap to the NMS.
  • off: The switch is disabled to send this trap to the NMS.

Current switch status

Current status of a trap:
  • on: The switch is enabled to send this trap to the NMS.
  • off: The switch is disabled to send this trap to the NMS.

This status can be configured using the snmp-agent trap enable feature-name emdi command.

emdi

Function

The emdi command enables the eMDI function and displays the eMDI view.

The undo emdi command disables the eMDI function.

By default, the eMDI function is disabled.

Format

emdi

undo emdi

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

To use eMDI to monitor network quality and demarcate faults, you must run this command to enable eMDI before performing other related operations.

Example

# Enable the eMDI function.

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

alarm threshold

Function

The alarm threshold command configures an alarm threshold for an eMDI instance.

The undo alarm threshold command restores the default alarm threshold for an eMDI instance.

By default, the alarm threshold for an eMDI instance is 100.

Format

alarm { rtp-lr | rtp-ser | dplr | uplr } threshold threshold-value

undo alarm { rtp-lr | rtp-ser | dplr | uplr } threshold [ threshold-value ]

Parameters

Parameter Description Value
rtp-lr

Specifies the alarm threshold of the packet loss rate for RTP packets (transported over UDP).

-

rtp-ser

Specifies the alarm threshold of the out-of-order rate for RTP packets (transported over UDP).

-

dplr

Specifies the alarm threshold of the downstream TCP packet loss rate.

-

uplr

Specifies the alarm threshold of the upstream TCP packet loss rate.

-

threshold threshold-value

Specifies the alarm threshold value.

The value is an integer in the range from 1 to 100000 (unit: 1/100,000).

Views

eMDI instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When eMDI is used to monitor quality and demarcate faults of video or audio services, you can run this command to configure the alarm threshold for an eMDI instance. When an indicator such as the out-of-order packet rate or packet loss rate monitored by the eMDI instance reaches the threshold for three consecutive times, an alarm is reported to the NMS. If the indicator no longer reaches the threshold within the following 60 consecutive monitoring intervals, the alarm is automatically cleared.

The switch supports alarms about the packet loss rate, out-of-order rate, and multi-flow detection for RTP packets (transported over UDP), as well as the downstream and upstream TCP packet loss rates. If the out-of-order rate of RTP packets transported over UDP is higher than the packet loss rate, the eMDI instance determines that multiple flows exist.

Prerequisites

A target flow has been configured in the eMDI instance using the flow ipv4 udp command or flow ipv4 tcp command.

Precautions

After an eMDI instance is started using the start command, the alarm threshold for the eMDI instance cannot be modified. To modify the alarm threshold, run the stop command to stop the eMDI instance first.

Example

# Set the alarm threshold of the downstream packet loss rate to 1000 in eMDI instance 1.

<HUAWEI> system-view
[HUAWEI] emdi
[HUAWEI-emdi] emdi instance 1
[HUAWEI-emdi-instance-1] flow ipv4 tcp source 10.0.0.1 destination 10.2.2.2
[HUAWEI-emdi-instance-1] alarm dplr threshold 1000

emdi instance

Function

The emdi instance command creates an eMDI instance and displays the eMDI instance view. If an eMDI instance has been created, the system displays the view of the eMDI instance.

The undo emdi instance command deletes a specified eMDI instance.

By default, no eMDI instance is created.

Format

emdi instance instance-id

undo emdi instance instance-id

Parameters

Parameter Description Value
instance-id

Specifies the ID of an eMDI instance to be created.

The value is an integer in the range from 1 to 4096.

Views

eMDI view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An eMDI instance is a basic unit for eMDI to collect statistics about target flows. Each eMDI instance is composed of multiple elements, such as the target flow and monitoring interval. After the eMDI function is enabled, you must run this command to create an eMDI instance for quality monitoring and fault demarcation of video or audio services.

Precautions
  • You can create one or more eMDI instances. The number of eMDI instances that can concurrently run a device depends on the product model, which can be queried using the display emdi command.
  • Multiple eMDI instances cannot monitor the same target flow.
  • An eMDI instance can monitor only one target flow.

Example

# Create an eMDI instance with the ID of 1.

<HUAWEI> system-view
[HUAWEI] emdi
[HUAWEI-emdi] emdi instance 1
[HUAWEI-emdi-instance-1]

monitor-period

Function

The monitor-period command sets the monitoring interval of an eMDI instance.

The undo monitor-period command restores the default monitoring interval of an eMDI instance.

By default, the monitoring interval of an eMDI instance is 60 seconds.

Format

monitor-period period-value

undo monitor-period [ period-value ]

Parameters

Parameter Description Value
period-value

Specifies the monitoring interval of an eMDI instance.

The value is of the enumerated type and can be set to 10, 30, or 60, in seconds.

Views

eMDI instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When eMDI is used to monitor quality and demarcate faults of video or audio services, an eMDI instance obtains monitoring data from the device at a specified interval.

Precautions

After an eMDI instance is started, its monitoring interval cannot be modified. To modify the monitoring interval, run the stop command to stop the eMDI instance first.

Example

# Set the monitoring interval of eMDI instance 1 to 10 seconds.

<HUAWEI> system-view
[HUAWEI] emdi
[HUAWEI-emdi] emdi instance 1
[HUAWEI-emdi-instance-1] monitor-period 10

end lifetime

Function

The end lifetime command sets the lifetime of an eMDI instance.

The undo end lifetime command restores the default lifetime of an eMDI instance.

By default, the lifetime of an eMDI instance is 1 hour.

Format

end lifetime { seconds seconds | minutes minutes | hours hours | days days }

undo end lifetime [ seconds seconds | minutes minutes | hours hours | days days ]

Parameters

Parameter Description Value
seconds seconds

Specifies the lifetime of an eMDI instance, in seconds.

The value is an integer in the range from 300 to 604800.

minutes minutes

Specifies the lifetime of an eMDI instance, in minutes.

The value is an integer in the range from 5 to 10080.

hours hours

Specifies the lifetime of an eMDI instance, in hours.

The value is an integer in the range from 1 to 168.

days days

Specifies the lifetime of an eMDI instance, in days.

The value is an integer in the range from 1 to 7.

Views

eMDI instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

eMDI is a one-off monitoring activity and does not need to run for a long time. You can run this command to configure the lifetime of an eMDI instance. After the eMDI instance is started, it stops automatically when its lifetime expires.

Precautions

After an eMDI instance is started, its lifetime cannot be modified. To modify the lifetime, run the stop command to stop the eMDI instance first.

Example

# Set the lifetime of eMDI instance 1 to 300 seconds.

<HUAWEI> system-view
[HUAWEI] emdi
[HUAWEI-emdi] emdi instance 1
[HUAWEI-emdi-instance-1] end lifetime seconds 300

flow ipv4 tcp

Function

The flow ipv4 tcp command configures a target TCP flow to be monitored by an eMDI instance.

The undo flow ipv4 tcp command deletes a target TCP flow monitored by an eMDI instance.

By default, no target flow is configured in an eMDI instance.

Format

flow ipv4 tcp source source-ip-address destination destination-ip-address [ vlan vlan-id | source-port source-port-number | destination-port destination-port-number ]*

undo flow ipv4 tcp source source-ip-address destination destination-ip-address [ vlan vlan-id | source-port source-port-number | destination-port destination-port-number ]*

undo flow

Parameters

Parameter Description Value
source source-ip-address

Specifies the source IP address of a target flow.

The value is in dotted decimal notation.

destination destination-ip-address

Specifies the destination IP address of a target flow.

The value is in dotted decimal notation.

vlan vlan-id

Specifies the VLAN ID of a target flow.

The value is an integer in the range from 1 to 4094.

source-port source-port-number

Specifies the source port number of a target flow.

The value is an integer in the range from 1 to 65535.

destination-port destination-port-number

Specifies the destination port number of a target flow.

The value is an integer in the range from 1 to 65535.

Views

eMDI instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

As a key element in an eMDI instance, a target flow to be monitored must be configured before the eMDI instance is started.

A target flow is the object monitored by an eMDI instance, and can be defined by any combinations of multiple attributes such as source IP address, destination IP address, VLAN ID, source port number, and destination port number. Specifying more attributes makes the target flow more accurate. Therefore, it is recommended that you specify more attributes to improve precision of monitoring results.

Precautions

  • An eMDI instance can monitor only one target flow. If multiple target flows are configured in an eMDI instance, only the last configured one takes effect.
  • Multiple eMDI instances cannot monitor the same target flow.
  • In a video surveillance scenario, specify the number of the port connected to IPCs to ensure uniqueness of the target flow. Otherwise, the monitoring results will be affected in multi-flow scenarios.
  • After an eMDI instance is started, the target flow monitored by the eMDI instance cannot be modified. To modify the target flow, run the stop command to stop the eMDI instance first.

Example

# Set the source and destination IP addresses of the target TCP flow to be monitored by eMDI instance 2 to 10.0.0.1 and 10.0.0.2, respectively.

<HUAWEI> system-view
[HUAWEI] emdi
[HUAWEI-emdi] emdi instance 2
[HUAWEI-emdi-instance-2] flow ipv4 tcp source 10.0.0.1 destination 10.0.0.2

flow ipv4 udp

Function

The flow ipv4 udp command configures a target UDP flow to be monitored by an eMDI instance.

The undo flow ipv4 udp command deletes the target UDP flow monitored by an eMDI instance.

By default, no target flow is configured in an eMDI instance.

Format

flow ipv4 udp source source-ip-address destination destination-ip-address [ vlan vlan-id | source-port source-port-number | destination-port destination-port-number | pt pt-value | clock-rate clock-rate-value ]*

undo flow ipv4 udp source source-ip-address destination destination-ip-address [ vlan vlan-id | source-port source-port-number | destination-port destination-port-number | pt pt-value | clock-rate clock-rate-value ]*

undo flow

Parameters

Parameter Description Value
source source-ip-address

Specifies the source IP address of a target flow.

The value is in dotted decimal notation.

destination destination-ip-address

Specifies the destination IP address of a target flow.

The value is in dotted decimal notation.

vlan vlan-id

Specifies the VLAN ID of a target flow.

The value is an integer in the range from 1 to 4094.

source-port source-port-number

Specifies the source port number of a target flow.

The value is an integer in the range from 1 to 65535.

destination-port destination-port-number

Specifies the destination port number of a target flow.

The value is an integer in the range from 1 to 65535.

pt pt-value

Specifies the payload type of a target flow.

The value is an integer in the range from 25 to 127.

clock-rate clock-rate-value

Specifies the clock rate of a target flow.

The value is of the enumerated type and can be set to 8000, 16000, or 90000, in Hz. The default value is 90000.

Views

eMDI instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

As a key element in an eMDI instance, a target flow to be monitored must be configured before the eMDI instance is started.

A target flow is the object monitored by eMDI, and can be defined by any combinations of multiple attributes such as source IP address, destination IP address, VLAN ID, source port number, and destination port number. Specifying more attributes makes the target flow more accurate. Therefore, it is recommended that you specify more attributes to improve precision of monitoring results.

Precautions

  • An eMDI instance can monitor only one target flow. If multiple target flows are configured in an eMDI instance, only the last configured one takes effect.
  • Multiple eMDI instances cannot monitor the same target flow.
  • In a video surveillance scenario, specify the number of the port connected to IPCs to ensure uniqueness of the target flow. Otherwise, the monitoring results will be affected in multi-flow scenarios.
  • In an IPTV scenario, specify the pt pt-value parameter to ensure uniqueness of a target flow. Otherwise, the monitoring results will be affected in multi-flow scenarios.
  • After an eMDI instance is started, the target flow monitored by the eMDI instance cannot be modified. To modify the target flow, run the stop command to stop the eMDI instance first.

Example

# Set the source and destination IP addresses of the target UDP flow to be monitored by eMDI instance 1 to 10.0.0.1 and 10.0.0.2, respectively.

<HUAWEI> system-view
[HUAWEI] emdi
[HUAWEI-emdi] emdi instance 1
[HUAWEI-emdi-instance-1] flow ipv4 udp source 10.0.0.1 destination 10.0.0.2

reset emdi statistics instance

Function

The reset emdi statistics instance command clears the statistics about an eMDI instance.

Format

reset emdi statistics instance instance-id

Parameters

Parameter Description Value
instance-id

Specifies the ID of an eMDI instance.

The value is an integer in the range from 1 to 5120.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To obtain the latest monitoring results of an eMDI instance, you can run this command to clear historical monitoring results of the eMDI instance, and then run the display emdi statistics instance command to obtain the latest ones.

Example

# Clear statistics about eMDI instance 1.

<HUAWEI> reset emdi statistics instance 1 

snmp-agent trap enable feature-name emdi

Function

The snmp-agent trap enable feature-name emdi command enables the trap function for the eMDI module.

The undo snmp-agent trap enable feature-name emdi command disables the trap function for the eMDI module.

By default, the trap function is disabled for the eMDI module.

Format

snmp-agent trap enable feature-name emdi [ trap-name { hwemdiindicatoroverthreshold | hwemdiindicatoroverthresholdresume | hwemdireceiveduplicatepackets | hwemdireceiveduplicatepacketsresume } ]

undo snmp-agent trap enable feature-name emdi [ trap-name { hwemdiindicatoroverthreshold | hwemdiindicatoroverthresholdresume | hwemdireceiveduplicatepackets | hwemdireceiveduplicatepacketsresume } ]

Parameters

Parameter Description Value
trap-name Enables the trap function for the specified event. -
hwemdiindicatoroverthreshold Enables the trap function of a monitoring indicator detected by an eMDI instance exceeded the alarm threshold in three consecutive monitoring intervals. -
hwemdiindicatoroverthresholdresume Enables the trap function of a monitoring indicator detected by an eMDI instance fell below the alarm threshold in 60 consecutive monitoring intervals. -
hwemdireceiveduplicatepackets Enables the trap function of the out-of-order packet rate detected by an eMDI instance was greater than the packet loss rate in three consecutive monitoring intervals. -
hwemdireceiveduplicatepacketsresume Enables the trap function of the out-of-order packet rate detected by an eMDI instance was less than the packet loss rate in 60 consecutive monitoring intervals. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The Simple Network Management Protocol (SNMP) is a network management standard widely used on the TCP/IP network. It uses a central computer (a network management station) that runs network management software to manage network elements. The SNMP agent reports trap messages to the network management station so that the network management station can obtain the network status in a timely manner, and the network administrator can take measures accordingly.

The snmp-agent trap enable feature-name emdi command enables the trap function for the eMDI module.

Precautions

To enable the trap function for one or several events, specify trap-name. If trap-name is not specified, all trap functions are enabled for the eMDI module.

Example

# Enable the trap function of a monitoring indicator detected by an eMDI instance exceeded the alarm threshold in three consecutive monitoring intervals.

<HUAWEI> system-view
[HUAWEI] snmp-agent trap enable feature-name emdi trap-name hwemdiindicatoroverthreshold

start

Function

The start command starts an eMDI instance.

Format

start

Parameters

None

Views

eMDI instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After an eMDI instance is created and a target flow is configured, you can run this command to start the eMDI instance to monitor quality and demarcate faults of video or audio services.

Prerequisites

A target flow has been configured for an eMDI instance using the flow ipv4 tcp or flow ipv4 udp command.

Precautions

After an eMDI instance is started, all parameters in the eMDI instance cannot be modified. To modify the parameters, run the stop command to stop the eMDI instance first.

Example

# Start eMDI instance 1.

<HUAWEI> system-view
[HUAWEI] emdi
[HUAWEI-emdi] emdi instance 1
[HUAWEI-emdi-instance-1] flow ipv4 udp source 10.0.0.1 destination 10.0.0.2
[HUAWEI-emdi-instance-1] start

stop

Function

The stop command stops an eMDI instance immediately.

Format

stop

Parameters

None

Views

eMDI instance view

Default Level

2: Configuration level

Usage Guidelines

You can stop an eMDI instance in either of the following situations:
  • Stop execution of the eMDI instance immediately.
  • Modify the target flow, monitoring interval, lifetime, or alarm threshold of the eMDI instance.

Example

# Stop eMDI instance 1.

<HUAWEI> system-view
[HUAWEI] emdi
[HUAWEI-emdi] emdi instance 1
[HUAWEI-emdi-instance-1] stop

stop all

Function

The stop all command stops all eMDI instances immediately.

Format

stop all

Parameters

None

Views

eMDI view

Default Level

2: Configuration level

Usage Guidelines

If eMDI instances have completed fault demarcation before their lifetime expires, you can run this command to stop all the eMDI instances.

Example

# Stop all eMDI instances.

<HUAWEI> system-view
[HUAWEI] emdi
[HUAWEI-emdi] stop all
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 113044

Downloads: 83

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