EIGRP STUB
First a heads up - it's a bit complicated because there are just too many details... Subjective impression!
The command is rather straight forward:
Cisqueros_1(config-router)#eigrp stub connected [connected | summary | static | receive-only | redistributed]
When the EIGRP process is configured as STUB on a router using the "stub connected" command:
Cisqueros_1(config-router)#eigrp stub connected
There are a few things that we need to remember:
- That router will no longer see Connected routes, ONLY the Summary (if configured), and also Static and Redistributed routes (because the STUB doesn't affect the Router where it's configured)
- The EIGRP Neighbor(s) will NOT see the Summary, Static or Redistributed Routes, ONLY the specific routes BECAUSE ONLY Connected Routes are advertised
If however we use the "stub summary" command to configure the STUB:
Cisqueros_1(config-router)#eigrp stub stub summary
- The router will keep the same EIGRP routes in the routing table
- The EIGRP Neighbor(s) will ONLY see the Summary
Now with the "stub static" or "stub redistributed":
Cisqueros_1(config-router)#eigrp stub stub [static | redistributed]
This router keeps behaving exactly the same, while the EIGRP Neigbors ONLY receive the Static OR Redistributed routes
With the "stub receive-only":
Cisqueros_1(config-router)#eigrp stub receive-only
This router keeps behaving exactly the same, while the EIGRP Neigbors stop receiving ANY routes from the Router
And finally the "eigrp stub" command can be configured without any attributes, so just:
Cisqueros_1(config-router)#eigrp stub
in which case the EIGRP neighbors ONLY receive the Summary Route
EIGRP Authentication and some EIGRP "tuning" options
EIGRP Authentication
Like in OSPF - the configuration is done in the Interface Configuration mode. Unlike OSPF - EIGRP supports only MD5 authentication. Set the mode to MD5, even though it's the default mode on most devices.
This is an example of Frame relay P2P Interface and EIGRP authentication
interface Serial4/1.25 point-to-point
ip address 134.12.122.2 255.255.255.0
ip authentication mode eigrp 100 md5
ip authentication key-chain eigrp 100 EIGRP_CHAIN
frame-relay interface-dlci 201
end
EIGRP: Maximum Hops
Another attribut that can be useful for controlling the routes is the "maximum-hops". To see each routes hop count:
#show ip route 172.28.185.0
Known via "eigrp 100", distance 90, metric 2297856, type internal
Redistributing via eigrp 100
Last update from 131.1.12.2 on Serial1/0.12, 00:13:47 ago
Routing Descriptor Blocks:
* 131.1.12.2, from 131.1.12.2, 00:13:47 ago, via Serial1/0.12
Route metric is 2297856, traffic share count is 1
Total delay is 25000 microseconds, minimum bandwidth is 1544 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 12 <-- 12 HOPS TO THIS ROUTE!!!
To change the Maximum number of Hops to, for example, 10 (Its 100 by Default):
Cisqueros_1(config-router)#metric maximum-hops 10
EIGRP Administrative Distance
By default EIGRP has the following Administrative Distance values:
170 - External EIGRP Routes
90 - Internal EIGRP Routes
5 - EIGRP Summary Routes
You can make EIGRP External routes smaller if you need them to not be less prefered then, for example, OSPF, that has AD 110 for External routes:
Cisqueros_1(config-router)#distance eigrp 90 100
EIGRP Unequal Load Balancing - "variance" command
VARIANCE Command
Variance is a EIGRP feature that enables UNEQUAL load balancing. The only condition that needs to be met is: Paths need to be in the routing table and MEAT THE FEASIBILITY CONDITION!
(Routes ADVERTISED Distance must be lower then the local routes Feasable Distance)
Its configured in the EIGRP configuration mode:
(config-router)#variance 2
This means that it will include the routes with the metric value up to 2 times greater then the Best Route metric.
EIGRP: Route Summarization
The EIGRP route summarization is done exactly the same like RIP summarization, which makes sense because both protocols have the Distance Vector nature. It can also be done on ANY of the routers within the same EIGRP process, unlike the Link State protocols. It's done on the Interface using the command:
R2(config-if)#ip summary-address eigrp 100 3.0.0.0 255.0.0.0
And dont be afraid when you see the following message:
*Apr 27 12:53:32.203: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 10.1.12.1 (Serial1/0) is resync: summary configured
The interface towards Null0 Interface is created automatically. So dont worry, because EIGRP adds this ""discard route" for Loop Avoidance.
Check if "it worked":
R2#show ip route | i summ
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
D 3.0.0.0/8 is a summary, 00:02:52, Null0
EIGRP Leak Maps
If you wish to have greater granular control the solution presented since 12.3(13) is - the LEAK MAP
If the Leak Map is configured, and:
- It references a non-existing Route Map - The summary route is advertised, more specific routes are suppressed
- If the Route Map however exists, and references a non-existing ACCESS LIST - both the summary route and the more specific routes are advertised
- If the Access List also exists - it lets us define the routes that will be advertised IN ADDITION to the Summarized Route!
To configure the Leak Map just attach a route-map to the "eigrp summary" command:
R2(config-if)#ip summary-address eigrp 100 2.2.4.0 255.255.252.0 leak-map ROUTE_MAP
EIGRP Default Gateway
The command we all know from OSPF and BGP "default-information originate [always]" will not work in EIGRP. Instead we need to:
Option 1: Configure the static route and redistribute it into the EIGRP
Option 2: Summarize the routes into a Default Route using the previously described summarization method (leak map is added if we wish to inject another routes besides the default route)
R2(config-if)#ip summary-address eigrp 100 0.0.0.0 0.0.0.0 [leak-map ROUTE_MAP]
EIGRP: Timers, k-values, "neighbor" command
EIGRP Timers
The EIGRP timers are configured (a bit non-intuitive commands from my point of view) on the interface towards the EIGRP neighbor:
Set the Hello timer for the EIGRP 100 process:
(config-if)#ip hello-interval eigrp 100 30
Set the Dead timer for the EIGRP 100 process:
(config-if)#ip hold-time eigrp 100 120
Check the configured Timers using the command:
#show ip eigrp interface static
EIGRP "show neighbors" command
Cisqueros1#show ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(100)
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 10.1.12.2 Se1/0.12 115 00:10:04 26 200 0 32
How to interpret this output:
H - The order in which neighbors were found, starting from 0
Address - Neighbors IP
Interface - from where we see the Neighbor
Holdtime - how long we have left before we declare the neighbor down (if no Hello is received)
Uptime - How long since we first found out about the neighbor
SRTT - Smooth Round Trip Time. time required for EIGRP packet to reach the neighbor and receive the ACK
RTO - Retransmission Timeout - how long before the packet is re-transmitted
Q Count - Number of packets in the EIGRP queue
SeqNum - Sequence Number of the last received EIGRP packet
EIGRP Metric - K Values
5 K-Values are used to calculate the EIGRP Metric. It´s pretty important to know at least which one is which of the K values:
K1 - Bandwidt
K2 - Load
K3 - Delay
K4 - Reliability
K5 - Reliability
Metric = (K1*BW + (K2*BW)/(256-Load) + K3*Delay) * 256
By default K2 = K4 = K5 = 0, so the Metric depends on the Bandwidth and Delay only
If you need the EIGRP Metric to depend on some other values the command is (ToS should be left 0):
(config-router)#metric weight tos k1 k2 k3 k4 k5
¡¡¡BE CAREFULL BECAUSE K VALUES NEED TO MATCH BETWEEN THE EIGRP NEIGHBORS!!!
RIP: Offset Lists and Update Control
RIP offset list - used to INCREASE the Hop Count. To implement:
- define the ACL defining the relevant routes
- set the Hop Count to be increased (by 13 in this case):
(config-router)#offset-list ACCESS_LIST out 13 Fa0/0
!!! Offset Lists work only with RIP and EIGRP
RIP Updates Source Address Control
RIP Validates the source of the Update packets, so they need to be from the same subnet. If they are not, you can force the route updates by turning off the Source IP Validation:
(config-router)#no validate-update-source
*This way the RIP routes will be exchanged, but if the L3 Reachability is not established between the routers - the RIP routes will not be reachable.
If you need to define the exact sources you want to receive the RIP Updates from - use the "gateway" word on a distribute-list:
(config-router)#distribute-list PREFIX_LIST_WITH_UPDATE_PREFIXES gateway PREFIX_LIST_WITH_UPDATE_SOURCES in Fa0/0
If you need to send the Updates only when something changes in the topology (triggered Updates), there is an Interface command "ip rip triggered":
(config-if)#ip rip triggered
RIP Irregularities: Authentication, Updates: Uni-cast vs Multicast vs Broadcast
RIP (IPv4 versions) is a bit obsolete, I know, and very few production environments will use it as a "routing protocol of choice", but it´s also quite simple and there is simply no excuse for a Network Engineer to not know it in smallest details, let´s say - just in case.
If you need details about the protocol itself, look it up on Wikipedia, or even better - the RFCs:
RIPv1
RIPv2
Here I will only talk about the non-standard RIP behaviors.
RIPv2 weird behavior 1: Authentication
RIP Version 2 supports clear text and MD5 Authentication. The key-chain needs to be defined, and applied to the physical interface using the command:
(config-if)#ip rip authentication mode md5
(config-if)#ip rip authentication key-chain CISQUEROS_CHAIN
IMPORTANT!!!
The passwords and the key numbers MUST be the same on all the routers.
In case the key numbers are different:
- Router with the HIGHER key number will receive ALL the routes
- Router with the LOWER key number will IGNORE (reject) the received all routes received from the other router
RIPv2 weird behavior 2: Updates
By default Version 1 uses Broadcast to send it´s updates. Version 2 uses Multicast, with the destination address 224.0.0.9.
There is a way to "force" the routing updates to only one of the neighbours. To achieve this you need to:
- Manualy define the neighbour using the "network" command
- Define the interface towards the defined neighbour as PASSIVE, to prevent the Multicast Updates that are sent by default (If the interface is not defined as passive, both UNICAST and MULTICAST Updates will be sent)
There is also a way to force Broadcast Updates (ip 255.255.255.255 instead of default multicast destination 224.0.0.9) in Version 2 of RIP, and it´s achieved using the Interface Command:
(config-if)#ip rip v2-broadcast
RIPv2 weird behavior 3: Inject a Default Route into RIP
Another RIP-specific feature is injecting the default route using the "ip default-network" command. This is done in the Global Configuration mode:
(config)#ip default-network 4.0.0.0
Dont forget to advertise the network into RIP protocol:
(config-router)#network 4.0.0.0
Subscribe to:
Posts (Atom)
Most Popular Posts
-
Follow @SnarchsCOM First let's establish the difference between the NFV and the VNF: VNF (Virtualized Network Function) refers to ...
-
Before we start, lets once again make sure we fully understand what Bridge Domain is. The bridge domain can be compared to a giant distribut...
-
Before I get into the Python for NX-OS, let me explain a few concepts that I've seen Network Engineers have been struggling with. Dev...
-
The VM-Series firewall for VMware NSX is jointly developed by Palo Alto Networks and VMware. NetX APIs are used to integrate the Palo Alto N...
-
Unified Fabric is a term for all of the equipment that makes LAN and SAN possible. There are two different networks (LAN as Front-end an...
-
Ever since Cisco bought Insieme and created Cisco ACI, and VMware bought Nicira and created NSX, I've been intensively deep-diving and b...
-
Before we get deeper into the ACI (Application Centric Infrastructure) as the Cisco's official SDN solution, we need to clarify a few te...
-
By know you should know the following facts about ACI: Cisco Nexus 9k Switches make the ACI Fabric, which is the Control and the Data pla...
-
Google has made their Cloud Platform (GCP) so that you can host your application any way your business requires. When we talk about the ...
-
First of all, I need to explain why I decided to write such a post. It's quite simple to everyone who ever tried to Deploy/Configure/Und...