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

Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

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

RMON Configuration Commands

display rmon alarm

Function

The display rmon alarm command displays information about RMON alarm function.

Format

display rmon alarm [ entry-number ]

Parameters

Parameter Description Value
entry-number Displays information about the RMON alarm entry with the specified index. If no index is specified, information about all alarms is displayed. The value is an integer that ranges from 1 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After configuring the RMON alarm thresholds using the rmon alarm command, you can run this command to view the configured alarm variables, sampling interval, thresholds, alarm triggering condition, and last sampled value.

Example

# Display the RMON alarm configurations.

<HUAWEI> display rmon alarm
Alarm table 1 owned by creator is valid.
  Samples delta value       : 1.3.6.1.2.1.16.1.1.1.4.1
  Sampling interval         : 5(sec)
  Rising threshold          : 1000 (linked with event 1)
  Falling threshold         : 100(linked with event 1)
  When startup enables      : risingOrFallingAlarm
  Latest value              : 0
Table 18-24  Description of the display rmon alarm command output

Item

Description

Alarm table entry-number owned by owner is status.

The current status of the alarm entry entry-number created by owner is status.

  • entry-number: alarm entry index, corresponding to the alarmIndex object in alarmTable.
  • owner: creator of the entry, corresponding to the alarmOwner object in alarmTable.
  • status: row status of the alarm entry with the specified index, corresponding to the alarmStatus in alarmTable.

Samples delta value

Alarm variable, namely, monitored MIB object, corresponding to the alarmVariable object in alarmTable.

Sampling interval

Sampling interval, in seconds, corresponding to the alarmInterval object in alarmTable.

Rising threshold

Rising threshold of the alarm table, corresponding to the alarmRisingThreshold object in alarmTable. When the sampled value reaches or exceeds the rising threshold, an alarm is generated.

Falling threshold

Falling threshold of the alarm table, corresponding to the alarmFallingThreshold object in alarmTable. When the sampled value reaches or falls below the falling threshold, an alarm is generated.

When startup enables

Condition that triggers alarms, corresponding to the alarmStartupAlarm object in alarmTable. When the sampled value exceeds the rising threshold or falls below the falling threshold, an alarm is generated. The values are:

  • risingOrFallingAlarm: generating an alarm when the sampled value exceeds the rising threshold or falls below the falling threshold
  • risingAlarm: generating an alarm when the sampled value exceeds the rising threshold
  • fallingAlarm: generating an alarm when the sampled value falls below the falling threshold

Latest value

Latest sampled value, corresponding to the alarmValue object in alarmTable.

Related Topics

display rmon event

Function

The display rmon event command displays information about RMON events.

Format

display rmon event [ entry-number ]

Parameters

Parameter Description Value
entry-number Displays the configuration of the RMON event with the specified index. If no index is specified, information about all events is displayed. The value is an integer that ranges from 1 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After configuring the trap or log function for RMON events, you can run this command to view the configured event description, whether events trigger traps and logs, and latest event.

Example

# Display the RMON event configurations.

<HUAWEI> display rmon event
Event table 1 owned by Huawei is valid.
  Description: null.
  Will cause log  when triggered, last triggered at 0days 00h:24m:10s.69th.
Table 18-25  Description of the display rmon event command output

Item

Description

Event table entry-number owned by owner is status.

The current status of the event entry entry-number created by owner is status.

  • entry-number: event entry index, corresponding to the eventIndex object in eventTable.
  • owner: creator of the entry, corresponding to the eventOwner object in eventTable.
  • status: row status of the event entry with the specified index, corresponding to the eventStatus in eventTable.

Description

Event description, corresponding to the eventDescription object in eventTable.

Will cause log when triggered

Whether events trigger traps or logs, corresponding to the eventType object in eventTable.

The actions associated with events are as follows:

  • none: no action is taken.
  • log: a log is recorded when an event is triggered.
  • trap: a trap is sent to the NMS when an event is triggered.
  • log-trap: a log is recorded and a trap is sent to the NMS when an event is triggered.

last triggered at

Latest event time, corresponding to the eventLastTimeSent object in eventTable.

Related Topics

display rmon eventlog

Function

The display rmon eventlog command displays details about RMON event logs.

Format

