address-family unicast (BGP)

Enables the IPv4 or IPv6 address family configuration mode to configure a variety of Border Gateway Protocol Version 4 (BGP4) unicast routing options.
Syntax
address-family ipv4 unicast vrf vrf-name
address-family ipv6 unicast [ vrf vrf-name ]
no address-family ipv4 unicast vrf vrf-name
no address-family ipv6 unicast [ vrf vrf-name ]
Parameters
ipv4
Specifies an IPv4 address family.
ipv6
Specifies an IPv6 address family.
vrf vrf-name
Specifies the name of the VRF instance to associate with subsequent address-family configuration mode commands.
Modes

BGP configuration mode

Usage Guidelines

The no form of the command removes IPv4 or IPv6 address family configurations from the device.

Examples

The following example enables BGP IPv6 address family configuration mode.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)#

The following example creates a BGP4 unicast instance for VRF green.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# address-family ipv4 unicast vrf green
device(config-bgp-ipv4u-vrf)# 
History
Release version Command history
08.0.30 Multi-VRF support was added for IPv6 BGP.