transit-vpn

Function

The transit-vpn command ensures that the status of a VRF obtained from the network management system (NMS) is always Up, no matter whether this VRF is bound to interfaces.

The undo transit-vpn command restores the default configuration.

By default, the status of a VRF obtained from the MIB is Up only if it is bound to at least one interface in the Up state.

Format

transit-vpn

undo transit-vpn

Parameters

None

Views

VPN instance IPv4 address family view, VPN instance IPv6 address family view, VPN instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l3vpn write

Usage Guidelines

Usage Scenario

According to relevant standards, the status of a VRF obtained from the NMS is Up only if it is bound to at least one interface in the Up state. In HoVPN networking, however, a VRF does not need to be bound to any interface. If a VRF is not bound to an interface in this networking, the status of the VRF obtained from the MIB is Down by default.

To ensure that the status of a VRF obtained from the NMS is always Up, run the transit-vpn command.

Example

# Configure the status of the VRF named vpn1 obtained from the NMS to be always Up, no matter whether the VRF is bound to interfaces.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpn1
[*HUAWEI-vpn-instance-vpn1] ipv4-family
[*HUAWEI-vpn-instance-vpn1-af-ipv4] route-distinguisher 100:1
[*HUAWEI-vpn-instance-vpn1-af-ipv4] transit-vpn
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >