Specifications

Table Of Contents
Multiprotocol Label Switching Commands
address-family
MP-3
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
Usage Guidelines Using the address-family command puts the router in address family configuration submode (prompt:
(config-router-af)# ). Within this submode, you can configure address-family specific parameters for
routing protocols, such as BGP, that can accommodate multiple Layer 3 address families.
To leave address family configuration submode and return to router configuration mode, enter the
ex
it-address-family or exit command.
Examples The addr
ess-family command in the following example puts the router into address family
configuration submode for the VPNv4 address family. Within the submode, you can configure
advertisement of Network Layer Reachability Information (NLRI) for the VPNv4 address family using
neighbor activate and other related commands:
router bgp 100
address-family vpnv4
The address-family command in the following example puts the router into address family
configuration submode for the IPv4 address family. Use this form of the command, which specifies a
VRF, only to configure routing exchanges between provider edge (PE) and customer edge (CE) devices.
This address-family command causes subsequent commands entered in the submode to be executed in
the context of VRF vrf2. Within the submode, you can use neighbor activate and other related
commands to accomplish the following:
Configure advertisement of IPv4 NLRI between the PE and CE routers.
Configure translation of the IPv4 NLRI (that is, translate IPv4 into VPNv4 for NLRI received from
the CE, and translate VPNv4 into IPv4 for NLRI to be sent from the PE to the CE).
Enter the routing parameters that apply to this VRF.
The following example shows how to enter the address family submode:
Router(config)# router bgp 100
Router(config-router)# address-family ipv4 unicast vrf vrf2
Related Commands Command Description
default Exits from address family submode.
neighbor activate Enables the exchange of information with a neighboring router.