Opilab
Linux – Network – Technology
  • Home
« IOS XR – AAA

Cisco EEM script | Routing table change – monitoring

1
2
3
4
5
6
7
8
9
event manager applet route-table-monitor
event routing network 0.0.0.0/0 ge 1
action 0.5 set msg "Route changed: Type: $_routing_type, Network: $_routing_network, Mask/Prefix: $_routing_mask, Protocol: $_routing_protocol, GW: $_routing_lastgateway, Intf: $_routing_lastinterface"
action 1.0 syslog msg "$msg"
action 2.0 cli command "enable"
action 4.0 info type routername
action 5.0 snmp-trap strdata "Route changed: Type: $_routing_type, Network: $_routing_network, Mask/Prefix: $_routing_mask, Protocol: $_routing_protocol, GW: $_routing_lastgateway, Intf: $_routing_lastinterface"
action 6.0 cli command "end"
action 7.0 cli command "exit"

This entry was posted by admin on July 12, 2016 at 10:44, and is filed under General. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Search Website
  • Tags

    apache cisco command db ddl dovecote HDIP HDMI iosxr iptables linux multicast netwo network nortel p2p plesk postfix script seedbox service spanning tree thumbnail tool tools ubuntu vmware vpn web
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
Opilab © 2016 | Powered by WordPress and Mystique theme by digitalnature
27 queries in 0.19 seconds (18.47M)
Go to Top