display rmon eventlog [ entry-number ]

Parameters

Parameter Description Value
entry-number Displays the log with the specified index. If no index is specified, information about all event logs is displayed. The value is an integer that ranges from 1 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If you use the rmon event command to specify that a log is recorded for a certain event, the event record is stored in the LogTable. The command output includes event index, current event status, time the event triggers a log (calculated based on the number of seconds elapsed since system initialization or startup), and event description.

Example

# Display the log of RMON event 1.

<HUAWEI> display rmon eventlog 1
Event table 1 owned by User is valid.
  Generates eventLog 1.1 at 0days 00h:00m:07s.43th.
  Description: The 1.3.6.1.2.1.16.1.1.1.4.1 defined in alarm table 1, less than or equal to 100 with alarm value 0. Alarm sample type is delta.
  Generates eventLog 1.2 at 0days 00h:02m:26s.43th.
  Description: The 1.3.6.1.2.1.16.1.1.1.4.1 defined in alarm table 1, greater than or equal to 1000 with alarm value 10443. Alarm sample type is delta.
Table 18-26  Description of the display rmon eventlog command output

Item

Description

Event table entry-number owned by owner is status.

The current status of the event entry entry-number created by owner is status.

  • entry-number: event log entry index, corresponding to the logEventIndex object in LogTable.
  • owner: creator of the entry, corresponding to the eventOwner object in eventTable.
  • status: row status of the event entry with the specified index, corresponding to the eventStatus in eventTable.

Generates eventLog at

Log creation time (time elapsed since system startup), corresponding to the logTime object in LogTable.

Description

Event description, corresponding to the logDescription object in LogTable.

display rmon history

Function

The display rmon history command displays RMON history sampling information.

Format

display rmon history [ interface-type interface-number ]

Parameters

Parameter Description Value
interface-type interface-number Displays RMON history sampling information on the specified Ethernet interface. If this parameter is not specified, RMON history sampling information on all interfaces is displayed. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After configuring RMON history statistics on an interface using the rmon history command, the system samples packets on the interface periodically. The display rmon history command can display history sampling information, including the number of sampled packets, history sampling interval, latest sampling information, Ethernet interface usage, number of CRC error packets, and total number of packets.

Example

# Display RMON history sampling information.

<HUAWEI> display rmon history
History control entry 1 owned by Creator is valid
  Samples interface     : 10GE1/0/1<ifIndex.15>
  Sampling interval     : 30(sec) with 10 buckets max                           
  Last Sampling time    : 4days 22h:16m:46s.39th                                
  Latest sampled values :                                                       
  Octets               :270371823 , Packets           :3297312                  
  Broadcast packets    :0         , Multicast packets :3297305                  
  Undersize packets    :0         , Oversize packets  :0                        
  Fragments packets    :0         , Jabbers packets   :0                        
  CRC alignment errors :0         , Collisions        :0                        
  Dropped packet       :0         , Utilization       :0   

# Display RMON history sampling information on the specified interface.

<HUAWEI> display rmon history 10ge 1/0/1
History control entry 1 owned by Creator is valid
  Samples interface     : 10GE1/0/1<ifIndex.15>
  Sampling interval     : 30(sec) with 10 buckets max
  Last Sampling time    : 4days 22h:17m:46s.39th                                
  Latest sampled values :                                                       
  Octets               :279428935 , Packets           :3407732                  
  Broadcast packets    :0         , Multicast packets :3407732                  
  Undersize packets    :0         , Oversize packets  :0                        
  Fragments packets    :0         , Jabbers packets   :0                        
  CRC alignment errors :0         , Collisions        :0                        
  Dropped packet       :0         , Utilization       :0                        
  History record:                                                               
                                                                                
  Record No.8582 (Sample time: 4days 22h:13m:16s.40th)                          
  Octets               :269715531 , Packets           :3406424                  
  Broadcast packets    :0         , Multicast packets :3406427                  
  Undersize packets    :0         , Oversize packets  :0                        
  Fragments packets    :0         , Jabbers packets   :0                        
  CRC alignment errors :0         , Collisions        :0                        
  Dropped packet       :0         , Utilization       :0   
Table 18-27  Description of the display rmon history command output

Item

Description

