1-12
[Sysname] snmp-agent trap enable
[Sysname] snmp-agent target-host trap address udp-domain 1.1.1.2 params securityname v3user
v3
# Configure RMON to gather statistics on interface GigabitEthernet 2/0/1.
[Sysname] interface GigabitEthernet 2/0/1
[Sysname-GigabitEthernet2/0/1] rmon statistics 1 owner v3user
[Sysname-GigabitEthernet2/0/1] quit
# Configure RMON events: when event 1 is triggered, the device sends a trap to the NMS and logs the
event locally; when event 2 is triggered, the device logs the event locally.
[Sysname] rmon event 1 description rising log-trap v3user owner v3user
[Sysname] rmon event 2 description falling log owner v3user
# Create an RMON private alarm entry to monitor the utilization rate of interface GigabitEthernet 2/0/1
when it is receiving packets, and the formula is [(number of received bytes on the interface during the
sampling interval × 8 + number of received packets on the interface during the sampling interval ×
16)/sampling interval]/interface rate.
[Sysname] rmon prialarm 1
(.1.3.6.1.2.1.16.1.1.1.4.1*8+.1.3.6.1.2.1.16.1.1.1.5.1*16)*100/(.1.3.6.1.2.1.2.2.1.5.1*1
0) SpeedRatio 10 delta rising-threshold 80 1 falling-threshold 5 2 entrytype forever owner
v3user
The OID of node etherStatsOctets.1 is 1.1.3.6.1.2.1.16.1.1.1.4.1, which indicates the number of bytes
received on interface GigabitEthernet2/0/1; the OID of node etherStatsPkts.1 is
1.1.3.6.1.2.1.16.1.1.1.5.1, which indicates the number of packets received on interface
GigabitEthernet2/0/1; the OID of node ifSpeed.1 is 1.1.3.6.1.2.1.2.2.1.5.1, which indicates the interface
rate configured on GigabitEthernet2/0/1. Use delta sampling to obtain the total number of received
bytes on the interface during the sampling interval.
# Display the RMON private alarm entry configuration.
<Sysname> display rmon prialarm 1
PrialarmEntry 1 owned by v3user is VALID.
Samples type : delta
Variable formula : (.1.3.6.1.2.1.16.1.1.1.4.1*8+.1.3.6.1.2.1.16.1.1.1.5.1
*16)*100/(.1.3.6.1.2.1.2.2.1.5.1*10)
Description : SpeedRatio
Sampling interval : 10(sec)
Rising threshold : 80(linked with event 1)
Falling threshold : 5(linked with event 2)
When startup enables : risingOrFallingAlarm
This entry will exist : forever
Latest value : 40
Содержание S7906E - Switch
Страница 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Страница 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Страница 494: ...ii Displaying and Maintaining Tunneling Configuration 1 45 Troubleshooting Tunneling Configuration 1 45...
Страница 598: ...ii...
Страница 1757: ...4 9...
Страница 1770: ...6 4...
Страница 2017: ...2 11 Figure 2 3 SFTP client interface...
Страница 2062: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2...
Страница 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...
Страница 2442: ...2 4 Set the interval for sending Syslog or trap messages to 20 seconds Device mac address information interval 20...