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.
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.<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