Вы находитесь на странице: 1из 7

VPLS Practice Guide

Error! Use the Home tab to apply 1


to the text that you want to appear
here.Error! Use the Home tab to apply
1 to the text that you want to appear
here.

VPLS Practice Guide

Contents
Chapter 1 Martini VPLS Experiment Guide .....................................................................................4
1.1 Networking and Service Description ......................................................................................4
1.2 Configuration flow ..................................................................................................................5
1.3 Configuration procedure ........................................................................................................5
1.4 Configuring commands and Result Verification .....................................................................5
1.4.1 Configuring IGP, make the 3 routers in the backbone can communicate with each
other .....................................................................................................................................5
1.4.2 Configuring basic MPLS basic capability and LDP of the 3 routers on the backbone.6
1.4.3 Configuring remote LDP session on PEs and enabling MPLS L2VPN ......................6
1.4.4 Configuring a VSI on each PE and configuring LDP signaling ...................................6
1.4.5 Binding the VSI with the interface connecting to CE on PE ........................................7
1.4.6 Configuration of CE .....................................................................................................7
1.4.7 Result Verification .......................................................................................................7

Error! Use the Home tab to apply 1 to


the text that you want to appear here.Error!
Use the Home tab to apply 1 to the text
ODL010021 VPLS Laboratory Exercise Guide ISSUE1.0
that you want to appear here.

Chapter 1 Martini VPLS Experiment Guide


1.1 Networking and Service Description
Loopback 0
Loopback 0
Loopback 0
2.2.2.2/32
6.6.6.6/32
3.3.3.3/32
G2/0/1
G2/0/4
36.36.36.2/30
26.26.26.1/30
R3-NE40E-B
R2-NE40E-A
R
R
R
G2/0/4
G2/0/0
36.36.36.1/30 E8/0/0.1
E8/0/0.1
26.26.26.2/30
30.1.1.1
CE 1


R6-NE20-C

30.1.1.2

CE 2

Use 2 routers R2-NE40E-A and R3-NE40E-B as PE, they enable VPLS. CE1
connects to R2-NE40E-A and CE2 connects to R3-NE40E-B. CE1 and CE2
belong to the same VPLS.
Use LDP as the VPLS signaling to setup PW realize the connection between
CE1 and CE2.

Error! Use the Home tab to apply 1


to the text that you want to appear
here.Error! Use the Home tab to apply
1 to the text that you want to appear
here.

VPLS Practice Guide

1.2 Configuration flow


Configuring IGP of Backbone

Configuring basic MPLS capability


and LDP of Backbone
Network

Setup remote LDP session


between 2 PEs

Enabling MPLS L2VPN

Creating VSI and Specifying the


PW signaling protocol as LDP

Binding the VSI with the interface


connecting to CE on PE

1.3 Configuration procedure


Configuring IGP, make the 3 routers in the backbone can communicate with each
other.
Configuring basic MPLS basic capability and LDP of the 3 routers on the backbone.
Configuring remote session of LDP on the PEs
Enabling MPLS L2VPN on PEs
Configuring a VSI on each PE, configuring LDP signaling
Binding the VSI with the interface connecting to CE on PE

Error! Use the Home tab to apply 1 to


the text that you want to appear here.Error!
Use the Home tab to apply 1 to the text
ODL010021 VPLS Laboratory Exercise Guide ISSUE1.0
that you want to appear here.

1.4 Configuring commands and Result Verification


1.4.1 Configuring IGP, make the 3 routers in the backbone can
communicate with each other
Please refer to 1.4.1

1.4.2 Configuring basic MPLS basic capability and LDP of the 3 routers on
the backbone.
Please refer to 1.4.2

1.4.3 Configuring remote LDP session on PEs and enabling MPLS L2VPN
1. Configuration of R2-NE40E-A
[R2-NE40E-A]mpls ldp remote-peer R3-NE40E-B
[R2-NE40E-A-mpls-ldp-remote-r3-ne40e-b]remote-ip 3.3.3.3
[R2-NE40E-A-mpls-ldp-remote-r3-ne40e-b]quit
[R2-NE40E-A]mpls l2vpn

