Today I am going to talk about the configuration part of the BGP router id per VRF. In my example we took two different VRFs name NB and ttlbits and defined that VRF configurations.
The IP addresses are used here is for the demo purposes only and has no relevance with any of the enterprise network. These configurations are the demo configurations and will help you out for the configuration on your live network.
Below are the steps to configure the BGP router id per VRF. These steps are
- Defining VRF_ttlbits on the router
- Defining VRF_NB on the router
- Configuring Loopback with the IP address
- Configuring Ethernet interfaces with VRF
- Configuring VPNv4 and IPv4 address family
|
Fig 1.1- Basic Sample MPLS network topology |
Below is the basic configuration of defining the VRF
Defining VRF ttlbits on the router!
ip vrf vrf_ttlbits
rd 45000:1
route-target export 50000:50
route-target import 40000:1
!
Defining VRF NB on the router
!
ip vrf vrf_NB
rd 65500:1
route-target export 65500:1
route-target import 65500:1
!
Configuring Loopback with the IP address
!
interface Loopback0
ip address 10.10.10.1 255.255.255.255
!
Configuring Ethernet interfaces with the IP address
interface Ethernet0/0
ip vrf forwarding vrf_ttlbits