Showing posts with label EIGRP. Show all posts
Showing posts with label EIGRP. Show all posts

Tuesday, September 18, 2012

Qucik EIGRP troubleshooting

If you can ping your neighbor, this confirms that you don't have duplicate ip addresses. The next step is to check the K values but lets assume everything is left to default. You can then ping 224.0.0.10 which is the multicast address that all EIGRP routers should be listening to. If you don't get a response like i am getting below, then EIGRP is not enabled.

EIGRP ENABLED on the neighboring router:
R1#ping 224.0.0.10

Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 224.0.0.10, timeout is 2 seconds:

Reply to request 0 from 192.168.2.2, 24 ms
Reply to request 0 from 192.168.1.2, 28 ms
R1#

R1#show ip eigrp neighbors
IP-EIGRP neighbors for process 10
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
1   192.168.2.2             Fa0/1             14 00:28:35   41   246  0  28
0   192.168.1.2             Fa0/0             10 00:28:38   48   288  0  29
R1#

EIGRP DISABLED on the neighboring router:

R1#ping 224.0.0.10

Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 224.0.0.10, timeout is 2 seconds:
.
R1#

EIGRP VARIANCE and OFFSET


 R1 Variance Command:

Variance commands allows you to do unequal cost load balancing. Variance 1 is default which means equal cost load balancing. Variance 2 to 128 is unequal cost load balancing. This commands takes the FD from the best eigrp route in the topology table and multiplies this by X. X being the number specified in the variance command.  We are going to take route 4.4.4.0/24 and unequal cost load balance it.

Before: You can see that we have two paths to reach 4.4.4.0/24 but the router is picking the path with the lower FD.

R1#show ip route
Gateway of last resort is not set

     4.0.0.0/24 is subnetted, 1 subnets
D       4.4.4.0 [90/179200] via 192.168.2.2, 00:00:05, FastEthernet0/1
C    192.168.1.0/24 is directly connected, FastEthernet0/0
C    192.168.2.0/24 is directly connected, FastEthernet0/1

