Example
Run the display ip routing-table vpn-instance command on the PE. The command output
shows that the route to the CE and the route to the destination router in the public network exist
in the VPN routing table.
<Huawei> display ip routing-table vpn-instance vpn1
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: vpn1
Destinations : 7 Routes : 7
Destination/Mask Proto Pre Cost Flags NextHop Interface
0.0.0.0/0 Static 60 0 RD 100.1.1.2 Pos2/0/0
10.1.1.0/24 Direct 0 0 D 10.1.1.2 Pos1/0/0
10.1.1.1/32 Direct 0 0 D 10.1.1.1 Pos1/0/0
10.1.1.2/32 Direct 0 0 D 127.0.0.1 Pos2/0/0
10.2.1.0/24 BGP 255 0 RD 3.3.3.3 Pos2/0/0
10.2.1.1/32 BGP 255 0 RD 3.3.3.3 Pos2/0/0
10.2.1.2/32 BGP 255 0 RD 3.3.3.3 Pos2/0/0
100.3.1.1/32 BGP 255 0 D 10.1.1.1 Pos1/0/0
Run the display ip routing-table command on the CE. The command output shows that the CE
has the route to the destination router in the public network and the destination router in the
public network has the route to the CE.
<Huawei> display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 10 Routes : 10
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.1/32 Direct 0 0 D 127.0.0.1 LoopBack1
2.2.2.2/32 OSPF 10 2 D 100.1.1.2 Pos2/0/0
3.3.3.3/32 OSPF 10 3 D 100.1.1.2 Pos2/0/0
100.1.1.0/24 Direct 0 0 D 100.1.1.1 Pos2/0/0
100.1.1.1/32 Direct 0 0 D 127.0.0.1 Pos1/0/0
100.1.1.2/32 Direct 0 0 D 100.1.1.2 Pos2/0/0
100.2.1.0/24 OSPF 10 2 D 100.1.1.2 Pos2/0/0
100.3.1.0/24 Static 60 0 D 10.1.1.1 Pos1/0/0
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
Run the ping command to check the connectivity between the CE and the destination device on
the public network.
<Huawei> ping 100.3.1.1
PING 100.3.1.1: 56 data bytes, press CTRL_C to break
Reply from 100.3.1.1: bytes=56 Sequence=1 ttl=254 time=62 ms
Reply from 100.3.1.1: bytes=56 Sequence=2 ttl=254 time=62 ms
Reply from 100.3.1.1: bytes=56 Sequence=3 ttl=254 time=62 ms
Reply from 100.3.1.1: bytes=56 Sequence=4 ttl=254 time=62 ms
Reply from 100.3.1.1: bytes=56 Sequence=5 ttl=254 time=62 ms
--- 100.3.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 62/62/62 ms
3.13 Configuring IP FRR of a Private Network
When multiple CEs in a VPN site are connected to the same PE, you can configure IP FRR. In
this manner, when traffic forwarding between a CE and the PE fails, the traffic is fast switched
to another link between another CE and the PE.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN 3 BGP MPLS IP VPN Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
130