Cisco Cisco ASR 5700

Page of 8994
  BGP Configuration Mode Commands 
address-family ipv4  ▀   
 
Command Line Interface Reference, StarOS Release 17  ▄  
 
   
1641 
address-family ipv4 
Enters the IPv4 Address Family configuration mode. Optionally, it also enables the Virtual Routing and Forwarding 
(VRF) routing configuraiton, if specified. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > BGP Configuration 
configure > context context_name > router bgp as_number
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-bgp)# 
Syntax
 
[ no ] address-family ipv4 [ vrf vrf_name] 
no
 
Removes the configured IPv4 address family VRF mode. 
address-family ipv4
 
Enters the BGP Address-Family IPv4 mode to allow entry of IPv4 BGP parameters. 
Important:
  The route distinguisher ID must be configured for the VRF name via the 
route-distinguisher 
command in BGP VRF Configuration mode, before using this keyword. 
vrf
 
vrf_name
 
Enables the exchange of VRF routing information. When this keyword is specified with this command, the 
address family mode changes to VRF address family mode. 
vrf_name
 is the name of an existing VFR 
expressed as an alphanumeric string of 1 through 63 characters. 
Usage 
Use this command to configure the IPv4 BGP address family configuration parameters and optionally enables 
the exchange of VRF routing information. 
Use of the 
address-family ipv4
 command switches the command mode to BGP Address Family 
Configuration Mode; the CLI prompt changes to: 
[context_name>]host_name(config-bgp-af-v4)# 
Use of 
address-family ipv4 vrf 
 
vrf_name
 command switches the command mode to BGP Address 
Family Configuration Mode; the CLI prompt changes to: 
[context_name>]host_name(config-bgp-af-vrf)#