R1#show ip eigrp topology all-links
IP-EIGRP Topology Table for AS(10)/ID(192.168.1.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status

P 4.4.4.0/24, 1 successors, FD is 179200, serno 12
        via 192.168.2.2 (179200/128256), FastEthernet0/1
        via 192.168.1.2 (409600/128256), FastEthernet0/0
P 192.168.1.0/24, 1 successors, FD is 281600, serno 1
        via Connected, FastEthernet0/0
        via 192.168.2.2 (307200/281600), FastEthernet0/1
P 192.168.2.0/24, 1 successors, FD is 51200, serno 9
        via Connected, FastEthernet0/1
        via 192.168.1.2 (307200/281600), FastEthernet0/0
R1#

After: You can see the FD is diffrent but when you multiply 179200*3, 4097000 is well within this range.

R1#show ip route
Gateway of last resort is not set

     4.0.0.0/24 is subnetted, 1 subnets
D       4.4.4.0 [90/179200] via 192.168.2.2, 00:12:53, FastEthernet0/1
                      [90/409700] via 192.168.1.2, 00:12:53, FastEthernet0/0
     5.0.0.0/24 is subnetted, 1 subnets
D       5.5.5.0 [90/179200] via 192.168.2.2, 00:11:29, FastEthernet0/1
                [90/409600] via 192.168.1.2, 00:11:29, FastEthernet0/0
C    192.168.1.0/24 is directly connected, FastEthernet0/0
C    192.168.2.0/24 is directly connected, FastEthernet0/1
R1#


Confirming the variance setting before and after the change:

Routing Protocol is "eigrp 10"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Default networks flagged in outgoing updates
  Default networks accepted from incoming updates
  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
  EIGRP maximum hopcount 100
  EIGRP maximum metric variance 1
  Redistributing: eigrp 10
  EIGRP NSF-aware route hold timer is 240s
  Automatic network summarization is not in effect
  Maximum path: 4
  Routing for Networks:
    192.168.1.0
    192.168.2.0
  Routing Information Sources:
    Gateway         Distance      Last Update
    192.168.2.2           90      00:00:37
    192.168.1.2           90      00:00:37
  Distance: internal 90 external 170

router eigrp 10
variance 3
exit
!
R1#show ip protocols
Routing Protocol is "eigrp 10"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Default networks flagged in outgoing updates
  Default networks accepted from incoming updates
  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
  EIGRP maximum hopcount 100
  EIGRP maximum metric variance 3
  Redistributing: eigrp 10
  EIGRP NSF-aware route hold timer is 240s
  Automatic network summarization is not in effect
  Maximum path: 4
  Routing for Networks:
    192.168.1.0
    192.168.2.0
  Routing Information Sources:
    Gateway         Distance      Last Update
    192.168.2.2           90      00:00:03
    192.168.1.2           90      00:00:03
  Distance: internal 90 external 170

R1#

Offset list allows you to inflate the FD of a route. You can apply this inbound or outbound. Depending on your needs.

Offset-list on R2:

ip access-list standard eigrp
 permit 4.4.4.0
!
router eigrp 10
offset-list eigrp out 100

Before:
R1#show ip route
Gateway of last resort is not set

     4.0.0.0/24 is subnetted, 1 subnets
D       4.4.4.0 [90/179200] via 192.168.2.2, 00:00:58, FastEthernet0/1
                [90/409600] via 192.168.1.2, 00:00:58, FastEthernet0/0
C    192.168.1.0/24 is directly connected, FastEthernet0/0
C    192.168.2.0/24 is directly connected, FastEthernet0/1

After:
R1#show ip route
Gateway of last resort is not set

     4.0.0.0/24 is subnetted, 1 subnets
D       4.4.4.0 [90/179300] via 192.168.2.2, 00:00:05, FastEthernet0/1
                [90/409700] via 192.168.1.2, 00:00:05, FastEthernet0/0
C    192.168.1.0/24 is directly connected, FastEthernet0/0
C    192.168.2.0/24 is directly connected, FastEthernet0/1
R1#





Thursday, August 23, 2012

EIGRP Verification Commands

R3#show ip eigrp traffic  - Self explanatory
IP-EIGRP Traffic Statistics for AS 10
  Hellos sent/received: 81/81
  Updates sent/received: 5/5
  Queries sent/received: 1/0
  Replies sent/received: 0/1
  Acks sent/received: 5/3
  SIA-Queries sent/received: 0/0
  SIA-Replies sent/received: 0/0
  Hello Process ID: 208
  PDM Process ID: 138
  IP Socket queue:   0/2000/2/0 (current/max/highest/drops)
  Eigrp input queue: 0/2000/2/0 (current/max/highest/drops)

R3#show ip eigrp topology
- Shows you routes that made it into the topology table.
IP-EIGRP Topology Table for AS(10)/ID(3.3.3.3)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status

P 3.3.3.3/32, 1 successors, FD is 128256
        via Connected, Loopback3
P 4.4.4.4/32, 1 successors, FD is 307200
        via 192.168.2.1 (307200/281600), FastEthernet0/0
P 1.1.1.1/32, 1 successors, FD is 307200
        via 192.168.2.1 (307200/281600), FastEthernet0/0
P 3.0.0.0/8, 1 successors, FD is 128256
        via Summary (128256/0), Null0
P 192.168.1.0/24, 1 successors, FD is 284160
        via 192.168.2.1 (307200/281600), FastEthernet0/0
P 192.168.2.0/24, 1 successors, FD is 281600
        via Connected, FastEthernet0/0
P 192.168.3.0/24, 1 successors, FD is 284160
        via 192.168.2.1 (307200/281600), FastEthernet0/0

R3#show ip eigrp neighborsDisplays the neighbors discovered by EIGRP.
IP-EIGRP neighbors for process 10
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   192.168.2.1             Fa0/0             13 00:03:30  865  5000  0  8

R3#show ip eigrp topology all - You can see the routes that are not feasible successors
IP-EIGRP Topology Table for AS(10)/ID(3.3.3.3)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status

P 3.3.3.3/32, 1 successors, FD is 128256, serno 13
        via Connected, Loopback3
P 4.4.4.4/32, 1 successors, FD is 307200, serno 10
        via 192.168.2.1 (307200/281600), FastEthernet0/0
P 1.1.1.1/32, 1 successors, FD is 307200, serno 9
        via 192.168.2.1 (307200/281600), FastEthernet0/0
P 3.0.0.0/8, 1 successors, FD is 128256, serno 14
        via Summary (128256/0), Null0
P 192.168.1.0/24, 1 successors, FD is 284160, serno 7
        via 192.168.2.1 (307200/281600), FastEthernet0/0
P 192.168.2.0/24, 1 successors, FD is 281600, serno 6
        via Connected, FastEthernet0/0
P 192.168.3.0/24, 1 successors, FD is 284160, serno 8
        via 192.168.2.1 (307200/281600), FastEthernet0/0


R3#show ip eigrp interfaces -Which interfaces are running the EIGRP process
IP-EIGRP interfaces for process 10
                        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
Fa0/0              1        0/0       865       0/2         4260           0

R3#show ip protocols - Shows K Values, AS#, and may great details.
Routing Protocol is "eigrp 10"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Default networks flagged in outgoing updates
  Default networks accepted from incoming updates
  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
  EIGRP maximum hopcount 100
  EIGRP maximum metric variance 1
  Redistributing: eigrp 10
  EIGRP NSF-aware route hold timer is 240
  Automatic network summarization is in effect
  Automatic address summarization:
    192.168.2.0/24 for Loopback3
    3.0.0.0/8 for FastEthernet0/0
      Summarizing with metric 128256
  Maximum path: 4
  Routing for Networks:
    3.3.3.3/32
    192.168.2.0
  Routing Information Sources:
    Gateway         Distance      Last Update
    (this router)         90      00:02:12
    192.168.2.1           90      00:02:41
  Distance: internal 90 external 170

R3#

Saturday, March 3, 2012

Eigrp Part 5: Topology Table & Fail over scenario.

Show ip EIGRP topology = This shows you the current successor and feasible successor routes in the topology table.

Show ip EIGRP topology all-links = This shows you the current successor and feasible successor routes plus any additional routes that can be used to reach specific prefixes (Subnets). 

Examples are below.

 If you look at subnet 172.16.2.0/24, you see a successor and feasible successor in the topology table but there is another path in my network to reach this route but it’s not considered a successor or feasible successor, it won’t show up in the topology table. If you use show ip EIGRP topology all-links you can see the additional route which will be used if the successor and feasible successor were to go down.

R2#show ip EIGRP topology
IP-EIGRP Topology Table for AS(10)/ID(192.168.1.2)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status
P 10.10.10.0/30, 1 successors, FD is 28160
        via Connected, FastEthernet0/1
P 11.11.11.0/24, 2 successors, FD is 30720
        via 10.10.10.1 (30720/28160), FastEthernet0/1
        via 12.12.12.2 (30720/28160), FastEthernet1/0
        via 192.168.1.1 (1737216/28160), FastEthernet0/0
P 12.12.12.0/24, 1 successors, FD is 28160
        via Connected, FastEthernet1/0
P 192.168.1.0/24, 1 successors, FD is 1734656
        via Connected, FastEthernet0/0
        via 12.12.12.2 (337920/335360), FastEthernet1/0, serno 11
        via 10.10.10.1 (335360/332800), FastEthernet0/1
P 172.16.1.0/24, 1 successors, FD is 156160
        via 10.10.10.1 (156160/153600), FastEthernet0/1
        via 192.168.1.1 (1862656/153600), FastEthernet0/0
P 172.16.2.0/24, 1 successors, FD is 156160
        via 10.10.10.1 (156160/128256), FastEthernet0/1
        via 192.168.1.1 (1862666/128266), FastEthernet0/0
R2#

R2#show ip EIGRP topology all-links
IP-EIGRP Topology Table for AS(10)/ID(192.168.1.2)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status
P 10.10.10.0/30, 1 successors, FD is 28160, serno 1
        via Connected, FastEthernet0/1
        via 192.168.1.1 (1734912/256256), FastEthernet0/0, serno 10
P 11.11.11.0/24, 2 successors, FD is 30720, serno 7
        via 10.10.10.1 (30720/28160), FastEthernet0/1
        via 12.12.12.2 (30720/28160), FastEthernet1/0
        via 192.168.1.1 (1737216/28160), FastEthernet0/0
P 12.12.12.0/24, 1 successors, FD is 28160, serno 2
        via Connected, FastEthernet1/0
        via 10.10.10.1 (33280/30720), FastEthernet0/1
        via 192.168.1.1 (1739776/30720), FastEthernet0/0
P 192.168.1.0/24, 1 successors, FD is 1734656, serno 3
        via Connected, FastEthernet0/0
        via 12.12.12.2 (337920/335360), FastEthernet1/0, serno 11
        via 10.10.10.1 (335360/332800), FastEthernet0/1
P 172.16.1.0/24, 1 successors, FD is 156160, serno 8
        via 10.10.10.1 (156160/153600), FastEthernet0/1
        via 12.12.12.2 (158720/156160), FastEthernet1/0
        via 192.168.1.1 (1862656/153600), FastEthernet0/0
P 172.16.2.0/24, 1 successors, FD is 156160, serno 9
        via 10.10.10.1 (156160/128256), FastEthernet0/1
        via 12.12.12.2 (158720/156160), FastEthernet1/0        via 192.168.1.1 (1862666/128266), FastEthernet0/0
R2#

While doing some EIGRP testing, I notice that all your EIGRP neighbors should have the same hold-time and hello interval configured. Imagine this, your successor path has a hello interval of 2 and hold-time of 6, should that path fail your feasible successor path will pickup in 6 seconds, but on your feasible successor path you never changed the default hello (5sec) and hold-time (15sec) interval which is fine for a single failure scenario.
What happens if you have a double failure scenario? You now have to wait 15 seconds for any convergence to happen since you never changed the timer on the feasible successor path. I tested this myself. Best practice is to have a baseline across your network and always test a double failure scenario.

Thursday, February 23, 2012

EIGRP PART3

EIGRP K VALUES/Metrics:

By default EIGRP only uses 

K1= Bandwidth (Default) least bandwidth of all outgoing interfaces on the route to the destination network.
K2= Load

K3= Delay(Default) the sum of the delays configured on the interfaces, on the route to the destination network, in tens of microseconds.
K4= Reliabitly
K5=  MTU

Verify K values in use:

R1#show ip protocols
Routing Protocol is "eigrp 10"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Default networks flagged in outgoing updates
  Default networks accepted from incoming updates
  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
  EIGRP maximum hopcount 100
  EIGRP maximum metric variance 1
  Redistributing: eigrp 10
  EIGRP NSF-aware route hold timer is 240s
  Automatic network summarization is not in effect
  Maximum path: 4
  Routing for Networks:
    192.168.1.1/32
  Passive Interface(s):
    FastEthernet0/1
    VoIP-Null0
  Routing Information Sources:
    Gateway         Distance      Last Update
  Distance: internal 90 external 170

R1#




 EIGRP NEIGHBORSHIP FORMATION:

You can define static neighbor ships or dynamic ones. Under the router eigrp process you will need to define the static neighbor.

router eigrp 10
neighbor 192.168.1.2 fastEthernet 0/0


Verify static neighbor: Note the difference how shows you the static neighbor and the other does not.


R1#show ip eigrp neighbors detail
IP-EIGRP neighbors for process 10
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   192.168.1.2             Fa0/0             14 00:00:10   46   276  0  13
   Static neighbor
   Version 12.4/1.2, Retrans: 0, Retries: 0

R1#show ip eigrp neighbors
IP-EIGRP neighbors for process 10
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   192.168.1.2             Fa0/0             14 00:00:19   46   276  0  13
R1#



The caveat with this is that you can not form dynamic neighborships once you specify a static neighbor via that interface. EIGRP disables all multicast messaging via that interface. You also still need to specify the network command for that specific interface.


 

Monday, February 20, 2012

EIGRP 1 Part 1

EIGRP; Enhance Interior Gateway Protocol is a Cisco Propriety protocol and can only be used between Cisco devices which is a downfall as it is one of the fastest protocols when it comes to convergence due to the way it works. EIGRP has something called successor route and feasible successor route. It pretty much remembers the alternative path in-case the (Primary) success route is removed from the routing table. Even though the (secondary) path by have a worse metric, it still keeps it in the topology table. EIGRP uses well known multicast address 224.0.0.10(IPV4) and ff02::a(IPV6) to communicate with its neighbors. EIGRP only advertises its full routing table when it first establishes a neighborship. The rest of the updates are triggered updates (when a network change occurs)


Router(config)#int f0/0
Router(config-if)#no shut
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config)#router eigrp 10
Router(config)#no auto-summary (disables auto summary for classes addresses)
Router(config-router)#passive-interface default  (Enable passive interface for all interfaces on this device for eigrp process 10)
Router(config-router)#no passive-interface fastEthernet 0/0  (Exclude interface f0/0 from being a passive interface, hellos can be sent now)
Router(config-router)#network 192.168.1.1 0.0.0.0 
Router(config-router)#exit

