
ESR service routers. ESR-Series. Functionality description. Version 1.12.0
224
PE2(config-bgp)# route-target export
65500
:
100
PE2(config-bgp)# route-target
import
65500
:
100
PE2(config-bgp)# vpn id
2
PE2(config-bgp)# ve id
2
PE2(config-bgp)# exit
PE2(config-l2vpn-vpls)# enable
Check that PE2 is advertising the route information on RR:
PE2# sh ip bgp l2vpn vpls all neighbor
10.10
.
0.4
advertise-routes
Origin codes: i - IGP, e - EGP, ? - incomplete
Route Distinguisher VID VBO VBS Next hop Metric LocPrf Path
--------------------- ----- ----- ----- --------------- ---------- ----------
----------------------
65500
:
100
2
1
10
10.10
.
0.2
--
100
i
In the l2vpn table you can see its routes as well as routes from PE1:
PE2# sh ip bgp l2vpn vpls all
Status codes: * - valid, > - best, i - internal, S - stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Codes Route Distinguisher VID VBO VBS Next hop Metric LocPrf Weight Path
----- --------------------- ----- ----- ----- --------------- ---------- ---------- ------
-------------------
*>
65500
:
100
2
1
10
-- -- -- --
*>i
65500
:
100
1
1
10
10.10
.
0.1
--
100
0
i
The calculated service marks can be viewed as follows:
1) PE2# sh mpls l2vpn bindings
Neighbor: 10.10.0.1, PW ID: 2, VE ID: 1
Local label: 45
Encasulation Type: VPLS
Control flags: 0x00
MTU: 1500
Remote label: 87
Encasulation Type: VPLS
Control flags: 0x00
MTU: 1500
2) PE2# sh mpls forwarding-table
Local Outgoing Prefix Outgoing Next Hop
label label or tunnel ID Interface
-------- -------- ----------------- ---------------- ----------------------------------
45 87
PW ID 2 -- 10.10.0.1