History control entry entry-number owned by owner is status.

The current status of the event entry entry-number created by owner is status.

  • entry-number: history control table entry index, corresponding to the historyControlIndex object in historyControlTable.
  • owner: creator of the entry, corresponding to the historyControlOwner object in historyControlTable.
  • status: row status of the history control table entry with the specified index, corresponding to the historyControlStatus in historyControlTable.

Samples interface

Sampled interface.

Sampling interval

Sampling interval, in seconds, corresponding to the historyControlInterval object in historyControlTable. The system samples packets on the interface at this interval.

Last Sampling time

Latest sampling time, corresponding to the etherHistoryIntervalStart object in etherHistoryTable.

Latest sampled values

Latest sampling result.

Octets

Number of bytes received in a sampling interval, corresponding to the etherHistoryOctets object in etherHistoryTable.

Packets

Number of packets received in a sampling interval, corresponding to the etherHistoryPkts object in etherHistoryTable.

Broadcast packets

Number of broadcast packets received in a sampling interval, corresponding to the etherHistoryBroadcastPkts object in etherHistoryTable.

Multicast packets

Number of multicast packets received in a sampling interval, corresponding to the etherHistoryMulticastPkts object in etherHistoryTable.

Undersize packets

Number of undersize packets received in a sampling interval, corresponding to the etherHistoryUndersizePkts object in etherHistoryTable.

Oversize packets

Number of large packets received in a sampling interval, corresponding to the etherHistoryOversizePkts object in etherHistoryTable.

Fragments packets

Number of undersize and CRC error packets received in a sampling interval, corresponding to the etherHistoryFragments object in etherHistoryTable.

Jabbers packets

Number of large and CRC error packets received in a sampling interval, corresponding to the etherHistoryJabbers object in etherHistoryTable.

CRC alignment errors

Number of CRC error packets received in a sampling interval, corresponding to the etherHistoryCRCAlignErrors object in etherHistoryTable.

Collisions

Number of collision packets received in a sampling interval, corresponding to the etherHistoryCollisions object in etherHistoryTable.

Dropped packet

Number of packets discarded in a sampling interval, corresponding to the etherHistoryDropEvents object in etherHistoryTable.

Utilization

Bandwidth usage in a sampling interval, corresponding to the etherHistoryUtilization object in etherHistoryTable.

History record

History sampling result.

Related Topics

display rmon statistics

Function

The display rmon statistics command displays RMON Ethernet statistics.

Format

display rmon statistics [ interface-type interface-number ]

Parameters

Parameter Description Value
interface-type interface-number Displays RMON Ethernet statistics on the specified Ethernet interface. If this parameter is not specified, RMON Ethernet statistics on all interfaces are displayed. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After you configure Ethernet statistics using the rmon statistics command, the system collects packet statistics on Ethernet interfaces. The command output includes communication information generated since statistics function is enabled. The command output helps you locate faults.

When the device restarts, all statistics are cleared.

Example

# Display RMON Ethernet statistics.

<HUAWEI> display rmon statistics
Statistics entry 1 owned by Creator is valid.
  Interface : 10GE1/0/1<ifIndex.15>
  Received  :
  Octets              :142915224 , Packets          :1749151
  Broadcast packets   :11603     , Multicast packets:756252
  Undersize packets   :0         , Oversize packets :0
  Fragments packets   :0         , Jabbers packets  :0
  CRC alignment errors:0         , Collisions       :0
  Dropped packet (insufficient resources):1795
  Packets received according to length (octets):
  64     :150183    ,  65-127  :150183    ,  128-255  :1383
  256-511:3698      ,  512-1023:0         ,  1024-1518:0
Table 18-28  Description of the display rmon statistics command output

Item

Description

Statistics entry entry-number owned by owner is status.

The current status of the event entry entry-number created by owner is status.

  • entry-number: Ethernet statistics entry, corresponding to the etherStatsIndex object in etherStatsTable.
  • owner: creator of the entry, corresponding to the etherStatsOwner object in etherStatsTable.
  • status: row status of the Ethernet statistics entry with the specified index, corresponding to the etherStatsStatus in etherStatsTable.

Interface

Interface where statistics are collected, corresponding to the etherStatsDataSource object in etherStatsTable, followed by the interface OID.