This is how your verify which interfaces are in passive mode.

Router#show ip protocols
Routing Protocol is "eigrp 10"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Default networks flagged in outgoing updates
  Default networks accepted from incoming updates
  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
  EIGRP maximum hopcount 100
  EIGRP maximum metric variance 1
  Redistributing: eigrp 10
  EIGRP NSF-aware route hold timer is 240s
  Automatic network summarization is in effect
  Maximum path: 4
  Routing for Networks:
    192.168.1.1/32
  Passive Interface(s):
    FastEthernet0/0
    FastEthernet0/1
    VoIP-Null0
  Routing Information Sources:
    Gateway         Distance      Last Update
  Distance: internal 90 external 170

Verify Eigrp hello timer. The default is 5 seconds. 3 to 1 ratio on the hold time.

Router#show ip eigrp interfaces detail fastEthernet 0/0
IP-EIGRP interfaces for process 10
                        Xmit Queue   Mean   Pacing Time   Multicast    Pending
Interface        Peers  Un/Reliable  SRTT   Un/Reliable   Flow Timer   Routes
Fa0/0              1        0/0        45       0/2           50           0
  Hello interval is 5 sec
  Next xmit serial <none>
  Un/reliable mcasts: 0/1  Un/reliable ucasts: 1/3
  Mcast exceptions: 1  CR packets: 1  ACKs suppressed: 0
  Retransmissions sent: 0  Out-of-sequence rcvd: 0
  Authentication mode is not set
  Use multicast
