(Optional) Configuring IPv4 Address Pool Route Leaking

This section describes how to configure a VPN import policy for address pool subnet routes in order to achieve VPN-based automatic IPv4 address pool route leaking.

Context

If the BAS user side and network side belong to different VPNs, you can configure the policy of VPN-based automatic address pool route leaking so that the address pool subnet routes in the user-side VPN can be imported to the network-side VPN. In this case, the interfaces in the network-side VPN routing table belong to the user-side VPN. This configuration retains the flexibility of static routes and optimizes the configuration synchronization of the static routes that are updated in an address pool subnet or VPN.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ip unr net-route import source vpn-instance vpn-instance-name destination vpn-instance vpn-instance-name

    The device is configured to automatically import the address pool subnet routes from the source VPN to the destination VPN.

  3. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >