BGP/OSPF configuration
For Admin Sites
Using Two (2) routers
1.1.1. BGP Configuration:
Note: Locally, the routers run OSPF and IBGP to each local peer. Remotely the WAN routers run EBGP to
peer RAM, one geographically diverse RAM per router. Where router 1 goes to RAM1, router 2 goes to
RAM2.
When in this mode you will see a prompt “Hostname(config-router)#”
1.2.1.1. Type router bgp 6499x press enter ↵.
X = 8 for RAM02 (MPLS/DMNS) X = 9 for RAM01 (MPLS/TMPE)
you will see the following
Hostname(config-router)#
1.2.1.2. Type no synchronization press enter ↵
1.2.1.3. Type bgp router-id xxx,xxx,xxx,xxx press enter ↵
X = Loopback0 interface IP address
1.2.1.4. Type bgp log-neighbor-changes press enter ↵
1.2.1.5. Type network xxx.xxx.xxx.xxx mask 255.255.255.255 press enter ↵
X = Loopback0 interface network address
1.2.1.6. Type network xxx.xxx.xxx.xxx mask yyy.yyy.yyy.yyy press enter ↵
X = Subnet address Y = Subnet mask. Repeat this command for each local LAN network.
1.2.1.7. Type neighbor RF peer-group press enter ↵
1.2.1.8. Type neighbor RF timers 12 48 press enter ↵
1.2.1.9. Type neighbor RF remote-as 65000 press enter ↵
1.2.1.10. Type neighbor RF version 4 press enter ↵
1.2.1.11. Type neighbor RF route-map Reset_Metric out press enter ↵
1.2.1.12. Type neighbor RF filter-list 1 out press enter ↵
1.2.1.13. Type neighbor RF advertisement-interval 5 press enter ↵
1.2.1.14. Type neighbor RF password xxxxx press enter ↵
1.2.1.15. Type neighbor xxx.xxx.xxx.xxx peer-group RF press enter ↵
(Replace X’s with the IP address of upstream RF router. Use WAN IP address of RF)
1.2.1.16. Type neighbor IBGP peer-group press enter ↵
1.2.1.17. Type neighbor IBGP remote-as 64999 press enter ↵
1.2.1.18. Type neighbor IBGP password xxxxx press enter ↵
1.2.1.19. Type neighbor IBGP update-source Loopback0 press enter ↵
Script Ver.10-12-2005.BP Page 1 Printed: 03/31/06
WELLS FARGO INTERNAL USE ONLY
BGP/OSPF configuration
For Admin Sites
Using Two (2) routers
1.2.1.20. Type neighbor IBGP version 4 press enter ↵
1.2.1.21. Type neighbor IBGP timers 12 48 press enter ↵
1.2.1.22. Type neighbor IBGP next-hop-self press enter ↵
1.2.1.23. Type neighbor xxx.xxx.xxx.xxx peer-group IBGP press enter ↵
X = Loopback IP address of the local site router. Repeat this command for each site router
1.2.1.24. Type Type no auto-summary press enter ↵
1.1.2. Route Map Configuration:
MED is a hint to external neighbors about the preferred path into an autonomous system (AS) that has
multiple entry points. A lower MED value is preferred over a higher value.
1.2.2.1. Type route-map Reset_Metric permit 10 press enter ↵
When in this mode you will see a prompt “Hostname(config-route-map)#”
1.2.2.2. Type set metric 0 press enter ↵
1.1.3. AS Path access list Configuration:
The following access list only permits locally originated BGP routes to be advertised out to other
autonomous systems.
1.2.3.1. Type ip as-path access-list 1 permit ^$ press enter ↵
1.1.4. OSPF Configuration:
Note: Locally, the routers run OSPF and IBGP.
When in this mode you will see a prompt “Router(config-router)#”
1.2.4.1. Type router ospf 99 press enter ↵
you will see the following
Router(config-router)#
1.2.4.2. Type router-id xxx.xxx.xxx.xxx press enter ↵ X= Loopback0 IP Address
1.2.4.3. Type log-adjacency-changes press enter ↵
1.2.4.4. Type network xxx.xxx.xxx.xxx 0.0.0.0 area 0.0.0.99 press enter ↵
X= IP address of each LAN interface. Repeat this command for each local LAN network
1.2.4.5. Type default-information originate metric-type 1 press enter ↵
Script Ver.10-12-2005.BP Page 2 Printed: 03/31/06
WELLS FARGO INTERNAL USE ONLY
BGP/OSPF configuration
For Admin Sites
Using Two (2) routers
2. Appendix A
SCRIPT DATE CHANGES AUTHOR
10-12-05 Initial release Prado
Script revision history
Script Ver.10-12-2005.BP Page 3 Printed: 03/31/06
WELLS FARGO INTERNAL USE ONLY