Router#

Verify EIGRP hold time. The default is 15seconds  There is no way if knowing what is configured unless your issue a show run which is not always allowed on the ccnp exams so you need to guesstimate but this should be fairly simple.

Router#show ip eigrp neighbors
IP-EIGRP neighbors for process 10
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   192.168.1.2             Fa0/0             11 00:02:14   45   270  0  3
Router#show ip eigrp neighbors
IP-EIGRP neighbors for process 10
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   192.168.1.2             Fa0/0             13 00:02:18   45   270  0  3
Router#show ip eigrp neighbors
IP-EIGRP neighbors for process 10
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   192.168.1.2             Fa0/0             12 00:02:19   45   270  0  3
Router#show ip eigrp neighbors
IP-EIGRP neighbors for process 10
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   192.168.1.2             Fa0/0             11 00:02:19   45   270  0  3
Router#show ip eigrp neighbors
IP-EIGRP neighbors for process 10
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   192.168.1.2             Fa0/0             10 00:02:20   45   270  0  3
Router#show ip eigrp neighbors
IP-EIGRP neighbors for process 10
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   192.168.1.2             Fa0/0             10 00:02:25   45   270  0  3
Router#show ip eigrp neighbors
IP-EIGRP neighbors for process 10
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   192.168.1.2             Fa0/0             13 00:02:27   45   270  0  3
Router#show ip eigrp neighbors
IP-EIGRP neighbors for process 10
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   192.168.1.2             Fa0/0             12 00:02:28   45   270  0  3
Router#

Updating Hello and Hold Timer. You can not do this on a per neighbor case, all neighbors known through this interface will have to abide by these settings. Think if your using a switch with one core vlan.

3 to 1 ratio recommended. This tells your neighbor device that he needs to send you a hello before 6 seconnds and this also tells your router to send a hello every 2 seconds.

Router(config-if)#ip hello-interval eigrp 10 2
Router(config-if)#ip hold-time eigrp 10 6