11-15-2012 10:13 AM - edited 03-07-2019 10:04 AM
Hi all,
On layer 3 device need to confirm if EIGRP is running on router or not and it has nei or not and it is doing routing or not?
sh ip eigrp nei shows
sh ip eigrp nei
EIGRP-IPv4 neighbors for process 500
sh ip route shows only static and connected routes.
Gateway of last resort is 10.x.x to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 10.x.x.x
Device has config
ip default-gateway 192.x.x.x
router eigrp 500
network 10.0.00
network 172.0.0.0
Thanks
mahesh
Solved! Go to Solution.
11-15-2012 10:18 AM
Mahesh,
You should get neighbors back if you have adjacencies. The eigrp process 500 means that you have "router eigrp 500" configured on the device. The static route could override any learned routes from the eigrp process because of the lower AD. The eigrp process is running, but it doesn't seem to have any adjacencies. You'd need to have another router on the other end running the same eigrp process with a common subnet between to form an adjacency.
HTH,
John
11-15-2012 10:47 AM
If you have routing enabled, which you would need to have a true routing table, the device doesn't use the "ip default-gateway" statement. It will use the static route that you have in the routing table to route default traffic.
As far as eigrp, you have no neighbors so you wouldn't have any eigrp routes in the routing table. To see this, do a "show ip route eigrp" and you shouldn't get anything back.
John
11-15-2012 11:53 AM
Mahesh,
Personally, I can't tell you to remove anything since I'm not 100% certain about your environment. What I can tell you is that the "ip default-gateway" command is used when routing is not enabled. Theoretically, you should be able to move this command. As far as eigrp, it's been configured on the device for a reason, so you may want to find out if it's supposed to have an adjacency with other devices before removing it. As far as I can tell, it's not doing anything at the moment. Can you post "show ip route"?
HTH,
John
11-15-2012 11:53 AM
Hi Mahesh,
If in routing table see routes like this it means no EIGRP adjacencies were formed. There several reasons for that, neighbors are not on the same common subnet, EIGRP AS number different or wrong. K values do not match, authentication doesn't match.
Yes, packet forwarding currently based only on static routes.
You can safely remove ip default-gateway. This command for L2 switches. Because they are not aware of routing. So they need to know default-gateway L3 device to properly forward packet.
Hope it will help.
11-15-2012 12:44 PM
Mahesh,
It's safe to say that you don't have any eigrp learned routes. If you truly know that you're not supposed to run eigrp, you can safely remove the eigrp configuration from the router.
HTH,
John
11-15-2012 10:18 AM
Mahesh,
You should get neighbors back if you have adjacencies. The eigrp process 500 means that you have "router eigrp 500" configured on the device. The static route could override any learned routes from the eigrp process because of the lower AD. The eigrp process is running, but it doesn't seem to have any adjacencies. You'd need to have another router on the other end running the same eigrp process with a common subnet between to form an adjacency.
HTH,
John
11-15-2012 10:43 AM
Hi John,
Thanks for reply.
Also device has many ip route statements.
when i do sh ip eigrp int it shows
Xmit Queue Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable SRTT Un/Reliable Flow Timer Routes
Lo3 0 0/0 0 0/1 0 0
Tu3 0 0/0 0 70/70 0 0
Vl530 0 0/0 0 0/1 0 0
so this confirms that EIGRP is running on interfaces but no packets are exchanged right ?
Also when we have configured static routes like
ip route x.x.x.x *******************1
ip route x.x.x.x
ip default-gateway x.x.x.x ********************2
And
sh ip route shows
Gateway of last resort is 10.x.x to network 0.0.0.0 ********************3
S* 0.0.0.0/0 [1/0] via 10.x.x.x
so in this case how which gateway device will choose to route packets to 1 ,2 or 3?
Thanks
Mahesh
11-15-2012 10:47 AM
If you have routing enabled, which you would need to have a true routing table, the device doesn't use the "ip default-gateway" statement. It will use the static route that you have in the routing table to route default traffic.
As far as eigrp, you have no neighbors so you wouldn't have any eigrp routes in the routing table. To see this, do a "show ip route eigrp" and you shouldn't get anything back.
John
11-15-2012 11:19 AM
Hi John,
I did show ip route eigrp and it was blank.
so as per you currently device is forwarding packets based on static route statements only like
ip route x.x.x.x right?
Also it should we safe if i remove commands ip default-gateway and router eigrp from the device?
Thanks
MAhesh
11-15-2012 11:53 AM
Mahesh,
Personally, I can't tell you to remove anything since I'm not 100% certain about your environment. What I can tell you is that the "ip default-gateway" command is used when routing is not enabled. Theoretically, you should be able to move this command. As far as eigrp, it's been configured on the device for a reason, so you may want to find out if it's supposed to have an adjacency with other devices before removing it. As far as I can tell, it's not doing anything at the moment. Can you post "show ip route"?
HTH,
John
11-15-2012 12:40 PM
here is info
Gateway of last resort is 10.x.x.x.x to network 0.0.0.0
10.0.0.0/23 is subnetted, 2 subnets
S 10.0.152.0 [1/0] via 10.0.254.13
S 10.0.122.0 [1/0] via 10.0.254.13
S 10.0.0.0/16 [1/0] via 10.0
10.0.0.0/16 is variably subnetted, 4 subnets, 2 masks
C 10.0.155.0/24 is directly connected, Vlan53
S 10.0.35.0/24 [1/0] via 10.0
S 10.0.27.0/24 [1/0] via 10.0
S 10.0.101.0/28 [1/0] via 10.0
10.0.0.0/16 is variably subnetted, 8 subnets, 2 masks
S 10.0.155.0/24 [1/0] via 10.0
S 10.0.253.0/24 [1/0] via 10.0
S 10.0.27.0/24 [1/0] via 10.0
S 10.0.29.0/24 [1/0] via 10.0
S 10.0.0.0/24 [1/0] via 10.0
C 10.0.101.16/28 is directly connected, Vlan51
S 10.0.101.0/28 [1/0] via 10.0
S 10.0.107.0/24 [1/0] via 10.0
10.0.0.0/16 is variably subnetted, 3 subnets, 2 masks
S 10.0.251.0/24 [1/0] via 10.0
C 10.0.254.0/24 is directly connected, Vlan52
S 10.0.252.0/23 [1/0] via 10.0
10.0.0.0/8 is variably subnetted, 8 subnets, 3 masks
C 10.0.31.4/32 is directly connected, Loopback4
S 10.0.16.4/32 [1/0] via 10.0
S 10.0.31.0/24 [1/0] via 10.0
S 10.16.9.0/24 [1/0] via 10.0
S 10.0.3.0/24 [1/0] via 10.0
S 10.0.33.0/24 [1/0] via 10.0
S 10.0.100.0/24 [1/0] via 10.0
C 10.0.254.12/30 is directly connected, Tunnel3
S* 0.0.0.0/0 [1/0] via 10.x.x.x.x
S 10.0.0.0/12 [1/0] via 10.0
Thanks
MAhesh
11-15-2012 12:44 PM
Mahesh,
It's safe to say that you don't have any eigrp learned routes. If you truly know that you're not supposed to run eigrp, you can safely remove the eigrp configuration from the router.
HTH,
John
11-15-2012 01:32 PM
Many thanks again John.
Regards
MAhesh
11-15-2012 11:53 AM
Hi Mahesh,
If in routing table see routes like this it means no EIGRP adjacencies were formed. There several reasons for that, neighbors are not on the same common subnet, EIGRP AS number different or wrong. K values do not match, authentication doesn't match.
Yes, packet forwarding currently based only on static routes.
You can safely remove ip default-gateway. This command for L2 switches. Because they are not aware of routing. So they need to know default-gateway L3 device to properly forward packet.
Hope it will help.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide