Huawei quidway s7700 Configuration Manual page 239

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
# 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] ipv4-family vpnv4
[ASBR-PE1-bgp-af-vpnv4] peer 1.1.1.9 enable
[ASBR-PE1-bgp-af-vpnv4] quit
[ASBR-PE1-bgp] quit
After the configuration, run the display bgp vpnv4 vpn-instance vpn-instancename peer
command on a PE, and you can find that the BGP peer relation between the PE and CE is in
Established state. Run the display bgp vpnv4 all peer command, and you can see the BGP peer
relations are set up between the PE and CE, and between the PE and ASBR, and the BGP peer
relations are in Established state.
Take the display on PE1 as an example:
[PE1] display bgp vpnv4 vpn-instance vpn1 peer
BGP local router ID : 1.1.1.9
Local AS number : 100
Total number of peers : 1
Peer
10.1.1.1
[PE1] display bgp vpnv4 all peer
BGP local router ID : 1.1.1.9
Local AS number : 100
Total number of peers : 2
Peer
2.2.2.9
Peer of vpn instance:
vpn instance vpn1 :
10.1.1.1
Step 5 Configure the inter-AS VPN in VRF-to-VRF mode.
# On ASBR-PE1, create a VPN instance and bind the VPN instance to the interface connected
to ASBR-PE2 (ASBR-PE1 regards ASBR-PE2 as its own CE).
[ASBR-PE1] ip vpn-instance vpn1
[ASBR-PE1-vpn-instance-vpn1] route-distinguisher 100:2
[ASBR-PE1-vpn-instance-vpn1] vpn-target 1:1 both
[ASBR-PE1-vpn-instance-vpn1] quit
[ASBR-PE1] interface vlanif 12
[ASBR-PE1-Vlanif12] ip binding vpn-instance vpn1
[ASBR-PE1-Vlanif12] ip address 192.1.1.1 24
[ASBR-PE1-Vlanif12] quit
# On ASBR-PE2, create a VPN instance and bind the VPN instance to the interface connected
to ASBR-PE1 (ASBR-PE2 regards ASBR-PE1 as its own CE).
[ASBR-PE2] ip vpn-instance vpn1
[ASBR-PE2-vpn-instance-vpn1] route-distinguisher 200:2
[ASBR-PE2-vpn-instance-vpn1] vpn-target 2:2 both
[ASBR-PE2-vpn-instance-vpn1] quit
[ASBR-PE2] interface GigabitEthernet vlanif 12
[ASBR-PE2-Vlanif12] ip binding vpn-instance vpn1
[ASBR-PE2-Vlanif12] ip address 192.1.1.2 24
[ASBR-PE2-Vlanif12] quit
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
MsgRcvd
4 65001
V
AS
4
100
4 65001
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Peers in established state : 1
MsgSent
OutQ
Up/Down
10
10
0 00:07:10
Peers in established state : 2
MsgRcvd
MsgSent
3
7
13
13
3 BGP MPLS IP VPN Configuration
State
Established
OutQ
Up/Down
State PrefRcv
0 00:01:36 Established
0 00:04:00 Established
PrefRcv
0
0
2
224

Advertisement

Table of Contents
loading

Table of Contents