Configuring SNMP & RMON Configuration Example
Configuration Guide  
  791
Switch_A(config)#rmon alarm 2 stats-index 2 alarm-variable bpkt s-type absolute 
rising-threshold 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_A(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
    0   Too big errors(Maximum packet size 1500)
    0   No such name errors
    0   Bad value errors
    0   General errors
    0   Response PDUs
    0   Trap PDUs 
Verify SNMP engine ID:
Switch_A(config)#show snmp-server engineID
Local engine ID: 80002e5703000aeb13a23d
Remote engine ID: 123456789a