TP-Link T1500-28TC TL-SL2428 T1500-28TCUN V1 Configuration Guide - Page 546
Get-next PDUs, Set-request PDUs
View all TP-Link T1500-28TC TL-SL2428 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 546 highlights
Configuring SNMP & RMON Configuration Example Switch(config)#rmon history 2 interface fastEthernet 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 Switch(config)#rmon alarm 2 stats-index 2 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 Verify the Configurations Verify global SNMP configurations: Switch(config)#show snmp-server SNMP agent is enabled. 0 SNMP packets input 0 Bad SNMP version errors 0 Unknown community name 0 Illegal operation for community name supplied 0 Encoding errors 0 Number of requested variables 0 Number of altered variables 0 Get-request PDUs 0 Get-next PDUs 0 Set-request PDUs 0 SNMP packets output Configuration Guide 525