TP-Link T2500G-10MPS T2500G-10MPSUN V1 Configuration Guide - Page 795
User, Security Model and Security Level according to configurations of the SNMP User.
View all TP-Link T2500G-10MPS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 795 highlights
Configuring SNMP & RMON Configuration Example 5) To configure Notification, specify the IP address of the NMS host and UDP port. Set the User, Security Model and Security Level according to configurations of the SNMP User. Choose the type as Inform, and set the retry times as 3, and the timeout period as 100 seconds. Switch(config)#snmp-server host 172.168.1.222 162 admin smode v3 slev authPriv type inform retries 3 timeout 100 Enable Bandwith-control Trap Switch(config)#snmp-server traps bandwidth-control Configuring RMON 1) Create two Statistics entries to monitor ports 1/0/1 and 1/0/2 respectively. The owner of the entries is set as monitor, and the status is set as valid. Switch(config)#rmon statistics 1 interface gigabitEthernet 1/0/1 owner monitor status valid Switch(config)#rmon statistics 2 interface gigabitEthernet 1/0/2 owner monitor status valid 2) Create two history entries and bind them to ports 1/0/1 and 1/0/2 respectively. Set the sample interval as 100 seconds, max buckets as 50, and the owner as monitor. Switch(config)#rmon history 1 interface gigabitEthernet 1/0/1 interval 100 owner monitor buckets 50 Switch(config)#rmon history 2 interface gigabitEthernet 1/0/2 interval 100 owner monitor buckets 50 3) Create two event entries named admin, which is the SNMP user name. Set entry 1 as the Notify type and its description as "rising notify". Set entry 2 as the Log type and its description as "falling log". Set the owner of them as monitor. Switch(config)#rmon event 1 user admin description rising-notify type notify owner monitor Switch(config)#rmon event 2 user admin description falling-log type log owner monitor 4) Create two alarm entries. For entry 1, set the alarm variable as BPackets, associated statistics entry ID as 1 (bound to port 1/0/1), the sample type as Absolute, the rising threshold as 3000, the associated rising event entry ID as 1 (Notify type), the falling threshold as 2000, the associated falling event entry ID as 2 (the log type), the alarm type as all, the interval as 10 seconds, and the owner name as monitor. For entry 2, set the associated statistics entry ID as 2 (bound to port 1/0/2), while all other configurations are the same as those of entry 1. Switch(config)#rmon alarm 1 stats-index 1 alarm-variable bpkt s-type absolute risingthreshold 3000 rising-event-index 1 falling-threshold 2000 falling-event-index 2 a-type all interval 10 owner monitor Configuration Guide 768