Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
Step 4 Run:
ipv4-family vpnv4 [ unicast ]
The BGP VPNv4 sub-address family is displayed.
Step 5 Run:
peer { ipv4-address | group-name } enable
The capability of exchanging BGP VPNv4 routing information with the peer is enabled.
Step 6 Run:
peer { ipv4-address | group-name } upe
The peer is specified as the UPE of the SPE.
----End
3.10.3 Advertising Default Routes of a VPN Instance
The SPE advertises the UPE of a default route with the next hop address as the local address.
This process enables the SPE to instruct VPN packet forwarding on the UPE.
Context
Perform the following steps on the SPE.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
bgp as-number
The BGP view is displayed.
Step 3 Run:
ipv4-family vpnv4
The BGP-VPNv4 sub-address family view is displayed.
Step 4 Run:
peer { ipv4-address | group-name } default-originate vpn-instance vpn-instance-name
The default routes of a specified VPN instance are advertised to the UPE.
After running the command, the SPE advertises a default route to the UPE with its local address
as the next hop, regardless of whether there is a default route in the local routing table.
----End
3.10.4 Checking the Configuration
After configuring HoVPN, the local CE has no route that is destined for the network segment
of the interface on the remote CE, but has a default route with the next hop as the UPE.
Issue 01 (2012-04-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 BGP MPLS IP VPN Configuration
122