Users Guide

Table Of Contents
!
router bgp 20
network 192.168.100.0
neighbor 10.10.9.2 remote-as 20
address-family ipv4 unicast
Conguration on Core 1
Core 1 has both OSPF and BGP congured. Core 1 has OSPF neighbor adjacency with Core 2 and BGP neighbor adjacency with BR. The
iBGPtoOSPF prex-list is congured and applied to a route-map. The match ip address prefix-list iBGPtoOSPF command
processes the iBGP-learned routes.
ip prefix-list iBGPtoOSPF seq 15 permit 192.168.100.0/24
route-map iBGPtoOSPF permit 20
match ip address prefix-list iBGPtoOSPF
!
interface ethernet1/1/1
no shutdown
no switchport
ip address 10.10.30.2/24
ip router ospf 10 area 0.0.0.0
!
interface ethernet1/1/2
no shutdown
no switchport
ip address 10.10.9.2/24
!
router ospf 10
router-id 2.2.2.2
redistribute bgp 20 route-map iBGPtoOSPF
!
router bgp 20
neighbor 10.10.9.1
remote-as 20
address-family ipv4 unicast
allowas-in 1
Conguration on Core 2
Core 2 has OSPF congured which forms neighbor adjacency with Core 1.
interface ethernet1/1/1
no shutdown
no switchport
ip address 10.10.30.3/24
ip router ospf 10 area 0.0.0.0
no shutdown
!
!
router ospf 10
router-id 3.3.3.3
Sample IPv6 conguration
The following sample topology has two switches, Core 1 and Core 2, that are connected to each other and share routes using OSPF. A
border router BR is connected to Core 1 and shares routes using BGP. Core 1 redistributes the routes that are learned by iBGP to OSPF and
shares to other routers. This network uses IPv6 addressing.
Conguration on BR
BR has BGP congured which forms BGP neighbor adjacency with Core 1.
interface Loopback0
ipv6 address 2020::1/64
!
interface ethernet1/1/1
528
Layer 3