< Home

Configuring an H-VPN

Context

In addition to basic BGP/MPLS IP VPN configuration, you need to specify UPE devices on the SPE device and advertise default routes of VPN instances to the UPE devices.

When VPN services need to be transmitted over TE tunnels or when multiple tunnels need to perform load balancing to fully use network resources, you also need to configure tunnel policies. For details, see Configuring Tunnel Policies.

Perform the following steps on the SPE device.

On an H-VPN, superstratum provider edge devices (SPEs) function as route reflectors (RRs) and user-end provider edge devices (UPEs) function as RR clients. UPEs receive specific routes from SPEs.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bgp as-number

    The BGP view is displayed.

  3. Run ipv4-family vpnv4

    The BGP-VPNv4 address family view is displayed.

  4. Run peer { ipv4-address | group-name } reflect-client

    The SPE is configured as an RR and the UPEs are configured as RR clients.

  5. Run peer { ipv4-address | group-name } next-hop-local

    The SPE is configured to use its own IP address as the next hops of routes when advertising these routes.

    To enable an SPE to use its own IP address as the next hops of routes when advertising these routes to UPEs and NPEs, run the peer next-hop-local command twice with different parameters specified on the SPE.

  6. Run undo policy vpn-target

    The VPN IPv4 routes are not filtered by the VPN target.

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