address-family

Enables IPv4 or IPv6 address-family configuration mode.
Syntax
address-family { ipv4 | ipv6 } [ max-route num ]
no address-family { ipv4 | ipv6 } [ max-route num ]
Command Default

An address family is not configured.

Parameters
ipv4
Specifies an IPv4 address family.
ipv6
Specifies an IPv6 address family.
max-route num
Configures the maximum number routes in a VRF. The valid range is from 128 through 15168. The default is 1024.
Modes

VRF configuration mode

Usage Guidelines

Use the no form of this command to remove IPv4 or IPv6 address family configurations from the device.

Examples

The following example enables IPv4 address-family configuration mode:

device(config)# vrf red
device(config-vrf-red)# address-family ipv4
device(config-vrf-red-ipv4)#