Naming Networks in EEM route table monitor

I have the following EEM applet running on one of my core devices to monitor any changes in the routing table.
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 3.0 info type routername
action 4.0 mail server "*.*.*.*" to "roger@*********" from "Core1" subject "Routing Table Change" body "$msg  $_cli_result"
action 8.0 set msg "Route changed: Type: "
This works brilliantly however the email I get lists the networks by IP and I am trying to get it to identify them by name
Email Output
Route changed: Type: modify, Network: 10.8.4.0, Mask/Prefix: 255.255.255.0, Protocol: BGP, GW: 10.1.1.1, Intf: N/A
The script is running on a 3750
I tried putting ip host info on the switch but that did not work.
I am not sure if there is an extra line I can add to the script or if anyone else has done this?
Thanks
Roger

I don't understand the request.  Where would the network "name" come from?  Networks are unnamed on IOS.

Similar Messages

  • Eem script monitor routing table - multiple entries into 1 email

    I have the following script running to report on routing table changes
    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 mail server "10.*.*.*" to "roger.perkin@****" from "Switch1" subject "Routing Table Change" body "$msg  $_cli_result"
    It works perfectly however if multiple routes change I get multiple emails.
    Last night we had a site go out and I got about 20 separate email for each subnet change.
    What I would like to do is get this script to take all routes changed in a 1 minute interval and then output them into an email.
    Not quite sure how I would go about that?
    Thanks
    Roger
    Currently studying for my CCIE and just started on EEM, have not done much scripting before so this is all good stuff to know.

    You can't do this with one policy.  However, you could accomplish this with a timer policy that will batch up the pending updates, though.  Something like this would work.
    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 0.6 syslog msg "$msg" action 1.0 handle-error type ignore action 2.0 context retrieve key RTRCTXT variable msgs action 3.0 if $_error ne FH_EOK action 4.0  set msgs "$msg\n" action 5.0 else action 6.0  append msgs "$msg\n" action 7.0 end action 8.0 handle-error type exit action 9.0 context save key RTRCTXT variable msgs!event manager applet route-table-batcher event timer watchdog time 60 action 1.0 handle-error type ignore action 2.0 context retrieve key RTRCTXT variable msgs action 3.0 if $_error eq FH_EOK action 4.0  info type routername action 5.0  mail server "10.*.*.*" to "roger.perkin@****" from "$_info_routername" subject "Routing Table Change" body "$msgs" action 6.0 end action 7.0 handle-error type exit

  • ISCSI boot with Intel NICs added to windows 2008 r2 routing table causes non iscsi traffic to attempt default routes on iscsi networks

    I have a server with Intel 82576 Gigabit Dual Port Nics.  I have configured them to use iSCSI boot the primary looks to 10.0.0.1/24 and the secondary looks to 10.0.1.1/24.  The target is configured correctly.  Everything boots as expected.
     I have added the MPIO feature and configured MPIO for the iscsi initiator as per: http://blogs.technet.com/b/migreene/archive/2009/08/29/3277914.aspx.
     My issue is that the iSCSI networks show up in the routing table like so:
    I did not configure a default route in the Intel setup utility:
    I tried to explicitly remove the 0.0.0.0 entry and leave blank, with no change.  As you can see with the above routing table traffic attempts to travel over these routes:
    C:\Users\Administrator>ping google.com
    Pinging google.com [209.85.145.99] with 32 bytes of data:
    Reply from 10.0.0.201: Destination host unreachable.
    Reply from 10.0.1.201: Destination host unreachable.
    Reply from 209.85.145.99: bytes=32 time=23ms TTL=51
    Reply from 209.85.145.99: bytes=32 time=22ms TTL=51
    Ping statistics for 209.85.145.99:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    A ping to the outside world first attempts on 10.0.0.x/24 network, then on 10.0.1.x/24 network and then finally on the network the traffic should go over.  I don't want my iSCSI traffic to ever show up with a default route.  How do I get rid of it?
    route delete 0.0.0.0 mask 0.0.0.0 "on-link" results in: The route deletion failed: The parameter is incorrect.
    route delete 0.0.0.0 mask 0.0.0.0 on-link results in: The route deletion failed: The parameter is incorrect.
    route delete 0.0.0.0 deletes all default routes, then I have to add back in the "valid default route" of 192.168.100.6.
    I would like to not have to do a route delete though.

    So I've sort of given up on fixing the gateway assignment in the route for iSCSI boot.  I configured a DHCP server to give out the information required by iSCSI boot and configured the network cards to use DHCP for their configuration.  I insured
    that my DHCP server gave out no default gateway entry.  However, I still got the undesired routes in the routing table.  This makes me assume that there isn't a "fix" for it, only the workaround.
    Here is the script I run on each iSCSI Boot initiator (you would obviously change the ip number to suit your environment):
    @Echo off
    Rem fixes iscsi route problem as shown below:
    Rem IPv4 Route Table
    REM ===========================================================================
    REM Active Routes:
    REM Network Destination Netmask Gateway Interface Metric
    REM 0.0.0.0 0.0.0.0 On-link 10.0.0.200 10255
    REM 0.0.0.0 0.0.0.0 On-link 10.0.1.200 266
    REM 0.0.0.0 0.0.0.0 192.168.100.6 192.168.100.98 266
    REM The top 2 lines are on the iscsi interface and traffic tries to go out it
    REM We need to delete the routes, so we'll just delete all gateway routes and
    REM add back in the one we care about.
    route delete 0.0.0.0 >c:\iscsibootroutefix.log
    route -p add 0.0.0.0 mask 0.0.0.0 192.168.100.6 >>c:\iscsibootroutefix.log
    After running it I get:
    IPv4 Route Table
    ===========================================================================
    Active Routes:
    Network Destination Netmask Gateway Interface Metric
    0.0.0.0 0.0.0.0 192.168.100.6 192.168.100.98 11
    10.0.0.0 255.255.255.0 On-link 10.0.0.200 10255
    10.0.0.1 255.255.255.255 On-link 10.0.0.200 10255
    10.0.0.200 255.255.255.255 On-link 10.0.0.200 10255
    Then I added a task in “task scheduler” of "administrative tools"  that ran as the user “system” “when the computer starts” that runs this script.

  • Syslogging routing table updates

    I have a stable network that rarely has any routing changes. I would like any routing table updates to be sent to a logging server or possibly generate a trap so I am aware of the changes. Currently I use a Debug ip routing command and get the output sent. Is there another way to accomplish this without using the debug command?
    Keith

    This will depend on your version of IOS.  Newer versions of IOS include the Embedded Event Manager version 3.0.  This version of EEM includes a route table event detector that can be used to spot routing updates.  You can try something like this:
    event manager applet routing-changes event routing type all network 0.0.0.0/0 ge 1 action 1.0 syslog msg "Routing table changed; Type: $_routing_type, Network: $_routing_network, Mask: $_routing_mask, Protocol: $_routing_protocol, Gateway: $_routing_lastgateway, Interface: $_routing_lastinterface"

  • Network Manager Role - route add/delete command

    How to establish role (RBAC) to modify routing table ? When I use embeded Network Management profile for this purpose, after running route add command I receive message that running route command needs root priviledges.

    Could explain in more details ?
    What I want achieve is to give some users ability to modify routing table. For that purpose I established role named service. I have assingend built in profile Network Management to that role via SMC. I established also right profile named Service Commands with /usr/sbin/route command. But when I am trying modify routing table I receive the following error:
    service@host > route add 1.1.1.2 10.93.5.254
    *route: must be root to alter routing table: Permission denied*Below is listing profiles assing with RBAC role service:
    service@host > profiles -l service
          Service Commands:
              /usr/sbin/route    euid=0, egid=0
              /usr/sbin/snoop    euid=service, egid=1
              /usr/sbin/ifconfig    euid=0, egid=0
          Device Management:
              /usr/sbin/allocate    uid=0
              /usr/sbin/deallocate    uid=0
          Network Management:
              /etc/init.d/asppp    uid=0, gid=sys
              /etc/init.d/inetinit    uid=0, gid=sys
              /etc/init.d/inetsvc    uid=0, gid=sys
              /etc/init.d/nscd    uid=0, gid=sys
              /etc/init.d/rpc    uid=0, gid=sys
              /etc/init.d/sysid.net    uid=0, gid=sys
              /etc/init.d/sysid.sys    uid=0, gid=sys
              /etc/init.d/uucp    uid=0, gid=sys
              /usr/bin/netstat    uid=0
              /usr/bin/rup    euid=0
              /usr/bin/ruptime    euid=0
              /usr/bin/setuname    euid=0
              /usr/sbin/asppp2pppd    euid=0
              /usr/sbin/ifconfig    uid=0
              /usr/sbin/in.named    uid=0
              /usr/sbin/ipqosconf    euid=0
              /usr/sbin/route    uid=0
              /usr/sbin/snoop    uid=0
              /usr/sbin/spray    euid=0
          All:
    service@host > grep service /etc/user_attr
    service::::profiles=Service Commands,Device Management,Network Management;type=role
    user1::::profiles=Service Commands,Network Management,Service,All;roles=service;type=normal

  • Activating failover config drops routing table

    I'm attempting to configure two ASA 5520 for active/standby failover.
    When I enter the “failover” command to enable the config on the primary ASA, the entire routing table disappears.
    There is no routing process running, only static routes are configured.
    Is this an expected behavior of the failover process and if so, how long should I wait for the routes to come back?
    Is there a document somewhere explaining this behavior?
    I’ve searched all day but couldn’t find anything that came close to explain this.
    If this is not normal, what could be causing this to happen?
    Thanks

    Originally, both primary and secondary were configured for failover.
    At this point I'm only trying to understand why the rounting table is cleared so the secondary is turned off.
    Is it an expected result to have your routing cleared when you enable failover?
    I've waited only ~30 seconds for the routes to come back. Maybe I'm not waiting long enough, but I haven't seen in all the documents I've read that lost of traffic should be expected when Failover is enabled.
    hfn-asa5520-01# sh route
    Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
           D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
           N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
           E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
           i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
           * - candidate default, U - per-user static route, o - ODR
           P - periodic downloaded static route
    Gateway of last resort is 62.117.51.1 to network 0.0.0.0
    S    172.26.0.0 255.255.0.0 [1/0] via 172.26.1.252, inside
    S    172.26.30.30 255.255.255.255 [1/0] via 62.117.51.1, outside
    C    172.26.1.0 255.255.255.0 is directly connected, inside
    S    172.26.30.31 255.255.255.255 [1/0] via 62.117.51.1, outside
    C    62.117.51.0 255.255.255.0 is directly connected, outside
    C    10.1.1.0 255.255.255.0 is directly connected, dmz
    S    10.21.21.0 255.255.255.0 [1/0] via 172.26.1.250, inside
    C    10.255.255.0 255.255.255.252 is directly connected, Failover
    C    192.168.168.0 255.255.255.0 is directly connected, Flora
    S*   0.0.0.0 0.0.0.0 [1/0] via 62.117.51.1, outside
    hfn-asa5520-01# sh failover
    Failover Off
    Failover unit Primary
    Failover LAN Interface: Failover Management0/0 (Failed - No Switchover)
    Unit Poll frequency 1 seconds, holdtime 15 seconds
    Interface Poll frequency 5 seconds, holdtime 25 seconds
    Interface Policy 1
    Monitored Interfaces 3 of 160 maximum
    hfn-asa5520-01# sh failover
    Failover Off
    Failover unit Primary
    Failover LAN Interface: Failover Management0/0 (Failed - No Switchover)
    Unit Poll frequency 1 seconds, holdtime 15 seconds
    Interface Poll frequency 5 seconds, holdtime 25 seconds
    Interface Policy 1
    Monitored Interfaces 3 of 160 maximum
    hfn-asa5520-01# conf t
    hfn-asa5520-01(config)# failover
    hfn-asa5520-01(config)# sh failover
    Failover On
    Failover unit Primary
    Failover LAN Interface: Failover Management0/0 (Failed - No Switchover)
    Unit Poll frequency 1 seconds, holdtime 15 seconds
    Interface Poll frequency 5 seconds, holdtime 25 seconds
    Interface Policy 1
    Monitored Interfaces 3 of 160 maximum
    Version: Ours 8.4(3), Mate Unknown
    Last Failover at: 12:23:12 PDT May 21 2012
            This host: Primary - Negotiation
                    Active time: 116 (sec)
                    slot 0: ASA5520 hw/sw rev (2.0/8.4(3)) status (Up Sys)
                      Interface outside (62.117.51.100): No Link (Waiting)
                      Interface inside (172.26.1.251): No Link (Waiting)
                      Interface dmz (10.1.1.1): No Link (Waiting)
                      Interface Flora (192.168.168.1): No Link (Not-Monitored)
                    slot 1: empty
            Other host: Secondary - Not Detected
                    Active time: 0 (sec)
                    slot 0: empty
                      Interface outside (62.117.51.99): Unknown (Waiting)
                      Interface inside (172.26.1.249): Unknown (Waiting)
                      Interface dmz (10.1.1.2): Unknown (Waiting)
                      Interface Flora (192.168.168.2): Unknown (Not-Monitored)
                    slot 1: empty
    Stateful Failover Logical Update Statistics
            Link : Failover Management0/0 (Failed)
            Stateful Obj    xmit       xerr       rcv        rerr     
            General         0          0          0          0        
            sys cmd         0          0          0          0        
            up time         0          0          0          0        
            RPC services    0          0          0          0        
            TCP conn        0          0          0          0        
            UDP conn        0          0          0          0        
            ARP tbl         0          0          0          0        
            Xlate_Timeout   0          0          0          0        
            IPv6 ND tbl     0          0          0          0        
            VPN IKEv1 SA    0          0          0          0        
            VPN IKEv1 P2    0          0          0          0        
            VPN IKEv2 SA    0          0          0          0        
            VPN IKEv2 P2    0          0          0          0        
            VPN CTCP upd    0          0          0          0        
            VPN SDI upd     0          0          0          0        
            VPN DHCP upd    0          0          0          0        
            SIP Session     0          0          0          0        
            Route Session   0          0          0          0        
            User-Identity   0          0          0          0        
            Logical Update Queue Information
                            Cur     Max     Total
            Recv Q:         0       0       0
            Xmit Q:         0       0       0
    hfn-asa5520-01(config)# sh route
    Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
           D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
           N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
           E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
           i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
           * - candidate default, U - per-user static route, o - ODR
           P - periodic downloaded static route
    Gateway of last resort is not set
    C    10.255.255.0 255.255.255.252 is directly connected, Failover
    hfn-asa5520-01(config)# no failover

  • Environment variables for use with EEM routing trigger?

    I've only recently started looking into EEM, and was hoping a guru here could clear something up for me:
    The docs do not show there to be any environment variables that can be used with EEM's "routing" trigger, to determine which route was added, changed, or modified.
    It seems odd that the trigger would allow you to fire specifically on adds or removes, but then give you no indication of the specific route that was added or removed. Is this info in some non-obvious generic variable?
    Or, is the only available approach to cache the route table, and then parse the whole table when the event fires? I haven't seen any examples that use this trigger; maybe because of this lack of any documented routing-specific variables?
    Thanks in advance!

    Every event detector has its own set of internal variables. These are different than environment variables. Environment variables are those you can modify in the config with "event manager environment". If you have a device which supports the routing event detector, you can run the command, "show event manager detector routing detailed" and that will show you all of the available internal variables.
    I actually did a programmatic applet example using the oruting ED for my Networkers session this past year. This example doesn't use any of the internal variables, but it will give you an idea of how this ED works:
    event manager applet route-watch
    event routing network 10.1.1.0/24 type add protocol ospf
    action 001 cli command "enable"
    action 002 set done 0
    action 003 while $done eq 0
    action 004 wait 5
    action 005 cli command "ping ip 10.1.1.1"
    action 005 regexp "!!!!!" "$_cli_result"
    action 006 if $_regexp_result eq 1
    action 007 cli command "config t"
    action 008 cli command "int Tunnel0"
    action 009 cli command "shut"
    action 010 cli command "end"
    action 011 set done 1
    action 012 end
    action 013 end
    This applet will be triggered when the route 10.1.1.0/24 is learned via OSPF. The applet will then try and ping 10.1.1.1, and when it is 100% successful, it will take down the backup tunnel interface. Because it may take a little while before the ping is 100% successful, the applet will loop until it gets a 100% success (or until the 20 second maxrun timer expires).

  • The growth of the internet routing table + LISP

    I have been challenged with the task of putting together a 15-20 minute presentation of how I might go about solving the problem of the growth of the internet routing table.
    If I am understanding the question correctly - as the internet grows so will the number of IPv4 and (moreso) IPv6 prefixes that appear in the global internet routing table. This will mean that the PE and P routers in a Service Provider network will find themselves having to deal with more prefixes that will in turn increase the possibility of bogons interferring with proper routing and increase the load on the routers themselves.
    Besides being a very open ended question, I am trying to look at it from the perspective of a Service Provider (whom I work for) and have come up with the following options (admittedly this is only after a quick google on the topic):
    > Improvise in the short term by adjusting CAM table allocation
    > Use selective hearing by filtering prefixes that are not important
    > Use external assistance like LISP and DNS
    > Spend Money and upgrading existing routers to handle the load
    Obviously with only a 20 minute window I cannot talk about much and I would like the options to be innnovative and interesting. LISP seems like an interesting option and I would like to learn about it - however I am having trouble tracking down resources that give a basic introduction to exactly what and how LISP works (every time I try and search for it a get pushed to sites talking about the programming language ).
    So this leads me to two questions:
    1. Is there anything important, vital or interesting that I have not included in my quickly put together list above.
    2. Is anyone aware for a good site/resource that explains LISP from a beginners/tutorial-type perspective.

    I have been challenged with the task of putting together a 15-20 minute presentation of how I might go about solving the problem of the growth of the internet routing table.
    If I am understanding the question correctly - as the internet grows so will the number of IPv4 and (moreso) IPv6 prefixes that appear in the global internet routing table. This will mean that the PE and P routers in a Service Provider network will find themselves having to deal with more prefixes that will in turn increase the possibility of bogons interferring with proper routing and increase the load on the routers themselves.
    Besides being a very open ended question, I am trying to look at it from the perspective of a Service Provider (whom I work for) and have come up with the following options (admittedly this is only after a quick google on the topic):
    > Improvise in the short term by adjusting CAM table allocation
    > Use selective hearing by filtering prefixes that are not important
    > Use external assistance like LISP and DNS
    > Spend Money and upgrading existing routers to handle the load
    Obviously with only a 20 minute window I cannot talk about much and I would like the options to be innnovative and interesting. LISP seems like an interesting option and I would like to learn about it - however I am having trouble tracking down resources that give a basic introduction to exactly what and how LISP works (every time I try and search for it a get pushed to sites talking about the programming language ).
    So this leads me to two questions:
    1. Is there anything important, vital or interesting that I have not included in my quickly put together list above.
    2. Is anyone aware for a good site/resource that explains LISP from a beginners/tutorial-type perspective.

  • Why Do I have A Volume Named  Network On My Desktop  --  What Did I Do

    I noticed yesterday that I have a volume on my Desktop named "Network". here was also an icon called Server", but that disappeared after I restarted. "Network" may have been there 2- 3 days ago, but I'm sure it wasn't there before 3 days ago. No other users on the machine have it. I can't unmount it. Where did it come from?
    I am running OS 10.4.10 on an iMac G3. I normally connect to the internet via ethernet. I have a cable modem and the line from the modem goes to a wireless router. My computer is connected via ethernet from the router to my Mac.
    The other day I disconnected my ethernet and tried to connect wireless. It seems to accept the password, but I could not connect. I never had a problem before.
    Other details:
    I have tried restarts and complete shut down with no affect.
    I start-up from an external firewire hard drive. When I start up using the internal "iMac 40G" drive, the Network volume does not appear.
    I haven't added or deleted any items from my account's list of Login items.
    Internet Sharing is Off; Firewall is On with Network Time the only checked item (which it has been for years); Personal Fire Sharing is off with no items checked.
    I'm don't have a lot of networking knowledge, although I do understand some terminology.
    Any assistance will be appreciated.

    Thanks, but still is not resolved. My Finder prefs didn't have show the Network Icon in the sidebar. I tried toggling it on and off anyway.
    I logged in as root user. The Network icon is on the root desktop. but it is an alias. The original is Home. I could trash the folder Library which is shown when I open Network; it also was an alias. But when I tried to trash the alias "Network", it wouldn't let me because I "don't have sufficient privileges".
    When I login with my normal ID, the icon is not an alias -- it is a volume. I can't trash any part of it. Get Info shows server address as nfs://automount%29-nsf%20%5B143]. My permissions are I can read only; owner is system with read and write access; group is wheel with read only access; others can read only.

  • VPN connection created with CMAK fails to update routing table on Windows 8.1 with error 8000ffff

    When my clients connect their CMAK-created VPN, it fails to run the script to set their routing table with the following error:
    Custom script (to update your routing table) failed (8000ffff)
    My objective is to create a VPN connection with split tunneling - does not use the VPN connection as the client's default gateway.
    All my clients are on Windows 8.1 64-bit, and are logged in with Administrative privileges
    My VPN Clients are on 10.242.2.0/24, my internal network is on 10.172.16.0/24
    I want only traffic for 10.172.16.0 to go via the VPN. Everything else should go via the client's internet connection
    My Connection Manager Administration Kit profile, was created on Windows 2012 R2 CMAK with the following settings:
    "Make this connection the client's default gateway" is UNticked on the IPv4 tab.
    Define a routing table update is specified with a text file containing:
    +++ Start of txt file +++
    REMOVE_GATEWAY
    add 10.172.16.0 mask 255.255.255.0 default metric default if default
    +++ End of txt file +++
    The txt file is saved in DOS/Windows format (not Unicode or UTF-8 which I've read causes problems)
    I've tried everything in lower and upper case in the txt file after reading that the file might be case sensitive
    The following appears on the client with logging enabled:
    [cmdial32] 10:42:34
    03 Pre-Init Event       CallingProcess = C:\WINDOWS\system32\rasautou.exe
    [cmdial32] 10:42:40
    04 Pre-Connect Event    ConnectionType = 1
    [cmdial32] 10:42:40
    06 Pre-Tunnel Event     UserName = UserName Domain =  DUNSetting = VPN (L2TP x64 NoGW) Tunnel DeviceName =  TunnelAddress = vpn.mydomain.tld
    [cmdial32] 10:42:43
    07 Connect Event
    [cmdial32] 10:42:43
    09 Custom Action Exe    ActionType = Connect Actions Description = (none) ActionPath = CMDL32.EXE. The program was launched successfully.
    [cmdial32] 10:42:43
    08 Custom Action Dll    ActionType = Connect Actions Description = to update your routing table ActionPath = C:\Users\UserName\AppData\Roaming\Microsoft\Network\Connections\Cm\VPN64\CMROUTE.DLL ReturnValue
    = 0x8000ffff
    [cmdial32] 10:42:43
    21 On-Error Event       ErrorCode = -2147418113 ErrorSource = to update your routing table
    [cmdial32] 10:42:43
    13 Disconnect Event     CallingProcess = C:\WINDOWS\system32\cmdial32.dll
    Where can I find out what error codes 8000ffff or -2147418113 mean?

    That was it. Thanks, Steven
    "By default, the dial-up entry and the VPN entry have Make this connection the default gateway selected.
    Leave this default in place, and remove any gateways by using the REMOVE_GATEWAY command in the routing table update file itself."
    It seems counter-intuitive to leave
    Make this connection the default gateway selected, when I specifically don't want that behaviour, but leaving it selected and using REMOVE_GATEWAY works for me.

  • Help required network configuration - Gateway route settings get erased on reboot.

    Oracle Linux 7
    Linux myhostname 3.8.13-35.3.1.el7uek.x86_64 #2 SMP Wed Jun 25 15:27:43 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux
    #cat /etc/sysconfig/network-scripts/ifcfg-eno16780032
    TYPE="Ethernet"
    BOOTPROTO="none"
    DEFROUTE="yes"
    IPV4_FAILURE_FATAL="no"
    IPV6INIT="yes"
    IPV6_AUTOCONF="yes"
    IPV6_DEFROUTE="yes"
    IPV6_FAILURE_FATAL="no"
    NAME="eno16780032"
    UUID="2d1107e3-8bd9-49b1-b726-701c56dc368b"
    ONBOOT="yes"
    IPADDR0="34.36.140.86"
    PREFIX0="22"
    GATEWAY0="34.36.143.254"
    DNS1="34.36.132.1"
    DNS2="34.34.132.1"
    DOMAIN="corp.halliburton.com"
    HWADDR="00:50:56:AC:3F:F9"
    IPV6_PEERDNS="yes"
    IPV6_PEERROUTES="yes"
    NM_CONTROLLED="no"
    #route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         34.36.143.254   0.0.0.0         UG    0      0        0 eno16780032
    34.36.140.0     0.0.0.0         255.255.252.0   U     0      0        0 eno16780032
    169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eno16780032
    When I reboot the machine, the first line in route table gets erased, I then run:
    #route add default gw 34.36.143.254
    After which network works fine.
    Help required. I don't want to use NetworkManager.

    The following might be useful:
    https://access.redhat.com/solutions/783533
    "When transitioning from NetworkManager to using the network initscript, the default gateway parameter in the interface's ifcfg file will be depicted as 'GATEWAY0'. In order for the ifcfg file to be compatible with the network initscript, this parameter must be renamed to 'GATEWAY'. This limitation will be addressed in an upcoming release of RHEL7."
    NetworkManager is now the default mechanism for RHEL 7. Personally I don't quite understand this, because as far as I can gather it is a program for systems to automatically detect and connect to known networks. I think such functionality can be useful when switching between wireless and wired networks, but for a server platform, I wonder.

  • Difference between sh ip bgp & sh ip route? BGP tables and main routing table.

    Difference between sh ip bgp & sh ip route?
    sh ip bgp :::: loc-rib ?
    sh ip bgp nei x.x.x.x advertised-routes : adj-rib-in.
    sh ip bgp nei x.x.x.x recieved-routes : adj-rib-out.
    sh ip bgp nei x.x.x.x routes : loc-rib ?
    sh ip route = rib ? if yes does it mean its loc-rib ?
    so in a given router with bgp running, will there be 5 tables (sh ip bgp; adj-rib-in; loc-rib;adj-rib-out; sh ip route) ? if yes where are they saved ?

    sh ip bgp
    shows the BGP table (where are stored info coming from BGP update) 
    sh ip bgp nei x.x.x.x advertised-routes 
    shows networks that your router will advertise to a specific neighbor
    sh ip bgp nei x.x.x.x recieved-routes 
    shows advertisement received from a specific neighbor;  networks (NLRI) filtered with route-map distribute-list,... are included  (Inbound soft reconfiguration must be enabled)
    sh ip bgp nei x.x.x.x routes 
    shows only routes sent by a specific neighbor and not filtered or discarded (i.s accepted)
    sh ip route 
    show routing table; it contains the best route for each network (best is first of all the lowest administrative distance, then the lowest metric)
    Bye,
    enrico.
    PS please rate if useful

  • Database tool for routing table history changes

    Dear Community, I'm looking for a freeware tool to hold history changes in routing tables for small to medium network running BGP, OSPF and MPLS VPN routing tables via VRFs. This tool need a way to compare the database in order to know if these are the same during the time.
    Is there a way to do this in Cisco Works?
    Thanks in advances for your recommendations.

    Julius,
    There are no industry recommended open source DB tools.
    Normally it depends upon the developer preferences that how he/she wants to see the tool usability.
    I can suggest you to go through the below link:
    http://sourceforge.net/search/?type_of_search=soft&words=SQL+Tools
    You can find many open source SQL tools, which you have to test and select one among them.
    I can suggest you to use:
    1) TOra
    2) Easy SQL
    3) SQuirrel
    "Choose a Tool which is easy to use and efficient, Dont worry about Look n Feel"
    Best of Luck

  • Route not showing up in routing table.

    I have my core switch connecting to my router which connects to our MPLS provider. My router has a BGP default route going to the MPLS provider edge router B*   0.0.0.0/0 [20/0] via 172.30.252.78, 1w4d .... This route is not showing up in my core switch. Shouldnt it show up as an eigrp ex default route? Can anyone assist me? my routing table for each device is below. Thank you!
    Router
    USJONELAWTN01R#sho ip route
    Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
           D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
           N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
           E1 - OSPF external type 1, E2 - OSPF external type 2
           i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
           ia - IS-IS inter area, * - candidate default, U - per-user static route
           o - ODR, P - periodic downloaded static route
    Gateway of last resort is 172.30.252.78 to network 0.0.0.0
         68.0.0.0/32 is subnetted, 1 subnets
    S       68.142.83.236 is directly connected, Null0
         198.63.196.0/32 is subnetted, 1 subnets
    S       198.63.196.103 is directly connected, Null0
         64.0.0.0/32 is subnetted, 1 subnets
    S       64.234.192.40 is directly connected, Null0
         172.26.0.0/16 is variably subnetted, 3 subnets, 2 masks
    D       172.26.82.0/24 [90/28416] via 172.28.82.10, 1w5d, GigabitEthernet0/1
                           [90/28416] via 172.28.80.10, 1w5d, GigabitEthernet0/0.1
                           [90/28416] via 172.28.80.9, 1w5d, GigabitEthernet0/0.1
    D       172.26.83.0/24 [90/28416] via 172.28.82.10, 1w5d, GigabitEthernet0/1
                           [90/28416] via 172.28.80.10, 1w5d, GigabitEthernet0/0.1
                           [90/28416] via 172.28.80.9, 1w5d, GigabitEthernet0/0.1
    D       172.26.80.0/23 [90/28416] via 172.28.82.10, 1w5d, GigabitEthernet0/1
                           [90/28416] via 172.28.80.10, 1w5d, GigabitEthernet0/0.1
                           [90/28416] via 172.28.80.9, 1w5d, GigabitEthernet0/0.1
         172.28.0.0/16 is variably subnetted, 4 subnets, 2 masks
    C       172.28.176.0/23 is directly connected, GigabitEthernet0/0.6
    C       172.28.80.0/23 is directly connected, GigabitEthernet0/0.1
    C       172.28.82.0/23 is directly connected, GigabitEthernet0/1
    D       172.28.80.20/32
               [90/30720] via 172.28.176.3, 1w5d, GigabitEthernet0/0.6
               [90/30720] via 172.28.82.3, 1w5d, GigabitEthernet0/1
               [90/30720] via 172.28.80.3, 1w5d, GigabitEthernet0/0.1
         172.30.0.0/16 is variably subnetted, 6 subnets, 2 masks
    C       172.30.252.78/32 is directly connected, Multilink1
    C       172.30.252.76/30 is directly connected, Multilink1
    D       172.30.252.114/32
               [90/3415808] via 172.28.176.3, 4d00h, GigabitEthernet0/0.6
               [90/3415808] via 172.28.82.3, 4d00h, GigabitEthernet0/1
               [90/3415808] via 172.28.80.3, 4d00h, GigabitEthernet0/0.1
    D       172.30.252.112/30
               [90/3415808] via 172.28.176.3, 4d00h, GigabitEthernet0/0.6
               [90/3415808] via 172.28.82.3, 4d00h, GigabitEthernet0/1
               [90/3415808] via 172.28.80.3, 4d00h, GigabitEthernet0/0.1
    D       172.30.254.24/32
               [90/156160] via 172.28.176.3, 1w5d, GigabitEthernet0/0.6
               [90/156160] via 172.28.82.3, 1w5d, GigabitEthernet0/1
               [90/156160] via 172.28.80.3, 1w5d, GigabitEthernet0/0.1
    C       172.30.254.25/32 is directly connected, Loopback10
    C    192.168.202.0/24 is directly connected, GigabitEthernet0/0.1
         10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
    S       10.192.254.0/24 [1/0] via 172.28.82.10, GigabitEthernet0/1
    S       10.201.0.0/16 [1/0] via 172.28.82.10, GigabitEthernet0/1
    S       10.200.1.0/24 [1/0] via 172.28.82.10, GigabitEthernet0/1
    C    192.168.203.0/24 is directly connected, GigabitEthernet0/0.1
    C    192.168.51.0/24 is directly connected, GigabitEthernet0/0.1
    B*   0.0.0.0/0 [20/0] via 172.30.252.78, 1w4d
    B    200.200.0.0/16 [20/0] via 172.30.252.78, 1w4d
    B    201.1.0.0/16 [20/0] via 172.30.252.78, 1w4d
    B    172.16.0.0/12 [20/0] via 172.30.252.78, 1w4d
    B    198.30.0.0/16 [20/0] via 172.30.252.78, 1w4d
    B    192.168.0.0/16 [20/0] via 172.30.252.78, 1w4d
    Core Switch
    TNLAW-TN1COREA# sho ip route
    Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
           D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
           N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
           E1 - OSPF external type 1, E2 - OSPF external type 2
           i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
           ia - IS-IS inter area, * - candidate default, U - per-user static route
           o - ODR, P - periodic downloaded static route
    Gateway of last resort is 10.192.61.1 to network 0.0.0.0
         172.26.0.0/16 is variably subnetted, 3 subnets, 2 masks
    C       172.26.82.0/24 is directly connected, Vlan601
    C       172.26.83.0/24 is directly connected, Vlan603
    C       172.26.80.0/23 is directly connected, Vlan602
         172.28.0.0/16 is variably subnetted, 4 subnets, 2 masks
    D       172.28.176.0/23 [90/28416] via 172.28.82.3, 7w0d, Vlan2
                            [90/28416] via 172.28.82.2, 7w0d, Vlan2
                            [90/28416] via 172.28.80.3, 7w0d, Vlan1
                            [90/28416] via 172.28.80.2, 7w0d, Vlan1
    C       172.28.80.0/23 is directly connected, Vlan1
    C       172.28.82.0/23 is directly connected, Vlan2
    D       172.28.80.20/32 [90/28416] via 172.28.82.3, 7w0d, Vlan2
                            [90/28416] via 172.28.80.3, 7w0d, Vlan1
         172.30.0.0/16 is variably subnetted, 6 subnets, 2 masks
    D       172.30.252.78/32 [90/3413504] via 172.28.82.2, 1w4d, Vlan2
                             [90/3413504] via 172.28.80.2, 1w4d, Vlan1
    D       172.30.252.76/30 [90/3413504] via 172.28.82.2, 1w4d, Vlan2
                             [90/3413504] via 172.28.80.2, 1w4d, Vlan1
    D       172.30.252.114/32 [90/3413504] via 172.28.82.3, 4d00h, Vlan2
                              [90/3413504] via 172.28.80.3, 4d00h, Vlan1
    D       172.30.252.112/30 [90/3413504] via 172.28.82.3, 4d00h, Vlan2
                              [90/3413504] via 172.28.80.3, 4d00h, Vlan1
    D       172.30.254.24/32 [90/130816] via 172.28.82.3, 7w0d, Vlan2
                             [90/130816] via 172.28.80.3, 7w0d, Vlan1
    D       172.30.254.25/32 [90/130816] via 172.28.82.2, 7w0d, Vlan2
                             [90/130816] via 172.28.80.2, 7w0d, Vlan1
    D    192.168.202.0/24 [90/28416] via 172.28.82.3, 7w0d, Vlan2
                          [90/28416] via 172.28.82.2, 7w0d, Vlan2
         10.0.0.0/8 is variably subnetted, 4 subnets, 3 masks
    S       10.192.254.0/24 [1/0] via 10.192.61.1, GigabitEthernet3/47
    S       10.201.0.0/16 [1/0] via 10.192.61.1, GigabitEthernet3/47
    S       10.200.1.0/24 [1/0] via 10.192.61.1, GigabitEthernet3/47
    C       10.192.61.0/28 is directly connected, GigabitEthernet3/47
    D    192.168.203.0/24 [90/28416] via 172.28.82.3, 7w0d, Vlan2
                          [90/28416] via 172.28.82.2, 7w0d, Vlan2
    D    192.168.51.0/24 [90/28416] via 172.28.82.3, 7w0d, Vlan2
                         [90/28416] via 172.28.82.2, 7w0d, Vlan2
    S*   0.0.0.0/0 [250/0] via 10.192.61.1, GigabitEthernet3/47

    Hello,
    The core switch has got a static default route pointing to 10.192.61.1. It has got a better AD value than the EIGRP routes.
    Even if you are redistributing the BGP routes into EIGRP, EIGRP default route will not make it to the routing table because of the higher AD value than the static route.
    However, you can view that it the EIGRP topology table. Check 'Sh ip ei topo'.
    Krishna

  • Interface Vlan is not installed in routing table

    Dear All, 
    Today I faced a strange problem and I want to share it with you to find what is the problem ? 
    we have a VRF for one customer and we use interface vlan to define customer's branch.
    The customer interface is  VLAN 422 and it is defined under customer VRF probably . 
    PE#sh running-config vrf  V3056:RIYADHBANK
    Building configuration...
    Current configuration : 1321 bytes
    ip vrf V3056:RIYADHBANK
     rd 65000:3887
     maximum routes 1400 80
     route-target export 65000:5405
     route-target import 65000:5405
     route-target import 65000:5406
    interface Vlan422
     description By *****
     ip vrf forwarding V3056:RIYADHBANK
     ip address 172.29.12.97 255.255.255.252
     service-policy input 2M_IN
    PE#sh vlan id 422
    VLAN Name                             Status    Ports
    422   422                                 active    Gi3/0/11 efp_id 422
    VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
    422  enet  100422     1500  -      -      -        -    -        0      0   
    Remote SPAN VLAN
    Disabled
    Primary Secondary Type              Ports
    PE#
    we can see the interface vlan is up 
    PE-L3Agg-Khu-107-2#sh int vlan 422 description 
    Interface                      Status         Protocol Description
    Vl422                          up             up       ****
    PE#
    and we can see the vlan 422 belongs to the correct VRF
    PE#sh vrf V3056:RIYADHBANK
      Name                             Default RD          Protocols   Interfaces
      V3056:RIYADHBANK                 65000:3887          ipv4        Vl627
                                                                       Vl775
                                                                       Vl422
    PE#
    when we tried to troubleshoot the customer routing we found :
    PE-L3Agg-Khu-107-2#ping vrf V3056:RIYADHBANK 172.29.12.97
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 172.29.12.97, timeout is 2 seconds:
    Success rate is 0 percent (0/5)
    PE-#
    we could not ping the ip address of interface vlan 422.
    PE#sh ip route vrf V3056:RIYADHBANK 172.29.12.97
    Routing Table: V3056:RIYADHBANK
    % Subnet not in table
    PE#
    PE#show ip route vrf V3056:RIYADHBANK connected 
    Routing Table: V3056:RIYADHBANK
    Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
           D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 
           N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
           E1 - OSPF external type 1, E2 - OSPF external type 2
           i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
           ia - IS-IS inter area, * - candidate default, U - per-user static route
           o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
           + - replicated route, % - next hop override
    Gateway of last resort is 192.168.111.16 to network 0.0.0.0
          172.29.0.0/16 is variably subnetted, 338 subnets, 2 masks
    C        172.29.12.44/30 is directly connected, Vlan627
    L        172.29.12.45/32 is directly connected, Vlan627
    PE-L3Agg-Khu-107-2#
    PE-L3Agg-Khu-107-2#
    My question is: Why the interface vlan 422 is not installed in VRF Table as it is UP ?? 
    thanks in advance!
    Rashed Wardi.

    what platform is this? can you please paste the output of show version  and show run?
    Also when you tested this was int Gi3/0/11  up/up?
    Best Regards,
    Bheem

Maybe you are looking for