3.7.d Implement, optimize and troubleshoot routing policies

3.7.d [i] Attribute manipulation

questions, comments: arteq_2015@outlook.com


download this…

down arrow smaller


begin with the IGP; verify connectivity.

R1#sh cdp neigh det | i Device|IP
Device ID: R2
IP address:
Device ID: R3
IP address:

configure eigrp 100; include ONLY the directly connected networks, and loopback ZERO’s.

R1(config-router)#do sh ip route eigrp is subnetted, 1 subnets
D [90/156160] via, 00:00:53, FastEthernet0/0 is subnetted, 1 subnets
D [90/156160] via, 00:00:26, FastEthernet1/0

configure BGP for 65001; use the lo0‘s as update sources; ONLY advertise the loopbacks that are NOT lo0.


configure R2 to send a metric of 200 for it’s advertised networks.

configure R3 to send a metric of 300 for it’s advertised networks.

either clear bgp or wait for rapture.


swap the metric values between R2 and R3. note that R1 now prefers the 100 network of R3, and the metric values of the other two networks have also changed.


specify that R2 and R3 send these metrics for the 100 network ONLY.


note the 0 metrics for the 2 and 3 networks.

swap the metrics back so that R2 is again preferred by R1 for the 100 network, but this time use a network statement in BGP; no acl’s allowed.


IBGP will always adhere to the metric set within it’s confines. if a better metric is set by EBGP, it will be ignored, unless… this is the point of always-compare-med…