
Above is the topology, in which we have:
- 2 PE + 4 P routers, all full mesh connections (we will leverage this setup for later configurations)
- IGP: OSPF process 71
- iBGP: AS 65001, peering with loopback 71 (71.#.#.#/32, # is the router-id)
- MPLS LDP is enabled on all interfaces
mpls ip
!
mpls ldp
router-id 88.255.1.1
transport-address interface Loopback88
fec filter prefix-list fec-pfx-list
no shutdown
!
router bgp 65001
router-id 88.255.1.1
maximum-paths 4 ecmp 4
neighbor pe peer-group
neighbor pe remote-as 65001
neighbor pe update-source Loopback88
neighbor pe route-reflector-client
neighbor pe send-community standard extended
neighbor pe maximum-routes 12000
!
! RR configuration, peering to PE1/PE2
!
neighbor 88.255.11.11 peer-group pe
neighbor 88.255.22.22 peer-group pe
!
address-family vpn-ipv4
! active vpn-ipv4 AF
neighbor pe activate
!
router ospf 88
router-id 88.255.1.1
passive-interface Loopback88
network 88.0.0.0/8 area 0.0.0.0
max-lsa 12000
PE router configuration:
mpls ip
!
mpls ldp
router bgp 65001
router-id 88.255.11.11
neighbor vpnv4-rr peer-group
neighbor vpnv4-rr remote-as 65001
neighbor vpnv4-rr update-source Loopback88
neighbor vpnv4-rr send-community standard extended
neighbor vpnv4-rr maximum-routes 12000
neighbor 88.255.1.1 peer-group vpnv4-rr
neighbor 88.255.2.2 peer-group vpnv4-rr
!
address-family vpn-ipv4
neighbor vpnv4-rr activate
neighbor default encapsulation mpls next-hop-self source-interface Loopback88
For the full router configuration, please go to the directory.
mpls ip
!
mpls ldp
router bgp 65001
router-id 88.255.11.11
neighbor vpnv4-rr peer-group
neighbor vpnv4-rr remote-as 65001
neighbor vpnv4-rr update-source Loopback88
neighbor vpnv4-rr send-community standard extended
neighbor vpnv4-rr maximum-routes 12000
neighbor 88.255.1.1 peer-group vpnv4-rr
neighbor 88.255.2.2 peer-group vpnv4-rr
!
address-family vpn-ipv4
neighbor vpnv4-rr activate
neighbor default encapsulation mpls next-hop-self source-interface Loopback88
For the full router configuration, please go to the directory.
hey great post! Do you have any plan to do SR configuration?
ReplyDelete