Huawei quidway s7700 Configuration Manual page 413

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, LDP peer relation can be set up between the Hub-PE and the Spoke-
PEs. Run the display mpls ldp session command on each Switch, and you can see that the
session status is Operational.
Step 3 Configure the IPv6 VPN instance on each PE and connect the CEs to the PEs.
The VPN targets of the two IPv6 VPNs on the Hub-PE are advertised by the two Spoke-PE, and
the advertised VPN target is different from the received VPN target.
Configure the IPv6 VPN instances on the Spoke-PE. The imported VPN target for the VPN on
the Spoke-PE is advertised by the Hub-PE.
# Configure Spoke-PE1.
<Spoke-PE1> system-view
[Spoke-PE1] ipv6 vpn6-instance vpna
[Spoke-PE1-vpn6-instance-vpna] route-distinguisher 100:1
[Spoke-PE1-vpn6-instance-vpna] vpn-target 100:1 export-extcommunity
[Spoke-PE1-vpn6-instance-vpna] vpn-target 200:1 import-extcommunity
[Spoke-PE1-vpn6-instance-vpna] quit
[Spoke-PE1] interface vlanif 50
[Spoke-PE1-Vlanif50] ipv6 enable
[Spoke-PE1-Vlanif50] ipv6 binding vpn6-instance vpna
[Spoke-PE1-Vlanif50] ipv6 address 2001::2 64
[Spoke-PE1-Vlanif50] quit
# Configure Spoke-PE2.
<Spoke-PE2> system-view
[Spoke-PE2] ipv6 vpn6-instance vpna
[Spoke-PE2-vpn6-instance-vpna] route-distinguisher 100:3
[Spoke-PE2-vpn6-instance-vpna] vpn-target 100:1 export-extcommunity
[Spoke-PE2-vpn6-instance-vpna] vpn-target 200:1 import-extcommunity
[Spoke-PE2-vpn6-instance-vpna] quit
[Spoke-PE2] interface vlanif 60
[Spoke-PE2-Vlanif60] ipv6 enable
[Spoke-PE2-Vlanif60] ipv6 binding vpn6-instance vpna
[Spoke-PE2-Vlanif60] ipv6 address 2002::2 64
[Spoke-PE2-Vlanif60] quit
# Configure the Hub-PE.
<Hub-PE> system-view
[Hub-PE] ipv6 vpn6-instance vpn_in
[Hub-PE-vpn6-instance-vpn_in] route-distinguisher 100:21
[Hub-PE-vpn6-instance-vpn_in] vpn-target 100:1 import-extcommunity
[Hub-PE-vpn6-instance-vpn_in] quit
[Hub-PE] ipv6 vpn6-instance vpn_out
[Hub-PE-vpn6-instance-vpn_out] route-distinguisher 100:22
[Hub-PE-vpn6-instance-vpn_out] vpn-target 200:1 export-extcommunity
[Hub-PE-vpn6-instance-vpn_out] quit
[Hub-PE] interface vlanif 30
[Hub-PE-Vlanif30] ipv6 enable
[Hub-PE-Vlanif30] ipv6 binding vpn6-instance vpn_in
[Hub-PE-Vlanif30] ipv6 address 2003::2 64
[Hub-PE-Vlanif30] quit
[Hub-PE] interface vlanif 40
[Hub-PE-Vlanif40] ipv6 enable
[Hub-PE-Vlanif40] ipv6 binding vpn6-instance vpn_out
[Hub-PE-Vlanif40] ipv6 address 2004::2 64
[Hub-PE-Vlanif40] quit
# Configure IP addresses of the interfaces on the CEs according to
procedure is not mentioned here.
Issue 01 (2011-07-15)
NOTE
Pay attention to the VPN targets on the Hub-PE and Spoke-PE.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 BGP MPLS IPv6 VPN Configuration
Figure
4-4. The configuration
398

Advertisement

Table of Contents
loading

Table of Contents