Cisco Cisco Packet Data Gateway (PDG) Prospecto
BGP Configuration Mode Commands
address-family ipv4 ▀
Cisco ASR 5x00 Command Line Interface Reference ▄
1549
address-family ipv4
Configures the IPv4 Address Family information for the specified BGP Autonomous System (AS) number. Optionally,
it also enables the Virtual Routing and Forwarding (VRF) routing information, if specified.
it also enables the Virtual Routing and Forwarding (VRF) routing information, 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 for specific BGP AS number.
address-family ipv4
Enters the BGP Address-Family IPv4 mode to allow entry of IPv4 BGP parameters for the BGP AS number.
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 changed to VRF address family mode for specific BGP AS number.
address family mode changed to VRF address family mode for specific BGP AS number.
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 or IPv6 BGP address family configuration parameters and optionally
enables the exchange of VRF routing information.
Use of the
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)#