Received

Number of received packets.

Octets

Number of received octets.

Packets

Number of received packets, corresponding to the etherStatsPkts object in etherStatsTable.

Broadcast packets

Number of received broadcast packets, corresponding to the etherStatsBroadcastPkts object in etherStatsTable.

Multicast packets

Number of received multicast packets, corresponding to the etherStatsMulticastPkts object in etherStatsTable.

Undersize packets

Number of received undersize packets, corresponding to the etherStatsUndersizePkts object in etherStatsTable.

Oversize packets

Number of received large packets, corresponding to the etherStatsOversizePkts object in etherStatsTable.

Fragments packets

Number of received undersize and CRC error packets, corresponding to the etherStatsFragments object in etherStatsTable.

Jabbers packets

Number of received large and CRC error packets, corresponding to the etherStatsJabbers object in etherStatsTable.

CRC alignment errors

Number of received CRC error packets, corresponding to the etherStatsCRCAlignErrors object in etherStatsTable.

Collisions

Number of received collision packets, corresponding to the etherStatsCollisions object in etherStatsTable.

Dropped packet

Number of discarded packets, corresponding to the etherStatsDropEvents object in etherStatsTable.

Packets received according to length

Number of received packets with different lengths, corresponding to the etherStatsPkts64Octets, etherStatsPkts65to127Octets, etherStatsPkts128to255Octets, etherStatsPkts256to511Octets, etherStatsPkts512to1023Octets, and etherStatsPkts1024to1518Octets objects in etherStatsTable.

Related Topics

display snmp-agent trap feature-name rmon all

Function

The display snmp-agent trap feature-name rmon all command displays the status of all traps about the RMON module.

Format

display snmp-agent trap feature-name rmon all

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

None.

Example

# Display the status of all traps about the RMON module.

<HUAWEI> display snmp-agent trap feature-name rmon all
------------------------------------------------------------------------------
Feature name: RMON
Trap number : 2
------------------------------------------------------------------------------
Trap name                      Default switch status   Current switch status
fallingAlarm                   on                      on                       
risingAlarm                    on                      on           
Table 18-29  Description of the display snmp-agent trap feature-name rmon all command output

Item

Description

Feature name

Name of the module to which a trap message belongs.

Trap number

Number of trap messages.

Trap name

Name of a trap message of the RMON module.

Default switch status

Default status of the trap function:
  • on: indicates that the trap function is enabled.
  • off: indicates that the trap function is disabled.

Current switch status

Current status of the trap function:
  • on: indicates that the trap function is enabled.
  • off: indicates that the trap function is disabled.

risingalarm

Indicates that the current sampled value is greater than or equal to the set threshold specified by the alarm table.

fallingalarm

Indicates that the current sampled value is less than or equal to the set threshold specified by the alarm table.

rmon alarm

Function

The rmon alarm command adds an entry to the alarm table.

The undo rmon alarm command deletes an entry from the alarm table.

Format

rmon alarm entry-number alarm-OID sampling-time { absolute | changeratio | delta } rising-threshold threshold-value1 event-entry1 falling-threshold threshold-value2 event-entry2 [ startup-alarm { falling | rising | risingorfalling } ] [ owner owner-name ]

undo rmon alarm entry-number

Parameters

Parameter Description Value
entry-number Specifies the index of the entry to be added or deleted. The value is an integer that ranges from 1 to 65535.
alarm-OID Specifies the alarm OID. The name is a string of 1 to 256 case-sensitive characters without spaces. When quotation marks are used around the string, spaces are allowed in the string.
sampling-time Specifies the sampling interval. The value is an integer that ranges from 5 to 65535, in seconds.
absolute Indicates that the sample type is absolute. The value is the sampled value at the end of the period. -
changeratio Indicates that the sample type is changeratio. The value is Changing value/Sampling interval. -
delta Indicates that the sample type is delta. The value is the difference between the samples at the beginning and end of the period. -
rising-threshold threshold-value1 Specifies the rising threshold of sampled value. The value is an integer that ranges from -2147483648 to 2147483647.
event-entry1 Indicates the event index corresponding to the rising threshold. The value is an integer that ranges from 1 to 65535.
falling-threshold threshold-value2 Specifies the falling threshold of sampled value. The value is an integer that ranges from -2147483648 to 2147483647.
event-entry2 Indicates the event index corresponding to the falling threshold. The value is an integer that ranges from 1 to 65535.
startup-alarm { falling | rising | risingorfalling } Indicates the trap flag.
  • falling: indicates that the system sends a trap or log about an event only when a falling alarm is triggered.
  • rising: indicates that the system sends a trap or log about an event only when a raising alarm is triggered.
  • risingorfalling: indicates that the system sends a trap or log about an event when a raising alarm or falling is triggered.
