[CE1-bgp]
peer 2002::2 as-number 100
[CE1-bgp]
ipv6-family unicast
[CE1-bgp-af-ipv6]
peer 2001::2 enable
[CE1-bgp-af-ipv6]
peer 2002::2 enable
[CE1-bgp-af-ipv6]
import-route direct
[CE1-bgp-af-ipv6]
quit
[CE1-bgp]
quit
# Configure PE1.
# Enable BGP.
[PE1]
bgp 100
# Enter the view of the BGP-IPv6 instance. Specify CE1 as the EBGP peer and import the direct
route.
[PE1-bgp]
ipv6-family vpn6-instance vpn1
[PE1-bgp6-vpn1]
peer 2001::1 as-number 65410
[PE1-bgp6-vpn1]
import-route direct
[PE1-bgp6-vpn1]
quit
# Configure PE2.
# Enable BGP.
[PE2]
bgp 100
# Enter the view of the BGP-IPv6 instance. Specify CE1 as the EBGP peer and import the direct
route.
[PE2-bgp]
ipv6-family vpn6-instance vpn1
[PE2-bgp6-vpn1]
peer 2002::1 as-number 65410
[PE2-bgp6-vpn1]
import-route direct
[PE2-bgp6-vpn1]
quit
# Configure CE2.
# Enable BGP, specify PE3 and PE4 as the EBGP peers, and import the direct route.
[CE2]
bgp 65420
[CE1-bgp]
router-id 20.20.20.20
[CE2-bgp]
peer 2003::2 as-number 100
[CE2-bgp]
peer 2004::2 as-number 100
[CE2-bgp]
ipv6-family unicast
[CE2-bgp-af-ipv6]
peer 2003::2 enable
[CE2-bgp-af-ipv6]
peer 2004::2 enable
[CE2-bgp-af-ipv6]
import-route direct
[CE2-bgp-af-ipv6]
quit
[CE2-bgp]
quit
# Configure PE3.
# Enable BGP.
[PE3]
bgp 100
# Enter the view of the BGP-IPv6 instance. Specify CE2 as the EBGP peer and import the direct
route.
[PE3-bgp]
ipv6-family vpn6-instance vpn1
[PE3-bgp6-vpn1]
peer 2003::1 as-number 65420
[PE3-bgp6-vpn1]
import-route direct
[PE3-bgp6-vpn1]
quit
# Configure PE4.
# Enable BGP.
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.
425