ipv4-family vpnv4

Function

The ipv4-family vpnv4 command enables the BGP-VPNv4 address family and displays the address family view.

The undo ipv4-family vpnv4 command deletes the configurations in the BGP-VPNv4 address family.

By default, the BGP-IPv4 unicast address family view is displayed.

Format

ipv4-family vpnv4

ipv4-family vpnv4 unicast

undo ipv4-family vpnv4 [ unicast ]

Parameters

Parameter Description Value
unicast

Displays the unicast address family view.

-

Views

BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

Before performing BGP configurations in an IPv4 address family, you need to run the ipv4-family command in the BGP view to enable the IPv4 address family and enter the address family view. By default, BGP uses the IPv4 unicast address family.

Configuration Impact

To disable the IPv4 unicast address family, run the undo default ipv4-unicast command.

Precautions

The undo ipv4-family command cannot delete the BGP-IPv4 unicast address family view.

If the undo ipv4-family command is run, the VPN target and IPv4 configurations of the VPN are deleted. Therefore, exercise caution when running this command.

Example

# Enter the BGP-VPNv4 address family view.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv4-family vpnv4
[*HUAWEI-bgp-af-vpnv4]
# Enter the BGP-VPNv4 unicast address family view.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv4-family vpnv4 unicast
[*HUAWEI-bgp-af-vpnv4]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >