Huawei quidway s7700 Configuration Manual page 415

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
After the configuration, run the display bgp vpnv6 all peer command on a PE, and you can
find that the BGP peer relation between the PE and the CE is in Established state. By running
the ping ipv6 vpn6-instance, you can see that each PE can ping its connected CE.
Step 5 Configure the default route on the Hub-PE and the Hub-CE.
# Configure the Hub-CE.
<Hub-CE> system-view
[Hub-CE] ipv6 route-static :: 0 2003::2
# Configure the Hub-PE.
# Configure the default route for vpn_out. Set the next hop of the default route as the address
of the Hub-CE.
[Hub-PE] ipv6 route-static vpn6-instance vpn_out :: 0 2004::1
# Advertise the default route through MP-IBGP.
[Hub-PE] bgp 100
[Hub-PE-bgp] ipv6-family vpn6-instance vpn_out
[Hub-PE-bgp6-vpn_out] network :: 0
# Advertise the default route through MP-IBGP.
[Hub-PE-bgp6-vpn_out] import-route direct
[Hub-PE-bgp6-vpn_out] quit
[Hub-PE-bgp] quit
Step 6 Set up MP-IBGP peer relations between PEs.
# Configure Spoke-PE1.
[Spoke-PE1] bgp 100
[Spoke-PE1-bgp] peer 2.2.2.9 as-number 100
[Spoke-PE1-bgp] peer 2.2.2.9 connect-interface loopback 1
[Spoke-PE1-bgp] ipv6-family vpnv6
[Spoke-PE1-bgp-af-vpnv6] peer 2.2.2.9 enable
[Spoke-PE1-bgp-af-vpnv6] quit
# Configure Spoke-PE2.
[Spoke-PE2] bgp 100
[Spoke-PE2-bgp] peer 2.2.2.9 as-number 100
[Spoke-PE2-bgp] peer 2.2.2.9 connect-interface loopback 1
[Spoke-PE2-bgp] ipv6-family vpnv6
[Spoke-PE2-bgp-af-vpnv6] peer 2.2.2.9 enable
[Spoke-PE2-bgp-af-vpnv6] quit
# Configure the Hub-PE.
[Hub-PE] bgp 100
[Hub-PE-bgp] peer 1.1.1.9 as-number 100
[Hub-PE-bgp] peer 1.1.1.9 connect-interface loopback 1
[Hub-PE-bgp] peer 3.3.3.9 as-number 100
Issue 01 (2011-07-15)
NOTE
If multiple interfaces on a PE are bound to the same VPN, you must specify the source IPv6 address when
you run the ping ipv6 vpn6-instance command to ping the CE connected to the peer PE. That is, specify
-a source-ipv6-address in the ping ipv6 vpn6-instance vpn6-instance-name -a source-ipv6-address dest-
ipv6-address command. Otherwise, the ping operation may fail.
NOTE
The Spoke-PE does not need to allow the repeated ASN, because the Switch does not check the AS path
attribute in the routing information advertised by the IBGP peers.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 BGP MPLS IPv6 VPN Configuration
400

Advertisement

Table of Contents
loading

Table of Contents