address-family ipv4
To set an address family ipv4 in vrf configuration mode use the address-family ipv4 command. To remove the IPv4 address-family, use the no form of this command.
address-family ipv4 { bgp [next-hop ] | export [map ] | import [map ] | maximum [routes ] | mdt [ auto-discovery | data | default | log-reuse | mtu | overlay | preference ] | route-replicate [ from | recursion-policy ] | route-target [ export | import ] }
no address-family ipv4 { bgp [next-hop ] | export [map ] | import [map ] | maximum [routes ] | mdt [ auto-discovery | data | default | log-reuse | mtu | overlay | preference ] | route-replicate [ from | recursion-policy ] | route-target [ export | import ] }
Syntax Description
bgp |
A standardized exterior gateway protocol designed to exchange routing and reachability information. |
next-hop |
IP address of the next hop in the traffic flow. |
export |
Allows vrf table to be exported to the global table or another vrf. |
map |
VRF definition or global table. |
import |
Allows global table or another vrf table to be imported to vrf. |
map |
VRF definition or global table. |
maximum |
Specifies the max number of routes. |
routes |
<0 – 42949677295> |
mdt |
Specifies an IPv4 multicast distribution tree (MDT) address family session. |
auto-discovery |
Enables BGP MVPN discovery for GRE in multicast code. |
data |
Specifies a range of addresses to be used in the data multicast distribution tree (MDT) pool. |
default |
Configures a default multicast distribution tree (MDT) group for a vrf. |
log-reuse |
Enables the recording of data multicast distribution tree (MDT) reuse. |
mtu |
Defines the largest size of packets that an interface can transmit. |
overlay |
Specifies a protocol as the overlay. |
preference |
Specifies a preference for a particular MDT type (MLDP or PIM). |
route-replicate | Replicates routes into the base topology within the specified address family. |
from |
Defines a vrf where network resides. |
recursion-policy | |
route-target |
Specifies the target where routes are ether sent or received. |
export |
Allows a vrf table to be exported to the global table or another vrf. |
import |
Allows a global table or another vrf table to be imported to vrf. |
Command Default
None
Command Modes
VRF configuration (config-vrf)
Command History
Release | Modification |
---|---|
Cisco IOS XE Catalyst SD-WAN Release 17.2.1v |
Command qualified for use in Cisco SD-WAN Manager CLI templates. |
Usage Guidelines
The address-family ipv4 command under the vrf definition allows you to configure routing sessions and other related configuration commands.
Example
The following example shows the how to configure address-family ipv4 prefixes from vrf 77.
Device(config)# vrf definition 77
Device(config-vrf)# address-family ipv4
Device(config-ipv4)# exit-address-family