5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 3/6/16 ms
Step 4
Set up EBGP peer relation between the PE and the CE and import VPN routes.
# Configure CE1.
[CE1]
bgp 65410
[CE1-bgp]
peer 10.1.1.2 as-number 100
[CE1-bgp]
import-route direct
NOTE
The configuration procedures of CE2, CE3 and CE4 are similar to the configuration procedure of CE1 and
are not mentioned here.
# Configure PE1.
[PE1]
bgp 100
[PE1-bgp]
ipv4-family vpn-instance vpna
[PE1-bgp-vpna]
peer 10.1.1.1 as-number 65410
[PE1-bgp-vpna]
import-route direct
[PE1-bgp-vpna]
quit
[PE1-bgp]
ipv4-family vpn-instance vpnb
[PE1-bgp-vpnb]
peer 10.2.1.1 as-number 65420
[PE1-bgp-vpnb]
import-route direct
[PE1-bgp-vpnb]
quit
NOTE
The configuration procedure of PE2 is similar to the configuration procedure of PE1 and is not mentioned
here.
After the configuration, run the
display bgp vpnv4 vpn-instance peer
command on a PE, and
you can find that the BGP peer relation between the PE and CE is in Established state.
Take the peer relation between PE1 and CE1 for example:
[PE1]
display bgp vpnv4 vpn-instance vpna peer
BGP local router ID : 1.1.1.9
Local AS number : 100
Total number of peers : 1 Peers in established state : 1
Peer V AS MsgRcvd MsgSent OutQ Up/Down State
PrefRcv
118.118.118.2 4 65410 11 9 0 00:07:25 Established
1
Step 5
Set up MP-IBGP adjacency between the PEs.
# Configure PE1.
[PE1]
bgp 100
[PE1-bgp]
peer 3.3.3.9 as-number 100
[PE1-bgp]
peer 3.3.3.9 connect-interface loopback 1
[PE1-bgp]
ipv4-family vpnv4
[PE1-bgp-af-vpnv4]
peer 3.3.3.9 enable
[PE1-bgp-af-vpnv4]
quit
[PE1-bgp]
quit
# Configure PE2.
[PE2]
bgp 100
[PE2-bgp]
peer 1.1.1.9 as-number 100
[PE2-bgp]
peer 1.1.1.9 connect-interface loopback 1
[PE2-bgp]
ipv4-family vpnv4
[PE2-bgp-af-vpnv4]
peer 1.1.1.9 enable
[PE2-bgp-af-vpnv4]
quit
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
3 BGP MPLS IP VPN Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
180