[Hub-PE-bgp] peer 3.3.3.9 connect-interface loopback 1
[Hub-PE-bgp] ipv6-family vpnv6
[Hub-PE-bgp-af-vpnv6] peer 1.1.1.9 enable
[Hub-PE-bgp-af-vpnv6] peer 3.3.3.9 enable
[Hub-PE-bgp-af-vpnv6] quit
After the configuration, run the display bgp vpnv6 all peer command on each PE, and you can
see that the MP-IBGP peer relation between the PEs is in Established state.
Step 7 Verify the configuration.
After the preceding configurations, check the BGP IPv6 VPN routes on the Spoke-PE. You can
find that the default route of vpn_out on the Hub-PE is advertised to each Spoke-PE.
Take the display on Spoke-PE1 as an example.
[Spoke-PE1] display bgp vpnv6 all routing-table
BGP Local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Total number of routes from all PE: 2
Route Distinguisher: 100:22
*>i Network : :: PrefixLen : 0
NextHop : ::FFFF:3.3.3.3 LocPrf : 100
MED : 0 PrefVal : 0
Label : 15365
Path/Ogn : i
*>i Network : 2004:: PrefixLen : 64
NextHop : ::FFFF:3.3.3.3 LocPrf : 100
MED : 0 PrefVal : 0
Label : 15364
Path/Ogn : ?
Total routes of vpn6-instance vpna: 6
*>i Network : :: PrefixLen : 0
NextHop : ::FFFF:3.3.3.3 LocPrf : 100
MED : 0 PrefVal : 0
Label : 15365
Path/Ogn : i
*> Network : 2001:: PrefixLen : 64
NextHop : :: LocPrf :
MED : 0 PrefVal : 0
Label : NULL
Path/Ogn : ?
*
NextHop : 2001::1 LocPrf :
MED : 0 PrefVal : 0
Label : NULL
Path/Ogn : 65410 ?
*> Network : 2001::2 PrefixLen : 128
NextHop : :: LocPrf :
MED : 0 PrefVal : 0
Label : NULL
Path/Ogn : ?
*>i Network : 2004:: PrefixLen : 64
NextHop : ::FFFF:3.3.3.3 LocPrf : 100
MED : 0 PrefVal : 0
Label : 15364
Path/Ogn : ?
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN 4 BGP MPLS IPv6 VPN Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
401