2082
C
112: RMON C
HAPTER
ONFIGURATION
Network diagram
Figure 623 Network diagram for RMON
Agent
Eth1/0
Server
Console
Terminal
Configuration procedure
# Configure the SNMP agent, keeping its write/read communities and version
consistent with those configured on the NMS.
<Sysname> system-view
[Sysname] snmp-agent
[Sysname] snmp-agent community read public
[Sysname] snmp-agent community write private
[Sysname] snmp-agent community write user1
[Sysname] snmp-agent sys-info version v1
[Sysname] snmp-agent trap enable
[Sysname] snmp-agent target-host trap address udp-domain 1.1.1.2 par
ams securityname user1
# Assign an IP address to interface Ethernet 1/1.
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] ip address 1.1.1.1 255.255.255.0
# Configure RMON to gather statistics on interface Ethernet 1/0.
[Sysname-Ethernet1/1] quit
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] rmon statistics 1 owner user1-rmon
[Sysname-Ethernet1/0] quit
# Create an RMON alarm entry and before that, event entries to be referenced.
[Sysname] rmon event 1 description rising trap router1 owner user1-rmon
[Sysname] rmon event 2 description falling trap router1 owner user1-rmon
[Sysname] rmon alarm 1 1.3.6.1.2.1.16.1.1.1.4.1 5 delta rising_threshold 100
1 falling_threshold 50 2
# Verify the RMON alarm entry configuration.
<Sysname> display rmon alarm 1
Alarm table 1 owned by null is Valid.
Samples type
Variable formula
Sampling interval
Rising threshold
Falling threshold
When startup enables
Latest value
Eth1/1
1.1.1.1/24
1.1.1.2/24
NMS
: delta
: 1.3.6.1.2.1.16.1.1.1.4.1<etherStatsOctets.1>
: 5(sec)
: 100(linked with event 1)
: 50(linked with event 2)
: risingOrFallingAlarm
: 0