Re: SNMP trap is not sent for RMON

From: Sam Munzani (sam@munzani.com)
Date: Mon Jun 16 2003 - 10:51:50 GMT-3


Check the bug list. I had similar issues in past and it came out to be bug
in IOS. I don't remember which IOS had it fixed but it's a bug for sure.

Sam Munzani
CCIE # 6479

> Hi Group,
>
> I configured rmon events to be logged and a SNMP trap to be sent . The
> router does no send SNMP trap when an alarm is fired, but it logs the
event.
> Evey thing is configured right . Could some one find out what is wrong?
>
>
>
> r5#show run
> Building configuration...
>
> Current configuration : 2449 bytes
> !
> version 12.1
> no service single-slot-reload-enable
> service timestamps debug datetime msec
> service timestamps log datetime msec
> no service password-encryption
> !
> hostname r5
> !
> logging rate-limit console 10 except errors
> !
> username r2 password 0 ipexpert
> ip subnet-zero
> no ip finger
> no ip domain-lookup
> !
> isdn switch-type basic-ni
> cns event-service server
> !
> !
> !
>
> !
> interface Loopback0
> ip address 200.0.0.5 255.255.255.255
> !
> interface Ethernet0
> ip address 150.50.7.5 255.255.255.128
> !
> interface Serial0
> ip address 150.50.100.5 255.255.255.224
> ip bandwidth-percent eigrp 1 75
> ip hello-interval eigrp 1 20
> ip hold-time eigrp 1 60
> encapsulation frame-relay
> ip split-horizon
> frame-relay map ip 150.50.100.2 501 broadcast
> frame-relay map ip 150.50.100.5 501
> frame-relay map ip 150.50.100.6 506 broadcast
> frame-relay lmi-type cisco
> !
> interface Serial1
> no ip address
> shutdown
> !
> interface BRI0
> ip address 150.50.9.5 255.255.255.192
> encapsulation ppp
> dialer-group 1
> isdn switch-type basic-ni
> isdn spid1 0835866201 8358662
> isdn spid2 0835866401 8358664
> no cdp enable
> ppp authentication chap
> ppp multilink
> !
> router eigrp 1
> redistribute connected metric 56 1000 255 1 1500 route-map conet2eigrp
> network 150.50.7.0 0.0.0.127
> network 150.50.100.0 0.0.0.31
> network 150.50.0.0
> no auto-summary
> no eigrp log-neighbor-changes
> !
> ip kerberos source-interface any
> ip classless
> no ip http server
> !
> access-list 1 permit 200.0.0.5
> dialer-list 1 protocol ip permit
> route-map conet2eigrp permit 10
> match ip address 1
> !
> !
> snmp-server enable traps snmp authentication linkdown linkup coldstart
> warmstart
> snmp-server enable traps isdn call-information
> snmp-server enable traps isdn layer2
> snmp-server enable traps isdn chan-not-avail
> snmp-server enable traps hsrp
> snmp-server enable traps config
> snmp-server enable traps entity
> snmp-server enable traps bgp
> snmp-server enable traps ipmulticast
> snmp-server enable traps msdp
> snmp-server enable traps rsvp
> snmp-server enable traps frame-relay
> snmp-server enable traps syslog
> snmp-server enable traps rtr
> snmp-server enable traps dlsw
> snmp-server host 150.50.7.7 puplic
> snmp-server manager
> rmon event 2 log trap ipexpert description "High 5-minute CPU" owner
jsmith
> rmon alarm 11 lsystem.58.0 5 delta rising-threshold 1 2 falling-threshold
1
> 2 owner config
> alias exec br show ip inter brief
> !
> line con 0
> exec-timeout 0 0
> logging synchronous
> transport input none
> line aux 0
> line vty 0 4
> login
> !
> end
>
> ============================================
>
> r5#
>
> r5#show rmon event
> Event 2 is active, owned by jsmith
> Description is High 5-minute CPU
> Event firing causes log and trap to community ipexpert, last fired
01:29:48
> Current log entries:
> index time description
> 11 00:08:08 High 5-minute CPU
> 12 00:08:18 High 5-minute CPU
> 13 00:08:28 High 5-minute CPU
> 14 00:08:38 High 5-minute CPU
> 15 00:08:48 High 5-minute CPU
> 16 00:08:58 High 5-minute CPU
> 17 00:09:08 High 5-minute CPU
> 18 00:09:18 High 5-minute CPU
> 19 00:09:28 High 5-minute CPU
> 20 00:09:43 High 5-minute CPU
> 21 00:09:53 High 5-minute CPU
> 22 00:10:03 High 5-minute CPU
> 23 00:10:18 High 5-minute CPU
> 24 00:10:33 High 5-minute CPU
> 25 00:10:48 High 5-minute CPU
> 26 00:10:58 High 5-minute CPU
> 27 00:11:18 High 5-minute CPU
> 28 00:11:33 High 5-minute CPU
> ====================================
>
>
> r5#show snmp
> Chassis: 13623218
> 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
> 11 SNMP packets output
> 0 Too big errors (Maximum packet size 1500)
> 0 No such name errors
> 0 Bad values errors
> 0 General errors
> 0 Response PDUs
> 11 Trap PDUs
>
> SNMP logging: enabled
> Logging to 150.50.7.7.162, 0/10, 11 sent, 0 dropped.
>
> SNMP Manager-role output packets
> 0 Get-request PDUs
> 0 Get-next PDUs
> 0 Get-bulk PDUs
> 0 Set-request PDUs
> 0 Inform-request PDUs
> 0 Timeouts
> 0 Drops
> SNMP Manager-role input packets
> 0 Inform response PDUs
> 0 Trap PDUs
> 0 Response PDUs
> 0 Responses with errors
>
> SNMP informs: disabled
> r5#
>
>
> _______________________________________________________________________
> You are subscribed to the GroupStudy.com CCIE R&S Discussion Group.
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Fri Jul 04 2003 - 11:10:59 GMT-3