address-family
Syntax
address-family [<AFI> | <SAFI>] [ipv4 | ipv6] [unicast]
[no] address-family <AFI> | <SAFI>
Description
Initializes the appropriate address-family and enters address-family configuration mode for IPv4 or IPv6. The unicast option is available to configure the subaddress family identifier.
The
no
form of the command removes the association of the specified address-family. The address-family specific routes that are leaked from this VRF will be withdrawn.
Command context
config-vrf
Parameters
AFI
- Required: Specifies address family identifier.
SAFI
Required: Specifies subaddress family identifier.|
ipv4
Optional: IPv4 address family
ipv6
Optional: IPv6 address family
unicast
The subaddress family identifier. When the unicast option is used, the command context changes to
config-vrf-af-ipv4-uc#
.
Authority
Administrators
Examples
Address family command for IPv4 unicast:
switch(config-vrf)#address-family ipv4 unicast switch(config-vrf)#no address-family ipv4 unicast
Address family command for IPv6 unicast:
switch(config-vrf)#address-family ipv6 unicast switch(config-vrf)#no address-family ipv6 unicast