Huawei quidway s7700 Configuration Manual page 426

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
[CE1-Vlanif10] quit
[CE1] bgp 65001
[CE1-bgp] router-id 10.10.10.10
[CE1-bgp] peer 2001::2 as-number 100
[CE1-bgp] ipv6-family unicast
[CE1-bgp-af-ipv6] peer 2001::2 enable
[CE1-bgp-af-ipv6] import-route direct
[CE1-bgp-af-ipv6] quit
[CE1-bgp] quit
# On PE1, set up an EBGP peer relation between PE1 and CE1.
[PE1] ipv6 vpn6-instance vpn1
[PE1-vpn6-instance-vpn1] route-distinguisher 100:1
[PE1-vpn6-instance-vpn1] vpn-target 1:1 both
[PE1-vpn6-instance-vpn1] quit
[PE1] interface vlanif 10
[PE1-Vlanif10] ipv6 enable
[PE1-Vlanif10] ipv6 binding vpn6-instance vpn1
[PE1-Vlanif10] ipv6 address 2001::2 64
[PE1-Vlanif10] quit
[PE1] bgp 100
[PE1-bgp] ipv6-family vpn6-instance vpn1
[PE1-bgp6-vpn1] peer 2001::1 as-number 65001
[PE1-bgp6-vpn1] import-route direct
[PE1-bgp6-vpn1] quit
[PE1-bgp] quit
# On PE1, set up an MP-IBGP peer relation between ASBR-PE1 and MP-IBGP.
[PE1] bgp 100
[PE1-bgp] peer 2.2.2.9 as-number 100
[PE1-bgp] peer 2.2.2.9 connect-interface loopback 1
[PE1-bgp] ipv6-family vpnv6
[PE1-bgp-af-vpnv6] peer 2.2.2.9 enable
[PE1-bgp-af-vpnv6] quit
# On ASBR-PE1, set up an MP-IBGP peer relation between ASBR-PE1 and PE1.
[ASBR-PE1] bgp 100
[ASBR-PE1-bgp] peer 1.1.1.9 as-number 100
[ASBR-PE1-bgp] peer 1.1.1.9 connect-interface loopback 1
[ASBR-PE1-bgp] ipv6-family vpnv6
[ASBR-PE1-bgp-af-vpnv6] peer 1.1.1.9 enable
[ASBR-PE1-bgp-af-vpnv6] quit
[ASBR-PE1-bgp] quit
After the configuration, run the display bgp vpnv6 vpn6-instance peer command on a PE, and
you can find that the BGP peer relation between the PE and CE is in Established state. By running
the display bgp vpnv6 all peer command, you can see the BGP peer relations are set up between
the PE and CE, and between the PE and ASBR.
Take the display on PE1 as an example:
[PE1] display bgp vpnv6 vpn6-instance vpn1 peer
BGP local router ID : 1.1.1.9
Local AS number : 100
Total number of peers : 1
Peer
2001::1
[PE1] display bgp vpnv6 all peer
Issue 01 (2011-07-15)
NOTE
The configurations on CE2, PE2, and ASBR-PE2 are similar to the configurations on CE1, PE1 and ASBR-
PE1 and are not mentioned here.
V
AS
4 65001
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Peers in established state : 1
MsgRcvd
MsgSent
OutQ
14
12
4 BGP MPLS IPv6 VPN Configuration
Up/Down
State PrefRcv
0 00:08:36 Established
1
411

Advertisement

Table of Contents
loading

Table of Contents