100.1.1.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
ASBR-PEs and PEs in the same AS can ping Loopback1 of each other successfully. Take ASBR-
PE1 as an example.
<ASBR-PE1>
ping 1.1.1.1
PING 1.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=255 time=47 ms
Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=255 time=31 ms
Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=255 time=31 ms
Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=255 time=31 ms
Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=255 time=31 ms
--- 1.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 31/34/47 ms
Step 3
Enable MPLS and MPLS LDP, and establish tunnels.
Enable MPLS and MPLS LDP on PEs and ASBR-PEs in the same AS and establish LDP LSPs.
The configuration details are not mentioned here.
After the configuration, run the
display mpls lsp
command on each PE, and you can find that
LSPs are successfully set up between the PEs and the ASBR-PEs in the same AS.
Take PE1 as an example.
<PE1>
display mpls lsp
LSP Information: LDP LSP
-------------------------------------------------------------------------
FEC In/Out Label In/Out IF Vrf Name
2.2.2.2/32 NULL/3 -/Vlanif20
2.2.2.2/32 1024/3 -/Vlanif20
Step 4
Configure MP IBGP connections within an AS.
# Establish MP IBGP connections and enable BGP VPLS.
# Configure PE1.
<PE1>
system-view
[PE1]
bgp 100
[PE1-bgp]
peer 2.2.2.2 as-number 100
[PE1-bgp]
peer 2.2.2.2 connect-interface loopback 1
[PE1-bgp]
vpls-family
[PE1-bgp-af-vpls]
peer 2.2.2.2 enable
# Configure ASBR-PE1.
<ASBR-PE1>
system-view
[ASBR-PE1]
bgp 100
[ASBR-PE1-bgp]
peer 1.1.1.1 as-number 100
[ASBR-PE1-bgp]
peer 1.1.1.1 connect-interface loopback 1
[ASBR-PE1-bgp]
vpls-family
[ASBR-PE1-bgp-af-vpls]
peer 1.1.1.1 enable
The configurations of AS 200 are similar to those of AS 100, and thus are not mentioned here.
After this step, run the
display bgp vpls peer
command on PEs or ASBR-PEs, and you can find
that MP-IBGP peer connections are in the
Established
state.
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
7 VPLS Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
791