2. Configuration of R3-NE40E-B
[R3-NE40E-B]mpls ldp remote-peer R2-NE40E-A
[R3-NE40E-B-mpls-ldp-remote-r2-ne40e-a]remote-ip 2.2.2.2
[R3-NE40E-B-mpls-ldp-remote-r2-ne40e-a]quit
[R3-NE40E-B]mpls l2vpn

1.4.4 Configuring a VSI on each PE and configuring LDP signaling


1. Configuration of R2-NE40E-A
[R2-NE40E-A]vsi bb static
[R2-NE40E-A-vsi-bb]pwsignal ldp
[R2-NE40E-A-vsi-bb-ldp]vsi-id 2
[R2-NE40E-A-vsi-bb-ldp]peer 3.3.3.3
[R2-NE40E-A-vsi-bb-ldp]quit
[R2-NE40E-A-vsi-bb]quit

2. Configuration of R3-NE40E-B
[R3-NE40E-B]vsi bb static

Error! Use the Home tab to apply 1


to the text that you want to appear
here.Error! Use the Home tab to apply
1 to the text that you want to appear
here.

VPLS Practice Guide


[R3-NE40E-B-vsi-bb]pwsignal ldp
[R3-NE40E-B-vsi-bb-ldp]vsi-id 2
[R3-NE40E-B-vsi-bb-ldp]peer 2.2.2.2
[R3-NE40E-B-vsi-bb-ldp]quit

1.4.5 Binding the VSI with the interface connecting to CE on PE


1. Configuration of R2-NE40E-A
[R2-NE40E-A]interface Ethernet 8/0/0.1
[R2-NE40E-A-Ethernet8/0/0.1]vlan-type dot1q 10
[R2-NE40E-A-Ethernet8/0/0.1]l2 binding vsi bb
[R2-NE40E-A-Ethernet8/0/0.1]quit

2. Configuration of R3-NE40E-B
[R3-NE40E-B]interface Ethernet 8/0/0.1
[R3-NE40E-B-Ethernet8/0/0.1]vlan-type dot1q 10
[R3-NE40E-B-Ethernet8/0/0.1]l2 binding vsi bb
[R3-NE40E-B-Ethernet8/0/0.1]quit

1.4.6 Configuration of CE
Please refer to 1.4.6

1.4.7 Result Verification


1. After the above configuration, execute the display vsi bb verbose command on
R2-NE40E-A, and you can see that VSI named as bb establishes a PW to
R3-NE40E-B and the VSI state is up
[R2-NE40E-A]display vsi bb verbose
***VSI Name
VSI Index

: bb
:0

PW Signaling

: ldp

Member Discovery Style : static


PW MAC Learn Style
Encapsulation Type
MTU

: unqualify
: vlan

: 1500

Error! Use the Home tab to apply 1 to


the text that you want to appear here.Error!
Use the Home tab to apply 1 to the text
ODL010021 VPLS Laboratory Exercise Guide ISSUE1.0
that you want to appear here.
VSI State
VSI ID

: up
:2

*Peer Router ID

: 3.3.3.3

VC Label

: 119808

Session

: up

Tunnel ID

: 0x81004bb9,

Interface Name
State

: Ethernet8/0/0.1
: up

*Peer Ip Address
PW State

: 3.3.3.3
: up

Local VC Label

: 119808

Remote VC Label
PW Type

: 119808
: label

Tunnel ID

: 0x81004bb9,

2. Check the VPLS connection information


[R2-NE40E-A]display vpls connection
1 total connections,
connections: 1 up, 0 down, 1 ldp, 0 bgp
VSI Name: bb

Signaling: ldp

VsiID EncapType
2

vlan

PeerAddr
3.3.3.3

119808

InLabel OutLabel VCState


119808

up

3. You can ping through CE2 (30.1.1.2) on CE1 (30.1.1.1)


<CE1>ping 30.1.1.2
PING 30.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 30.1.1.2: bytes=56 Sequence=1 ttl=254 time = 22 ms
Reply from 30.1.1.2: bytes=56 Sequence=2 ttl=254 time = 9 ms
Reply from 30.1.1.2: bytes=56 Sequence=3 ttl=254 time = 8 ms
Reply from 30.1.1.2: bytes=56 Sequence=4 ttl=254 time = 11 ms
Reply from 30.1.1.2: bytes=56 Sequence=5 ttl=254 time = 8 ms
--- 30.1.1.2 ping statistics --5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 8/11/22 ms

Вам также может понравиться