December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want to redistribute routes between an IGP and BGP.
When connecting two or more IGPs using BGP, you sometimes need to configure redistribution between the IGP and BGP on both routers. To make the example more interesting, we will assume that we need to connect an EIGRP network to an OSPF network using a pair of BGP routers.
The first router redistributes routes from BGP into OSPF:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#router ospfRouter1(config-router)#100network172.26.0.0 0.0.255.255areaRouter1(config-router)#0redistribute bgp65500metric500subnetsRouter1(config-router)#exitRouter1(config)#router bgpRouter1(config-router)#65500neighbor192.168.1.5remote-asRouter1(config-router)#65520networkRouter1(config-router)#172.26.0.0exitRouter1(config)#endRouter1#
And this is the configuration for the router that redistributes BGP routes into EIGRP:
Router2#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router2(config)#router eigrpRouter2(config-router)#99networkRouter2(config-router)#172.25.0.0redistribute bgp65520metricRouter2(config-router)#500 10 255 1 1500exitRouter2(config)#router bgpRouter2(config-router)#65520neighbor192.168.1.6remote-asRouter2(config-router)#65500networkRouter2(config-router)#172.25.0.0exitRouter2(config)endRouter2#
Before we say anything about this recipe, we need to stress ...
Read now
Unlock full access