ipv4-family vpn-target

Function

The ipv4-family vpn-target command enables the BGP VPN-Target address family and displays the address family view.

The undo ipv4-family vpn-target command deletes the configurations in the BGP VPN-Target address family.

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

Format

ipv4-family vpn-target

undo ipv4-family vpn-target

Parameters

None

Views

BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

The ipv4-family vpn-target command enables the BGP VPN-Target address family and displays the address family view.

Precautions

If the undo ipv4-family vpn-target 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 VPN-Target address family view.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv4-family vpn-target
[*HUAWEI-bgp-af-vpn-target]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >