Concept Guide

Conguring a BGP VRF address family
To perform BGP conguration between two neighbors that must exchange IPv6 or IPv4 VRF information, use the following commands.
Following are the steps to congure BGP VRF address-family between two peers.
Congure a VRF routing table.
CONFIG mode
ip vrf vrf-name
For more information on VRF conguration, see Virtual Routing and Forwarding (VRF).
Enter the router conguration mode and the AS number.
CONFIG mode
router bgp as-number
Specify the IPv4 address family conguration.
CONFIG-ROUTER-BGP mode
address-family {ipv4 [multicast] | ipv6 unicast} vrf vrf-name
vrf vrf-nameSpecies the name of VRF instance associated with the IPv4 or IPv6 address-family conguration.
Add the IP address of the neighbor in the specied AS to the IPv4 MBGP neighbor table.
CONFIG-ROUTER-BGP-AF mode
neighbor {ip-address | ipv6–address | peer-group-name} remote-as as-number
Enable the neighbor.
CONFIG-ROUTER-BGP mode
neighbor ip-address no shutdown
Specify the number of prexes that can be received from a neighbor.
CONFIG-ROUTER-BGP-AF mode
neighbor {ip-address | ipv6–address | peer-group-name} maximum—prefix maximum [threshold]
[warning-only]as-number
Example of conguring both IPv4 and IPv6 VRF address families
The following are the sample steps performed to congure a VRF, and VRF address families for IPv4 (unicast and multicast) and IPv6.
DellEMC(conf)# ip vrf vrf1
DellEMC(conf-vrf)# exit
DellEMC(conf)# router bgp 100
DellEMC(conf-router_bgp)# address-family ipv4 vrf vrf1
DellEMC(conf-router_bgp_af)# neighbor 50.0.0.2 remote-as 200
DellEMC(conf-router_bgp_af)# neighbor 50.0.0.2 maximum-prefix 10000 warning-only
DellEMC(conf-router_bgp_af)# neighbor 50.0.0.2 no shutdown
DellEMC(conf-router_bgp_af)# exit
DellEMC(conf-router_bgp)# address-family ipv6 unicast vrf vrf1
DellEMC(conf-router_bgpv6_af)# neighbor 50.0.0.2 activate
DellEMC(conf-router_bgpv6_af)# exit
DellEMC(conf-router_bgp)# address-family ipv4 multicast vrf vrf1
DellEMC(conf-router_bgpv6_af)# neighbor 50.0.0.2 activate
DellEMC(conf-router_bgp)# exit
Following is the output of show ip bgp vrf vrf1 summary command for the above conguration.
DellEMC#show ip bgp vrf vrf1 summary
BGP router identifier 1.1.1.1, local AS number 100
BGP local RIB : Routes to be Added 0, Replaced 0, Withdrawn 0
Border Gateway Protocol (BGP)
247