No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
ipv4-family (VPN instance view)

ipv4-family (VPN instance view)


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.


ipv4-family [ unicast ]

undo ipv4-family [ unicast ]


Parameter Description Value
unicast Displays the unicast address family view. -


VPN instance view

Default Level

2: Configuration level

Usage Guidelines

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 and perform VPN configurations in the address family view if you want to have IPv4 VPN routes advertised and IPv4 VPN data forwarded.

Follow-up Procedure

Run the route-distinguisher command to configure an RD for the IPv4 address family of the VPN instance. VPN configurations can be performed in the IPv4 address family view only after an RD is configured for the IPv4 address family of the VPN instance.


Configurations of the commands run in the VPN instance view, except the description command, are automatically synchronized to the VPN instance IPv4 address family view.


# Enable the IPv4 address family for a VPN instance.

<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vrf1
[*HUAWEI-vpn-instance-vrf1] ipv4-family
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 88898

Downloads: 405

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next