Command:

address-family ipv4


Mode:

Router(config-router)#


Syntax:

address-family ipv4 [multicast | unicast | vrf vrf-name]

no address-family ipv4 [multicast | unicast | vrf vrf-name]


Syntax Description:

multicast

(Optional) Specifies IP Version 4 multicast address prefixes.

unicast

(Optional) Specifies IP Version 4 unicast address prefixes.

vrf vrf-name

(Optional) Specifies the name of the virtual routing and forwarding (VRF) instance to associate with subsequent IP Version 4 address family configuration mode commands.

 

Command Description:

To enter address family configuration mode for configuring routing sessions such as BGP that use standard IP Version 4 address prefixes, use the address-family ipv4 router configuration command. To disable address family configuration mode, use the no form of this command.

 

Usage Guidelines:

The address-family ipv4 command places the router in address family configuration mode, from which you can configure routing sessions that use standard IP Version 4 address prefixes. To leave address family configuration mode and return to router configuration mode, type exit.

Routing information for address family IP Version 4 is advertised by default when you configure a BGP routing session using the neighbor remote-as command unless you enter the no bgp default ipv4-unicast command.

The address-family ipv4 command replaces the match nlri and set nlri commands.


Example:

 

The following example places the router in address family configuration mode for the IP Version 4 address family:

 

Router(config)# router bgp 100
Router(config-router)# address-family ipv4
Router(config-router-af)#
 

The following example places the router in address family configuration mode and specifies multicast address prefixes for the IP Version 4 address family:

 

Router(config)# router bgp 100
Router(config-router)# address-family ipv4 multicast
Router(config-router-af)#
 

The following example places the router in address family configuration mode and specifies unicast address prefixes for the IP Version 4 address family:

 

Router(config)# router bgp 100
Router(config-router)# address-family ipv4 unicast
Router(config-router-af)#
 

The following example places the router in address family configuration mode and specifies cisco as the name of the VRF instance to associate with subsequent IP Version 4 address family configuration mode commands:

Router(config)# router bgp 100
Router(config-router)# address-family ipv4 vrf cisco
Router(config-router-af)#


Misconceptions:

 

None


Related Commands:

 

network (BGP)

 

neighbor weight

 

neighbor route-reflector-client

 

neighbor route-map

 

neighbor prefix-list

 

neighbor peer-group (creating)

 

neighbor peer-group (assigning members)

 

neighbor filter-list

 

neighbor advertisement-interval

 

maximum-paths

 

aggregate-address

 

neighbor advertisement-interval

 


� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)