-
owner owner-name Indicates the owner of the alarm. The name is a string of 1 to 127 case-sensitive characters without spaces. When quotation marks are used around the string, spaces are allowed in the string.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To monitor system running status, run the rmon alarm command to configure an alarm table and add an entry to the alarm table. After the command is executed, the RMON alarm function is enabled. The system obtains information about the monitored object at the specified interval, and compares the obtained value with the configured threshold. Then the system triggers the event according to the following table, and records log or sends a trap to the NMS.

Situation Action
The sampled value is greater than or equal to the configured rising threshold threshold-value1. Trigger event-entry1.
The sampled value is less than or equal to the configured falling threshold threshold-value2. Trigger event-entry2.

Prerequisites

Before configuring alarm function for the specified object, run the rmon event command to define the associated events. Otherwise, events cannot be triggered even if alarms are generated.

Example

# Monitor alarm thresholds for etherStatsBroadcastPkts (alarm OID is 1.3.6.1.2.1.16.1.1.1.6.1): Set the sampling interval to 30 seconds and sample type to absolute. When the sampled value reaches or exceeds 500, event 1 is triggered. When the sampled value reaches or falls below 100, event 2 is triggered. The owner is creator.

<HUAWEI> system-view
[~HUAWEI] rmon event 1 log
[*HUAWEI] rmon event 2 trap public
[*HUAWEI] rmon alarm 1 1.3.6.1.2.1.16.1.1.1.6.1 30 absolute rising-threshold 500 1 falling-threshold 100 2 owner creator
Related Topics

rmon event

Function

The rmon event command adds an entry to the event table.

The undo rmon event command deletes an entry from the event table.

Format

rmon event entry-number [ description string ] { log | trap object | log-trap object | none } [ owner owner-name ]

undo rmon event entry-number

Parameters

Parameter Description Value
entry-number Specifies the index of the entry to be added or deleted. The value is an integer that ranges from 1 to 65535.
description string Specifies the event description. The value is a string of 1 to 127 characters.
log Records a log for the event. -
trap Sends a trap to the NMS. -
object Specifies the community name of the NMS receiving the trap. The value is a string of 1 to 127 characters.
log-trap Records a log and sends a trap to the NMS for the event. -
none Indicates that no action is taken for the event. -
owner owner-name Indicates the creator of the event entry. The name is a string of 1 to 127 case-sensitive characters without spaces. When quotation marks are used around the string, spaces are allowed in the string.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

This command specifies whether to record a log or send a trap for events. When an error occurs in the system, the RMON alarm function triggers the corresponding event. You can run the rmon event command to configure an event table and add an entry to the table. The entry specifies whether to record a log or send a trap to the NMS for the event.

Prerequisites

The rmon alarm command is executed to configure the alarm objects. Otherwise, no alarm will trigger the event.

Example

# Send a trap to the NMS for event 10.

<HUAWEI> system-view
[~HUAWEI] rmon event 10 trap public
Related Topics

rmon history

Function

The rmon history command adds an entry to the history control table.

The undo rmon history command deletes an entry from the history control table.

Format

rmon history entry-number buckets number interval sampling-interval [ owner owner-name ]

undo rmon history entry-number

Parameters

Parameter Description Value
entry-number Specifies the index of the entry to be added or deleted. The value is an integer that ranges from 1 to 65535.
buckets number Indicates the maximum number of records in the history control table. The value is an integer that ranges from 1 to 10.
interval sampling-interval Specifies the sampling interval. The value is an integer that ranges from 5 to 3600, in seconds.
owner owner-name Indicates the owner of the entry in the history control table. The name is a string of 1 to 127 case-sensitive characters without spaces. When quotation marks are used around the string, spaces are allowed in the string.

