Huawei quidway s7700 Configuration Manual page 427

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
BGP local router ID : 1.1.1.9
Local AS number : 100
Total number of peers : 2
Peer
2.2.2.9
Peer of vpn6 instance :
vpn6 instance vpn1 :
2001::1
Step 5 Configure the inter-AS VPN in VRF-to-VRF mode.
# On ASBR-PE1, create an IPv6 VPN instance and bind the instance to the interface connected
to ASBR-PE2 (ASBR-PE1 regards ASBR-PE2 as its own CE).
[ASBR-PE1] ipv6 vpn6-instance vpn1
[ASBR-PE1-vpn6-instance-vpn1] route-distinguisher 100:2
[ASBR-PE1-vpn6-instance-vpn1] vpn-target 1:1 both
[ASBR-PE1-vpn6-instance-vpn1] quit
[ASBR-PE1] interface vlanif 12
[ASBR-PE1-Vlanif12] ipv6 enable
[ASBR-PE1-Vlanif12] ipv6 binding vpn6-instance vpn1
[ASBR-PE1-Vlanif12] ipv6 address 2003::1 64
[ASBR-PE1-Vlanif12] quit
# On ASBR-PE2, create an IPv6 VPN instance and bind the instance to the interface connected
to ASBR-PE1 (ASBR-PE2 regards ASBR-PE1 as its own CE).
[ASBR-PE2] ipv6 vpn6-instance vpn1
[ASBR-PE2-vpn6-instance-vpn1] route-distinguisher 200:2
[ASBR-PE2-vpn6-instance-vpn1] vpn-target 2:2 both
[ASBR-PE2-vpn6-instance-vpn1] quit
[ASBR-PE2] interface vlanif 12
[ASBR-PE2-Vlanif12] ipv6 enable
[ASBR-PE2-Vlanif12] ipv6 binding vpn6-instance vpn1
[ASBR-PE2-Vlanif12] ipv6 address 2003::2 64
[ASBR-PE2-Vlanif12] quit
# On ASBR-PE1, set up an EBGP peer relation between ASBR-PE1 and ASBR-PE2.
[ASBR-PE1] bgp 100
[ASBR-PE1-bgp] ipv6-family vpn6-instance vpn1
[ASBR-PE1-bgp6-vpn1] peer 2003::2 as-number 200
[ASBR-PE1-bgp6-vpn1] import-route direct
[ASBR-PE1-bgp6-vpn1] quit
[ASBR-PE1-bgp] quit
# On ASBR-PE2, set up an EBGP peer relation between ASBR-PE2 and ASBR-PE1.
[ASBR-PE2] bgp 200
[ASBR-PE2-bgp] ipv6-family vpn6-instance vpn1
[ASBR-PE2-bgp6-vpn1] peer 2003::1 as-number 100
[ASBR-PE2-bgp6-vpn1] import-route direct
[ASBR-PE2-bgp6-vpn1] quit
[ASBR-PE2-bgp] quit
By running the display bgp vpnv6 vpn6-instance peer command, you can see that the BGP
peer relation is established between the ASBR-PEs.
Step 6 Verify the configuration.
After the preceding configuration, CEs can learn the routes from the interfaces of each other,
and CE1 and CE2 can ping each other successfully. Take the display on CE1 as an example:
Issue 01 (2011-07-15)
V
AS
MsgRcvd
4
100
13
4 65001
17
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 BGP MPLS IPv6 VPN Configuration
Peers in established state : 2
MsgSent
OutQ
Up/Down
12
0 00:09:10 Established
14
0 00:11:09 Established
State PrefRcv
0
1
412

Advertisement

Table of Contents
loading

Table of Contents