Enable BGP4 in a Non-default VRF

Before performing this task, ensure that a non-default VRF instance is configured.
  1. Access global configuration mode.
    device# configure terminal
  2. Access BGP configuration mode.
    device(config)# router bgp
  3. Specify the VRF name and enter BGP address-family IPv4 unicast VRF configuration mode.
    device(config-bgp-router)# address-family ipv4 unicast vrf red
    device(config-bgp-ipv4u-vrf)#
    This example shows the address-family ipv4 unicast command, the vrf keyword, and the VRF name (red).

The following example summarizes the commands in this procedure.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# address-family ipv4 unicast vrf red
device(config-bgp-ipv4u-vrf)#