Views

GE interface view, 10GE interface view, 25GE interface view, 40GE interface view, 100GE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To collect statistics on the specified interface at an interval and save the statistics for future retrieval, run the rmon history command to configure a history control table and add an entry to the table. The system can periodically collect statistics on each type of traffic, including bandwidth usage, number of error packets, and total number of packets.

Precautions

The number of stored records is determined by the buckets number parameter. When the number of records in the table reaches the maximum, the system overwrites the old records with new ones. Statistics include the number of packets, broadcast packets, and multicast packets received by the interface within a sampling interval. You can run the display rmon history command to view history sampling results.

Example

# Configure a history control table and add an entry with index 1 to the table. Set the maximum number of entries in the table to 10, sampling interval to 5 seconds, and creator to user1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] rmon history 1 buckets 10 interval 5 owner user1
Related Topics

rmon statistics

Function

The rmon statistics command adds an entry to the statistics table.

The undo rmon statistics command deletes an entry from the statistics table.

Format

rmon statistics entry-number [ owner owner-name ]

undo rmon statistics entry-number

Parameters

Parameter Description Value
entry-number Indicates the row index corresponding to the entry to be added or deleted. The value is an integer that ranges from 1 to 65535.
owner owner-name Indicates the owner name. The name is a string of 1 to 127 case-sensitive characters without spaces. When quotation marks are used around the string, spaces are allowed in the string.

Views

GE interface view, 10GE interface view, 25GE interface view, 40GE interface view, 100GE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To keep collecting statistics on the current interface, run the rmon statistics command to configure a statistics table and add an entry to the table. This command monitors usage of Ethernet interfaces and collects statistics on errors, including the number of collision packets, CRC error packets, undersize and large packets, timeout packets, fragments, broadcast packets, multicast packets, and unicast packets.

Prerequisites

The rmon-statistics enable command is executed to enable RMON statistics function on the interface. If the command is not executed, the statistics result is 0.

Example

# Configure a statistics table on 10GE1/0/1 and add an entry with index 20 to the table.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] rmon statistics 20 owner creater

rmon-statistics enable

Function

The rmon-statistics enable command enables RMON statistics function on an interface.

The undo rmon-statistics command disables RMON statistics function on an interface.

By default, RMON statistics function is disabled on interfaces.

Format

rmon-statistics enable

undo rmon-statistics

Parameters

None

Views

GE interface view, 10GE interface view, 25GE interface view, 40GE interface view, 100GE interface view

Default Level

2: Configuration level

Usage Guidelines

If the statistics function is not enabled on an interface, statistics in the statistics table and history table are 0.

Example

# Enable RMON statistics function on 10GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] rmon-statistics enable
Related Topics

snmp-agent trap enable feature-name rmon

Function

The snmp-agent trap enable feature-name rmon command enables the alarm function for the RMON module.

The undo snmp-agent trap enable feature-name rmon command disables the alarm function for the RMON module.

By default, the alarm function is enabled for the RMON module.

Format

snmp-agent trap enable feature-name rmon [ trap-name { fallingalarm | risingalarm } ]

undo snmp-agent trap enable feature-name rmon [ trap-name { fallingalarm | risingalarm } ]

Parameters

Parameter Description Value
trap-name

Enables or disables the alarm function for the specified event.

If no event type is specified using the trap-name parameter, all types of alarms are enabled or disabled for the RMON module.

-
fallingalarm

Indicates that the current sampled value is less than or equal to the threshold configured in the alarmTable.

-
risingalarm

Indicates that the current sampled value is greater than or equal to the threshold configured in the alarmTable.

-

Views

System view

Default Level

3: Management level

Usage Guidelines

A device managed by the NMS can send traps to the NMS if the alarm function is enabled for the RMON module on the device. By default, all alarms for the RMON module are enabled. If only one or some event alarms need to be enabled, run the snmp-agent trap enable feature-name rmon trap-name command.

Example

# Enable the fallingalarm for the RMON module.

<HUAWEI> system-view
[~HUAWEI] snmp-agent trap enable feature-name rmon trap-name fallingalarm
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 69560

Downloads: 374

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