address-family ipv4 (BGP)
To enter address family or router scope address family configuration mode to configure a routing session using standard IP Version 4 (IPv4) address prefixes, use the address-family ipv4 command in router configuration or router scope configuration mode. To exit address family configuration mode and remove the IPv4 address family configuration from the running configuration, use the no form of this command.
address-family ipv4 [ unicast ] [ vrf vrf-name ]
no address-family ipv4 [ unicast ] [ vrf vrf-name ]
Syntax Description
unicast |
(Optional) Specifies IPv4 unicast address prefixes. This is the default. |
vrf vrf-name |
(Optional) Specifies the name of the VPN routing and forwarding (VRF) instance to associate with subsequent IPv4 address family configuration mode commands. |
Command Default
IPv4 address prefixes are not enabled.
Command Modes
Router configuration (config-router)
Command History
Release |
Modification |
---|---|
Cisco IOS XE Catalyst SD-WAN Release 17.2.1r |
Command qualified for use in Cisco vManage CLI templates. |
Usage Guidelines
For usage guidelines, see the Cisco IOS XE address-family ipv4
(BGP) command.
The following example places the device in address family configuration mode for the IPv4 address family:
router bgp 50000
address-family ipv4
The following example places the device in address family configuration mode, specifies unicast address prefixes for the IPv4 address family, and specifies 1 as the VRF instance to associate with subsequent address family configuration mode commands:
router bgp 64496
address-family ipv4 unicast vrf 1