# Configure PE3.
[PE3] bgp 100
[PE3-bgp] peer 1.1.1.1 as-number 100
[PE3-bgp] peer 1.1.1.1 connect-interface loopback 1
[PE3-bgp] ipv4-family vpnv4
[PE3-bgp-af-vpnv4] peer 1.1.1.1 enable
[PE3-bgp-af-vpnv4] quit
Run the display bgp vpnv4 all peer command on the PEs, and you can see that MP-IBGP
adjacencies are established between PEs.
Take PE1 for example.
[PE1] display bgp vpnv4 all peer
 BGP local router ID : 1.1.1.1
 Local AS number : 100
 Total number of peers : 2                 Peers in established state : 2
Peer            V    AS  MsgRcvd  MsgSent    OutQ  Up/Down       State PrefRcv
2.2.2.2         4   100       20       17       0 00:13:26 Established       5
3.3.3.3         4   100       24       19       0 00:17:18 Established       5
Step 8 Configure routing policy for VPN FRR.
[PE1] ip ip-prefix vpn_frr_list permit 2.2.2.2 32
[PE1] route-policy vpn_frr_rp permit node 10 
[PE1-route-policy] if-match ip next-hop ip-prefix vpn_frr_list
[PE1-route-policy] apply backup-nexthop 3.3.3.3
[PE1-route-policy] quit
Step 9 Enable VPN FRR.
[PE1] ip vpn-instance vpn1
[PE1-vpn-instance-vpn1] vpn frr route-policy vpn_frr_rp
[PE1-vpn-instance-vpn1] quit
# View the backup next hop, backup label, and backup tunnel ID.
<PE1> display ip routing-table vpn-instance vpn1 10.3.1.0 verbose
Routing Table : vpn1
Summary Count : 1
Destination: 10.3.1.0/24
     Protocol: BGP             Process ID: 0
   Preference: 255                   Cost: 0
      NextHop: 2.2.2.2          Neighbour: 2.2.2.2
        State: Active Adv GotQ        Age: 00h15m06s
          Tag: 0                 Priority: 0
        Label: 11264              QoSInfo: 0x0
 RelayNextHop: 0.0.0.0          Interface: Vlanif10
     TunnelID: 0x10002
    BkNextHop: 3.3.3.3        BkInterface:
      BkLabel: 11264          SecTunnelID: 0x0
 BkPETunnelID: 0x10001    BkPESecTunnelID: 0x0
Step 10 To disable VPN FRR, run the undo vpn frr command.
[PE1] ip vpn-instance vpn1
[PE1-vpn-instance-vpn1] undo vpn frr
[PE1-vpn-instance-vpn1] quit
# After disabling VPN FRR, view the backup next hop, backup label, and backup tunnel ID.
----End
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN 3 BGP MPLS IP VPN Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
295