Figure: Network diagram
In this post we will discuss on implementing L2 VPN service in Alcatel-Lucent. The two types of L2 VPN supported in ALU service router are VPWS or VLL and VPS. Different type of VPWS service exists based on network type: epipe, fpipe, apipe, ipipe. In our exercise we will configure epipe (e=ethernet) service.
The configuration of epipe service is pretty simple in 7750SR. Refer here for service model.
To add a bit complexity, we will try it in an Inter-AS network environment.
To add a bit complexity, we will try it in an Inter-AS network environment.
The implementation approach in our example here is referred as Model-C. In this model BGP is used for signaling service label and LDP for transport label.
Router
|
Interface
|
IP Address
|
R1
|
system
|
50.50.50.1
|
ToR2 (port 1/1/1)
|
192.168.12.1
| |
R2
|
system
|
50.50.50.2
|
ToR1 (port 1/1/1)
|
192.168.12.2
| |
ToR3 (port 1/1/4)
|
192.168.23.2
| |
R3
|
system
|
50.50.50.3
|
ToR2 (port 1/1/4)
|
192.168.23.3
| |
ToR4 (port 1/1/2)
|
192.168.34.3
| |
R4
|
system
|
50.50.50.4
|
ToR3 (port 1/1/2)
|
192.168.34.4
| |
R5
|
E0/0
|
10.10.10.5
|
R6
|
E0/0
|
10.10.10.6
|
Table: Interface details
Step 1: IGP and LDP
IGP in the core is the base of LDP. We will implement ISIS in AS 65001 and OSPF in AS 65002.
ISIS Configuration in SR1 and SR2
SR1
|
SR2
|
configure router isis
level-capability level-2
area-id 49.0000
level 2
wide-metrics-only
exit
interface "system"
interface "ToR2"
exit
no shutdown
|
configure router isis
level-capability level-2
area-id 49.0000
level 2
wide-metrics-only
exit
interface "system"
interface "ToR1"
exit
no shutdown
|
ISIS verfication
A:SR2# show router isis adjacency
===============================================================================
Router Base ISIS Instance 0 Adjacency
===============================================================================
System ID Usage State Hold Interface MT-ID
-------------------------------------------------------------------------------
SR1 L2 Up 19 ToR1 0
-------------------------------------------------------------------------------
Adjacencies : 1
===============================================================================
|
OSPF Configuration in SR3 and SR4
SR3
|
SR4
|
configure router ospf
area 0.0.0.0
interface "system"
interface "ToR4"
|
configure router ospf
area 0.0.0.0
interface "system"
interface "ToR3
|
OSPF verification
A:SR4# show router ospf neighbor
===============================================================================
OSPFv2 (0) all neighbors
===============================================================================
Interface-Name Rtr Id State Pri RetxQ TTL
Area-Id
-------------------------------------------------------------------------------
ToR3 50.50.50.3 Full 1 0 32
0.0.0.0
-------------------------------------------------------------------------------
No. of Neighbors: 1
===============================================================================
|
Step 2: BGP IPv4 +Label
iBGP is configured between the PE and ASBR router in both the autonomous system. The advertise-label ipv4 statement must be configured so that MPLS labels are carried with IPv4 NLRIs. eBGP is configured between the two ASBRs, along with advertise-label statement. As usual, an export policy has to be configured in the ASBRs to advertise the system addresses to the remote AS.
BGP Configuration
SR1
|
SR2
|
configure router bgp
group "IBGP"
neighbor 50.50.50.2
local-address 50.50.50.1
peer-as 65001
advertise-label ipv4
exit
exit
no shutdown
|
configure router bgp
group "IBGP"
next-hop-self
neighbor 50.50.50.1
local-address 50.50.50.2
peer-as 65001
advertise-label ipv4
exit
exit
group "SP"
export "IGP-BGP"
split-horizon
neighbor 192.168.23.3
peer-as 65002
advertise-label ipv4
exit
exit
no shutdown
|
SR3
|
SR4
|
configure router bgp
group "IBGP"
next-hop-self
neighbor 50.50.50.4
local-address 50.50.50.3
peer-as 65002
advertise-label ipv4
exit
exit
group "SP"
export "IGP-BGP"
split-horizon
neighbor 192.168.23.2
peer-as 65001
advertise-label ipv4
exit
exit
no shutdown
|
configure router bgp
group "IBGP"
neighbor 50.50.50.3
local-address 50.50.50.4
peer-as 65002
advertise-label ipv4
exit
exit
no shutdown
|
SR2 and SR3 - Export Policy
|
configure router policy-options
begin
prefix-list "RT50"
prefix 50.50.50.0/24 longer
exit
policy-statement "IGP-BGP"
entry 5
from
prefix-list "RT50"
exit
to
protocol bgp
exit
action accept
exit
exit
commit
|
BGP verification
A:SR2# show router bgp summary
…….output omitted….
===============================================================================
BGP Summary
===============================================================================
Neighbor
AS PktRcvd InQ Up/Down State|Rcv/Act/Sent (Addr Family)
PktSent OutQ
-------------------------------------------------------------------------------
50.50.50.1
65001 40 0 00h20m39s 0/0/2 (IPv4)
42 0
192.168.23.3
65002 44 0 00h20m41s 2/2/2 (IPv4)
44 0
-------------------------------------------------------------------------------
A:SR3# show router bgp routes
===============================================================================
BGP Router ID:50.50.50.3 AS:65002 Local AS:65002
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop Path-Id Label
As-Path
-------------------------------------------------------------------------------
u*>i 50.50.50.1/32 None 10
192.168.23.2 None 131066
65001
u*>i 50.50.50.2/32 None None
192.168.23.2 None 131067
65001
-------------------------------------------------------------------------------
Routes : 2
===============================================================================
|
Step 3: E-Pipe Service
Implementing an e-pipe service basically includes the following:
- Creation of Customer
- Creation of mpls SDP and configuring as bgp-tunnel
- Creation of E-Pipe service, and link with the SDP and SAP
E-Pipe service configuration
SR1
|
SR4
|
configure service customer 100 create
configure service sdp 5 mpls create
far-end 50.50.50.4
bgp-tunnel
no shutdown
configure service epipe 15 customer 100 create
sap 1/1/2 create
spoke-sdp 5:15 create
no shutdown
|
configure service customer 100 create
configure service sdp 5 mpls create
far-end 50.50.50.1
bgp-tunnel
no shutdown
configure service epipe 15 customer 100 create
sap 1/1/1 create
spoke-sdp 5:15 create
no shutdown
|
E-pipe verification
A:SR4# show router tunnel-table
===============================================================================
Tunnel Table (Router: Base)
===============================================================================
Destination Owner Encap TunnelId Pref Nexthop Metric
-------------------------------------------------------------------------------
50.50.50.1/32 sdp MPLS 5 5 50.50.50.1 0
50.50.50.1/32 bgp MPLS - 10 50.50.50.3 1000
50.50.50.2/32 bgp MPLS - 10 50.50.50.3 1000
50.50.50.3/32 ldp MPLS - 9 192.168.34.3 100
-------------------------------------------------------------------------------
Flags: B = BGP backup route available
E = inactive best-external BGP route
===============================================================================
A:SR4# show service sdp
============================================================================
Services: Service Destination Points
============================================================================
SdpId AdmMTU OprMTU Far End Adm Opr Del LSP Sig
----------------------------------------------------------------------------
5 0 8910 50.50.50.1 Up Up MPLS B TLDP
----------------------------------------------------------------------------
Number of SDPs : 1
----------------------------------------------------------------------------
Legend: R = RSVP, L = LDP, B = BGP, M = MPLS-TP, n/a = Not Applicable
============================================================================
A:SR4# show service id 15 base
===============================================================================
Service Basic Information
===============================================================================
Service Id : 15 Vpn Id : 0
Service Type : Epipe
Name : (Not Specified)
Description : (Not Specified)
Customer Id : 100 Creation Origin : manual
Last Status Change: 11/26/2015 11:53:02
Last Mgmt Change : 11/26/2015 11:50:32
Test Service : No
Admin State : Up Oper State : Up
MTU : 1514
Vc Switching : False
SAP Count : 1 SDP Bind Count : 1
Per Svc Hashing : Disabled
Force QTag Fwd : Disabled
-------------------------------------------------------------------------------
Service Access & Destination Points
-------------------------------------------------------------------------------
Identifier Type AdmMTU OprMTU Adm Opr
-------------------------------------------------------------------------------
sap:1/1/1 null 1514 1514 Up Up
sdp:5:15 S(50.50.50.1) Spok 0 8910 Up Up
|
*The exercise is done in a virtual environment using Unetlab. Output may vary in real devices. Ask me if you need the lab files.
Detection of water leaks in Madinah*Cleaning Company in Riyadh*Transfer to Riyadh is cheap*Home Services in Riyadh*Insulation Foam in Riyadh*Detection of water leaks in Dammam*Fighting insects in Riyadh*Insulation of roofs in Riyadh*Detection of water leaks in Riyadh*Sewage cleaning company in Riyadh
ReplyDeleteThanks for sharing the blog, seems to be interesting and informative too.app development company in bhopal
ReplyDeleteشركة مكافحة حمام بالرياض
ReplyDeleteتركيب شبك حمام بالرياض
مكافحة الحمام والطيور بالرياض
شركة تركيب طارد حمام بالرياض
It is a very nice blog. Really it is a very international destination post. Thanks for sharing this post.
ReplyDeleteWebsite development company in Bangladesh
Thank you so much for such an informative post! A new technology that is highly rampant in the IT Sector Get to know more about this from the best
ReplyDeleteSoftware Development company in bahamas
mersin
ReplyDeletenevşehir
uşak
ataşehir
küçükçekmece
8HM
yurtdışı kargo
ReplyDeleteresimli magnet
instagram takipçi satın al
yurtdışı kargo
sms onay
dijital kartvizit
dijital kartvizit
https://nobetci-eczane.org/
HVLB
salt likit
ReplyDeletesalt likit
dr mood likit
big boss likit
dl likit
dark likit
8OK7