Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SNMP trap on 2801 - ip route

Status
Not open for further replies.

bagz

IS-IT--Management
Sep 14, 2009
9
0
0
US
Is there any way to send a trap to a NMS when the router changes gateway?

I have a 2801 with two WANs, if 0/0 IP SLA fails it switches to the ip route with a higher cost(on 0/1)

I would like to be alerted when this happens. Nothing too technical please, I have a very limited knowledge of IOS

thanks in advance and here's a snippet...

track timer interface 15
!
track 123 ip sla 2 reachability
delay down 60 up 120

interface FastEthernet0/0
ip address 172.30.0.79 255.255.0.0
ip access-group 100 in
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.1.36.10 255.255.255.0
ip access-group 101 in
ip nat outside
ip virtual-reassembly
duplex auto
speed auto

ip route 0.0.0.0 0.0.0.0 172.30.0.1 10 track 123
ip route 12.xxx.xxx.xxx 255.255.255.255 1.1.1.1 track 123
ip route 0.0.0.0 0.0.0.0 10.1.36.1 100
ip route 12.yyy.yyy.yyy 255.255.255.255 172.30.0.1
 
you should be able to download the CISCO-SYSLOG-MIB and configure ip sla monitor logging traps along with your typical SNMP config

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top