The ipv4-family command enables the IPv4 address family for a VPN instance and displays the VPN instance IPv4 address family view.
The undo ipv4-family command disables the IPv4 address family for a VPN instance.
By default, VPN instances are disabled with the IPv4 address family.
Usage Scenario
In BGP/MPLS IP VPN networking, after running the ip vpn-instance command to create a VPN instance, you can run the ipv4-family command to enable the IPv4 address family for the VPN instance. You can then perform VPN configurations in the address family view to advertise IPv4 VPN routes and allow IPv4 VPN data to be forwarded.
Follow-up Procedure
Run the route-distinguisher command to configure an RD for the IPv4 address family of the VPN instance. Before performing VPN configurations in the IPv4 address family view, configure an RD for the IPv4 address family of the VPN instance.
Precautions
Configurations of the commands run in the VPN instance view, except the description and service id command, are automatically synchronized to the VPN instance IPv4 address family view.
The IPv4 address family for a VPN instance with a BFD session bound can be disabled using the undo ipv4-family command only after the bound BFD session is deleted.