cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
313
Views
0
Helpful
3
Replies

Cisco 3845 Router, fail over configuration

sathish.ippani
Level 1
Level 1

Hi Everybody,

Newly joined to this community.

 

I have a cisco 3845 router, two links(one is BGP, other is Eigrp) are terminated on the router.

 

Currently traffic is using BGP link as primary path and eigrp as secondary path.

 

Now we want to make Eigrp as primary and BGP as secondary path.

so we are planning below IPsla and track to configure the same.

 

any suggestions

 

# ip route 0.0.0.0 0.0.0.0 x.x.x.x 15 track 1
# ip sla 1
# icmp-echo x.x.x.x source-ipaddress y.y.y.y
# timeout 10
# frequency 3
# ip sla schedule 1 life forever start-time now
# track 1 ip sla 1 reachability

 

3 Replies 3

sathish.ippani
Level 1
Level 1

Thanks in Advance

 

 


!
router eigrp 65535
 redistribute static
 passive-interface GigabitEthernet0/0
 network 172.25.9.0 0.0.0.3
 distance eigrp 220 220
 no auto-summary
!

router bgp 1
 no synchronization
 bgp log-neighbor-changes
 redistribute connected
 redistribute static
 neighbor 192.168.1.1 remote-as 65000
 neighbor 192.168.1.1 soft-reconfiguration inbound
 distance bgp 20 20 20
 no auto-summary
!

 

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Why are you planning to use IP SLA?

As you have two dynamic routing protocols, it seems you only need to make EIGRP preferred over BGP (AD adjustment?).

sathish.ippani
Level 1
Level 1

Hi, Thanks for quick update.

 

We have dons the same we way, but still some of routes are going via BGP path.

 

DUN30085RTR001#sh 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.23.9.1 to network 0.0.0.0

     199.220.41.0/30 is subnetted, 1 subnets
B       199.220.41.176 [120/0] via 152.181.185.69, 18:05:20
     1.0.0.0/24 is subnetted, 1 subnets
B       1.4.204.0 [120/0] via 152.181.185.69, 18:05:20
     152.177.0.0/30 is subnetted, 1 subnets
B       152.177.74.24 [120/0] via 152.181.185.69, 18:05:20
     152.181.0.0/30 is subnetted, 1 subnets
C       152.181.185.68 is directly connected, GigabitEthernet0/0.2
     206.113.119.0/26 is subnetted, 2 subnets
B       206.113.119.128 [120/0] via 152.181.185.69, 18:05:20
B       206.113.119.0 [120/0] via 152.181.185.69, 18:05:20
     199.220.194.0/30 is subnetted, 1 subnets
B       199.220.194.232 [120/0] via 152.181.185.69, 18:05:20
     172.17.0.0/30 is subnetted, 1 subnets
B       172.17.29.0 [120/0] via 152.181.185.69, 18:05:20
     172.16.0.0/24 is subnetted, 1 subnets
D EX    172.16.1.0 [100/259072] via 172.23.9.1, 18:03:06, Vlan86
     172.18.0.0/30 is subnetted, 2 subnets
D EX    172.18.30.0 [100/30976] via 172.23.9.1, 18:03:06, Vlan86
D EX    172.18.29.0 [100/30976] via 172.23.9.1, 18:03:06, Vlan86
     172.21.0.0/30 is subnetted, 1 subnets
D       172.21.106.120 [100/54016] via 172.23.9.1, 18:03:07, Vlan86
     172.20.0.0/30 is subnetted, 1 subnets
D       172.20.107.228 [100/220928] via 172.23.9.1, 18:03:07, Vlan86
     172.23.0.0/30 is subnetted, 1 subnets
C       172.23.9.0 is directly connected, Vlan86
     172.22.0.0/30 is subnetted, 2 subnets
D       172.22.0.144 [100/28416] via 172.23.9.1, 18:03:07, Vlan86
D       172.22.157.84 [100/54016] via 172.23.9.1, 18:03:07, Vlan86
     172.32.0.0/24 is subnetted, 1 subnets
B       172.32.7.0 [120/0] via 152.181.185.69, 18:05:20
     10.0.0.0/8 is variably subnetted, 21 subnets, 5 masks
B       10.30.0.0/21 [120/0] via 152.181.185.69, 18:05:20
B       10.31.0.0/16 [120/0] via 152.181.185.69, 18:05:20
B       10.30.13.0/24 [120/0] via 152.181.185.69, 18:05:20
B       10.20.0.0/16 [120/0] via 152.181.185.69, 18:05:20
B       10.21.0.0/16 [120/0] via 152.181.185.69, 18:05:20
C       10.40.0.0/16 is directly connected, GigabitEthernet0/1
S       10.41.0.0/16 [1/0] via 10.40.4.5
B       10.63.0.0/16 [120/0] via 152.181.185.69, 18:05:21
D EX    10.61.1.0/24 [100/2560007936] via 172.23.9.1, 18:03:07, Vlan86
D       10.60.0.0/16 [100/221184] via 172.23.9.1, 18:03:07, Vlan86
B       10.100.0.44/30 [120/0] via 152.181.185.69, 18:05:21
D       10.133.201.0/24 [100/28672] via 172.23.9.1, 18:03:07, Vlan86
D EX    10.100.0.32/30 [100/30976] via 172.23.9.1, 18:03:07, Vlan86
B       10.90.0.0/16 [120/0] via 152.181.185.69, 18:05:21
B       10.172.16.0/24 [120/0] via 152.181.185.69, 18:05:21
D EX    10.4.204.0/24 [100/259072] via 172.23.9.1, 18:03:07, Vlan86
D EX    10.4.205.0/24 [100/259072] via 172.23.9.1, 18:03:07, Vlan86
B       10.3.202.0/24 [120/0] via 152.181.185.69, 18:05:21
D EX    10.4.202.0/24 [100/259072] via 172.23.9.1, 18:03:07, Vlan86
D EX    10.4.201.0/24 [100/259072] via 172.23.9.1, 18:03:07, Vlan86
B       10.254.254.240/32 [120/0] via 152.181.185.69, 18:05:21
     147.225.0.0/30 is subnetted, 1 subnets
B       147.225.40.160 [120/0] via 152.181.185.69, 18:05:21
B    206.169.74.0/24 [120/0] via 152.181.185.69, 18:05:21
D EX 192.168.100.0/24 [100/259072] via 172.23.9.1, 18:03:07, Vlan86
D*EX 0.0.0.0/0 [100/259072] via 172.23.9.1, 18:03:07, Vlan86
DUN30085RTR001#

 

 

#sh run | be bgp
router bgp 1
 no synchronization
 bgp log-neighbor-changes
 network 10.40.0.0 mask 255.255.0.0
 network 10.100.0.4 mask 255.255.255.252
 redistribute connected
 redistribute static
 neighbor 147.225.50.189 remote-as 65000
 neighbor 152.181.185.69 remote-as 65000
 neighbor 152.181.185.69 soft-reconfiguration inbound
 distance bgp 120 120 120
 no auto-summary
 

 

1#sh run | be eigrp
router eigrp 65535
 redistribute static
 passive-interface GigabitEthernet0/0
 network 10.40.0.0 0.0.255.255
 network 10.100.0.4 0.0.0.3
 network 10.100.0.8 0.0.0.3
 network 10.100.0.12 0.0.0.3
 network 172.20.175.24 0.0.0.3
 network 172.23.9.0 0.0.0.3
 distance eigrp 100 100
 no auto-summary
 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card