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

1/16/2017

LDPVPLSusingBGPAutoDiscovery

Forfeedbackandcomments:
documentation.feedback@alcatellucent.com

LDPVPLSusingBGPAuto
Discovery

ThissectionprovidesinformationaboutLDPVPLSusingBGPAutoDiscovery.
Topicsinthissectioninclude:

Applicability

Summary

Overview

Configuration

Conclusion

Applicability
Thissectionisapplicabletoallofthe7450ESS,7750SRand7710SRseriesandwastestedonrelease
SROS12.0.R5.Therearenoprerequisitesforthisconfiguration.

Summary
MPLSbasedVirtualPrivateLANServices(VPLS)mayhavemanydifferentprovisioningmodelsto
allowthesignalingofpseudowiresbetweenPErouterscontainingVPLSinstances.
NetworkManagementSystem(NMS)provisioningusingLDPsignalingisawellunderstoodmethodof
provisioningofLayer2VPLSservicesasisdescribedinRFC4762.Thisreliesontheprovisioningof
pseudowiresbetweenVPLSinstancesusingLabelDistributionProtocol(LDP)signalingwithacommon
virtualcircuit(VC)identifierwithinthelabelmappingmessagetoinstantiatepseudowires.
BorderGatewayProtocol(BGP)AutoDiscovery(RFC6074)isanalternativemethodofprovisioningof
Layer2ProviderEdgerouterscontainingVPLSserviceinstancestothosedescribedabovewherePEsin
acommonVPLSinstanceareautomaticallydiscoveredusingBGPAutoDiscovery(BGPAD)
techniques.
EachPErouteradvertisesthepresenceofVPLSinstancestootherPEroutersusingdefinedparameters
withinaBGPupdatemessage.
https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

1/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

LDPisusedasthepseudowiresignalingprotocolandreliesontheautodiscoveryofVPLSendpointsto
instantiatepseudowiresinsteadofmanuallyprovisioningvirtualcircuits.Locallyconfiguredparameters,
alongwithBGPlearnedparameters,areusedtodeterminelocalandremoteVPLSendpoints,whichare
usedbyLDPtosignalservicelabelstopeerrouters.
KnowledgeofBGPAutodiscoveryRFC6074architectureandfunctionality,RFC4447Pseudowire
SetupusingLabelDistributionProtocolisassumedthroughoutthissection,aswellasknowledgeof
MultiProtocolBGP(MPBGP).

Overview

Figure57:NetworkTopology

ThenetworktopologyisdisplayedinFigure57.Thesetupusessix7750/7450/7710ServiceRouter(SR)
nodeslocatedinthesameAutonomousSystem(AS).TherearethreePEsandRR1willactasaRoute
ReflectorfortheAS.TheProviderEdgeroutersareallVPLSawareTheProvider(P)routersareVPLS
unawareanddonottakepartintheBGPprocess.AfullmeshVPLSbetweenPE1,PE2andPE3is
described.
Thefollowingconfigurationtasksshouldbecompletedasaprerequisite:

ISISorOSPFshouldbeenabledonallnetworkinterfacesbetweeneachofthePE/Proutersand
routereflector.

MPLSshouldbeconfiguredonallinterfacesbetweenPEandProutersMPLSisnotrequired
betweenP1andRR1.

LDPshouldbeconfiguredoninterfacesbetweenPEandProuters.ItisnotrequiredbetweenP1
andRR1.

https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

2/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

RSVPprotocolisdisabledbydefault,sotheRSVPprotocolshouldbeenabled.

BGPAD
InthisarchitectureaVPLSserviceisacollectionoflocalVPLSInstancespresentonanumberofPEs
inaprovidernetwork.Inthiscontext,VPLSawaredevicesarePErouters.EachVPLSinstancehasa
uniqueidentifierknownastheVPLSidentifier(VPLSid).AllPEsthathavethisVPLSinstancepresent
willhaveacommonVPLSidconfigured.
EachVPLSinstancewithinaPEcontainsaVirtualSwitchingInstance(VSI).TheVPLSattachment
circuitsandpseudowiresareassociatedwiththeVSI.EachVSIwithinagivenVPLShasaunique
identifiercalledtheVSIidentifier(VSIid)andisaconcatenationoftheVPLSidplusanIPaddress,
usuallythesystemIPaddress.
ThePEscommunicatewitheachotheratthecontrolplanelevelbymeansofBGPupdatescontaining
BGPLayer2NetworkLayerReachabilityInformation(NLRI).Eachupdatecontainsenough
informationforaPEtodeterminethepresenceofotherlocalVPLSinstancesonpeeringPEs.Inturn,
thisallowspeerPErouterstosetuppseudowireconnectivityusingLDPsignalingfordataflowbetween
peerscontainingalocalVPLSwithinthesameVPLSinstances.
EachupdatecontainsparametersusuallyassociatedwithMultiProtocolBGPupdates:

NLRIencodedasroutetarget(usuallytheVPLSid)andPEsystemaddress

NextHopThesystemIPaddressofthesendingPErouter.

ExtendedcommunitiesContainstheroutetargetextendedcommunityandtheVPLSidas
communityvalues.

EachVPLSinstanceisconfiguredwithimportandexportroutetargetextendedcommunitiestocreate
therequiredpseudowiretopologybycontrollingthedistributionofeachNLRI.
ThepurposeofthissectionistodescribetheprovisioningofaVPLSinstanceacrossthreePErouters.A
fullmeshofpseudowiresinterconnectstheVSIofeachPEwithintheVPLSinstance.Asingle
attachmentcircuitisalsoconfiguredoneachVSI.

Configuration
ThefirststepistoconfigureanMPiBGPsessionusingtheL2VPNaddressfamilybetweeneachofthe
PEsandtheroutereflector.
TheconfigurationforPE1is:
configure
router
bgp
group"internal"
familyl2vpn
typeinternal
peeras65536
neighbor192.0.2.20
exit
exit
noshutdown
exit

https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

3/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

TheconfigurationfortheotherPEnodesisidentical.TheIPaddressescanbederivedfromFigure57.
TheconfigurationforroutereflectorRR1is:
configure
router
bgp
cluster1.1.1.1
grouprr_internal
familyl2vpn
typeinternal
peeras65536
neighbor192.0.2.1
exit
neighbor192.0.2.2
exit
neighbor192.0.2.3
exit
exit
noshutdown
exit

OnPE1,verifythattheBGPsessionwithRR1isestablishedwithaddressfamilyl2vpncapability
negotiated:
A:PE1#showrouterbgpneighbor192.0.2.20
===============================================================================
BGPNeighbor
===============================================================================

Peer:192.0.2.20
Group:internal

PeerAS:65536PeerPort:179
PeerAddress:192.0.2.20
LocalAS:65536LocalPort:49519
LocalAddress:192.0.2.1
PeerType:Internal
State:EstablishedLastState:Active
LastEvent:recvKeepAlive
LastError:UnrecognizedError
LocalFamily:L2VPN
RemoteFamily:L2VPN
HoldTime:90KeepAlive:30
MinHoldTime:0
ActiveHoldTime:90ActiveKeepAlive:30
ClusterId:None
Preference:170NumofUpdateFlaps:0
Recd.Paths:19
IPv4Recd.Prefixes:0IPv4ActivePrefixes:0
IPv4SuppressedPfxs:0VPNIPv4Suppr.Pfxs:0
VPNIPv4Recd.Pfxs:0VPNIPv4ActivePfxs:0
McIPv4Recd.Pfxs.:0McIPv4ActivePfxs.:0
McIPv4Suppr.Pfxs:0IPv6SuppressedPfxs:0
IPv6Recd.Prefixes:0IPv6ActivePrefixes:0
VPNIPv6Recd.Pfxs:0VPNIPv6ActivePfxs:0
VPNIPv6Suppr.Pfxs:0
McIPv6Recd.Pfxs.:0McIPv6ActivePfxs.:0
McIPv6Suppr.Pfxs:0L2VPNSuppr.Pfxs:0
L2VPNRecd.Pfxs:19L2VPNActivePfxs:13
MVPNIPv4Suppr.Pfxs:0MVPNIPv4Recd.Pfxs:0
MVPNIPv4ActivePfxs:0MDTSAFISuppr.Pfxs:0
MDTSAFIRecd.Pfxs:0MDTSAFIActivePfxs:0
FlowIPv4Suppr.Pfxs:0FlowIPv4Recd.Pfxs:0
FlowIPv4ActivePfxs:0RteTgtSuppr.Pfxs:0
RteTgtRecd.Pfxs:0RteTgtActivePfxs:0
https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

4/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

BackupIPv4Pfxs:0BackupIPv6Pfxs:0
McVpnIpv4Recd.Pf*:0McVpnIpv4ActiveP*:0
BackupVpnIPv4Pfxs:0BackupVpnIPv6Pfxs:0
InputQueue:0OutputQueue:0
i/pMessages:110o/pMessages:95
i/pOctets:3980o/pOctets:2258
i/pUpdates:21o/pUpdates:6
MVPNIPv6Suppr.Pfxs:0MVPNIPv6Recd.Pfxs:0
MVPNIPv6ActivePfxs:0
FlowIPv6Suppr.Pfxs:0FlowIPv6Recd.Pfxs:0
FlowIPv6ActivePfxs:0
EvpnSuppr.Pfxs:0EvpnRecd.Pfxs:0
EvpnActivePfxs:0
TTLSecurity:DisabledMinTTLValue:n/a
GracefulRestart:DisabledStaleRoutesTime:n/a
RestartTime:n/a
AdvertiseInactive:DisabledPeerTracking:Disabled
AdvertiseLabel:None
Authkeychain:n/a
DisableCapNego:DisabledBfdEnabled:Disabled
FlowspecValidate:DisabledDefaultRouteTgt:Disabled
AigpMetric:DisabledSplitHorizon:Disabled
DampPeerOscillatio*:DisabledUpdateErrors:0
GRNotification:DisabledFaultTolerance:Disabled
RemIdleHoldTime:00h00m00s
NextHopUnchanged:None
L2VPNCiscoInterop:Disabled
LocalCapability:RtRefreshMPBGP4byteASN
RemoteCapability:RtRefreshMPBGP4byteASN
LocalAddPathCapabi*:Disabled
RemoteAddPathCapab*:SendNone
:ReceiveNone
ImportPolicy:NoneSpecified/Inherited
ExportPolicy:NoneSpecified/Inherited

OriginValidation:N/A

Neighbors:1
===============================================================================
*indicatesthatthecorrespondingrowelementmayhavebeentruncated.
A:PE1#

OnRR1,showthatBGPsessionswitheachPEareestablished,andhavecorrectlynegotiatedthel2
vpnaddressfamilycapability.
A:RR1#showrouterbgpsummary
===============================================================================
BGPRouterID:192.0.2.20AS:65536LocalAS:65536
===============================================================================
BGPAdminState:UpBGPOperState:Up
TotalPeerGroups:1TotalPeers:3
TotalBGPPaths:26TotalPathMemory:4984
TotalIPv4RemoteRts:0TotalIPv4Rem.ActiveRts:0
TotalMcIPv4RemoteRts:0TotalMcIPv4Rem.ActiveRts:0
TotalMcIPv6RemoteRts:0TotalMcIPv6Rem.ActiveRts:0
TotalIPv6RemoteRts:0TotalIPv6Rem.ActiveRts:0
TotalIPv4BackupRts:0TotalIPv6BackupRts:0

TotalSupressedRts:0TotalHist.Rts:0
TotalDecayRts:0

TotalVPNPeerGroups:0TotalVPNPeers:0
TotalVPNLocalRts:0
TotalVPNIPv4Rem.Rts:0TotalVPNIPv4Rem.Act.Rts:0
TotalVPNIPv6Rem.Rts:0TotalVPNIPv6Rem.Act.Rts:0
TotalVPNIPv4BkupRts:0TotalVPNIPv6BkupRts:0
https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

5/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

TotalVPNSupp.Rts:0TotalVPNHist.Rts:0
TotalVPNDecayRts:0

TotalL2VPNRem.Rts:22TotalL2VPNRem.Act.Rts:0
TotalMVPNIPv4RemRts:0TotalMVPNIPv4RemActRts:0
TotalMDTSAFIRemRts:0TotalMDTSAFIRemActRts:0
TotalMSPWRemRts:0TotalMSPWRemActRts:0
TotalRouteTgtRemRts:0TotalRouteTgtRemActRts:0
TotalMcVpnIPv4RemRts:0TotalMcVpnIPv4RemActRts:0
TotalMVPNIPv6RemRts:0TotalMVPNIPv6RemActRts:0
TotalEVPNRemRts:0TotalEVPNRemActRts:0
TotalFlowIpv4RemRts:0TotalFlowIpv4RemActRts:0
TotalFlowIpv6RemRts:0TotalFlowIpv6RemActRts:0

===============================================================================
BGPSummary
===============================================================================
Neighbor
ASPktRcvdInQUp/DownState|Rcv/Act/Sent(AddrFamily)
PktSentOutQ

192.0.2.1
6553696000h43m38s6/0/22(L2VPN)
1110
192.0.2.2
65536100000h44m20s9/0/22(L2VPN)
1130
192.0.2.3
6553697000h43m47s7/0/22(L2VPN)
1120

A:RR1#

AfullmeshofRSVPLabelSwitchedPaths(LSPs)isconfiguredbetweenthePErouters.Forreference,
theMPLSinterfaceconfigurationandLSPsforPE1toPE2andPE3is:
A:PE1#configureroutermpls
interface"system"
noshutdown
exit
interface"intPE1P1"
noshutdown
exit
interface"intPE1PE2"
noshutdown
exit
path"loose"
noshutdown
exit
lsp"LSPPE1PE2"
to192.0.2.2
primary"loose"
exit
noshutdown
exit
lsp"LSPPE1PE3"
to192.0.2.3
primary"loose"
exit
noshutdown
exit
noshutdown

VPLSPEConfiguration
https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

6/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

PseudowireTemplates
PseudowiretemplatesareusedbyBGPtodynamicallyinstantiateServiceDistributionPoint(SDP)
bindings,foragivenservicetheyareusedtosignaltheegressservicedemultiplexorlabelsusedby
remotePEstoreachthelocalPE.
Thetemplatedeterminesthesignalingparametersofthepseudowire,controlwordpresence,plusother
usagecharacteristicssuchasSplitHorizonGroups,MACpinning,filters,etc.
TheMPLStransporttunnelbetweenPErouterscanbesignaledusingeitherLDPorRSVP.
LDPbasedpseudowirescanbeautomaticallyinstantiated.RSVPbasedSDPshavetobepre
provisioned.

PseudowireTemplatesforAutoSDPCreationusingLDP
InordertouseanLDPtransporttunnelfordataflowbetweenPEs,itisnecessaryforlinklayerLDPto
beconfiguredbetweenallPEs/PssothatatransportlabelforeachPEssysteminterfaceaddressis
available.UsingthismechanismSDPscanbeautoinstantiatedwithSDPidsstartingat17407.Any
subsequentSDPscreateduseSDPidsdecrementingfromthisvalue.
Apseudowiretemplateisrequiredwhichmaycontainasplithorizongroup.EachSDPcreatedwiththis
templateiscontainedwithintheconfiguredsplithorizongroupsothattrafficcannotbeforwarded
betweenthem.
A:PE1#configureservice
pwtemplate1create
splithorizongroup"vplsshg"
exit
exit

Apseudowiretemplatecanalsobecreatedthatdoesnotcontainasplithorizongroup.Thesplithorizon
groupcanthenbespecifiedwhenthepwtemplateisincludedwithintheservice.
A:PE1#

configureservice
pwtemplate2create
exit

PseudowireTemplatesforProvisionedSDPsusingRSVP
TouseanRSVPtunnelastransportbetweenPEs,itisnecessarytobindtheRSVPLSPstotheSDPs
betweeneachPE.
SDPcreationfromPE1toPE2:
A:PE1#configureservicesdp43mplscreate
farend192.0.2.2
lsp"LSPPE1PE2"
keepalive
shutdown
exit
noshutdown
https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

7/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

TocreateanSDPwithinaservicethatusestheRSVPtransporttunnel,apseudowiretemplateis
requiredthathastheuseprovisionedsdpparameter.
A:PE1#configureservice
pwtemplate3useprovisionedsdpcreate
exit
exit

VPLSBGPADusingAutoProvisionedSDPs

Figure58:VPLSInstancewithAutoProvisionedSDPs

Figure58showsaschematicofaVPLSinstancewheretheSDPsareautoprovisioned.SDPsare
instantiatedbyaPErouterusingLDPsignalinguponreceiptofBGPAutodiscovery(BGPAD)updates
frompeerPErouters.
PE1Configuration:
ThefollowingoutputshowstheconfigurationrequiredforaVPLSserviceusingapseudowiretemplate
configuredforautoprovisioningofSDPs.
A:PE1#configureservicevpls3customer1create
bgp
routedistinguisher65536:3
routetargetexporttarget:65536:3importtarget:65536:3
pwtemplatebinding2splithorizongroup"vplsshg"
importrt"target:65536:3"
exit
exit
bgpad
vplsid65536:3
vsiid
prefix192.0.2.1
exit
noshutdown
exit
stp
shutdown
exit
sap1/1/4:3.0create
exit
noshutdown
https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

8/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

Withinthebgpcontext,thepseudowiretemplateisreferencedwhichcanbelinkedtoasplithorizon
groupandanimportroutetarget,ifrequired.
Withinthebgpadcontext,thesignalingparametersareconfigured.Thesearetwoparametersusedby
eachPEtodeterminethepresenceofagivenVPLSinstanceonaPErouter.Inturn,thesearetranslated
intoendpointidentifiersforLDPsignalingofpseudowires.Aspreviouslydiscussed,theseparameters
are:

VPLSidauniqueidentifieroftheVPLSinstance.EachPEthatisamemberofaVPLSmust
sharethesameVPLSid.ThisisinsertedasanextendedcommunityvalueintheformatAS:n.In
thiscase,theVPLSidforVPLS3is65536:3.Thisisamandatoryparameterandifitisnot
configureditisnotpossibletoenablebgpadusingnoshutdown.

VirtualSwitchingInstance(VSI)prefixThisidentifiesaspecificinstanceoftheVPLS.This
mustbeuniquewithintheVPLSinstance,andisencodedusingthe4bytedotteddecimal
notation.GenerallythesystemaddressisusedastheVSIprefix.Ifthisparameterisnot
configured,thenthesystemaddressisusedautomatically.

TheVPLSidandVSIprefixforVPLS3oneachPEisshowninFigure58.
TheVPLSidandVSIprefixareconcatenatedtoformauniqueVSIid.Inthiscase,PE1hasaVSIid
of65536:3:192.0.2.1.ThisuniquelyidentifiestheVPLSinstanceoneachindividualPEandisadvertised
asanL2VPNBGPupdate.
ABGPADupdateistransmittedtoallotherPEsviatheRouteReflectorasfollows:
A:PE1#showrouterbgproutesl2vpnrd65536:3hunt
<snipped>

RIBOutEntries

RouteType:AutoDiscovery
RouteDist.:65536:3
Prefix:192.0.2.1
Nexthop:192.0.2.1
To:192.0.2.20
Res.Nexthop:n/a
LocalPref.:100InterfaceName:NotAvailable
AggregatorAS:NoneAggregator:None
AtomicAggr.:NotAtomicMED:0
AIGPMetric:None
Connector:None
Community:target:65536:3l2vpn/vrfimp:65536:3
Cluster:NoClusterMembers
OriginatorId:NonePeerRouterId:192.0.2.20
Origin:IGP
ASPath:NoAsPath
RouteTag:0
NeighborAS:N/A
OrigValidation:N/A
SourceClass:0DestClass:0

Routes:4
===============================================================================
A:PE1#

TheBGPupdateshownaboveistransmittedbyPE1andhasroutetypeAutoDiscovery.
InthisL2VPNupdate,theVPLSidisencodedastheL2VPNextendedcommunity.
TheVSIisseenastheprefix.ThiscombinationformstheVSIidanduniquelyidentifiestheVPLS
https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

9/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

instancewithinthisPErouter.
ThenexthopisalsoencodedasthelocalsystemIPaddress,whichallowsremotePEstoidentifya
suitabletransporttunneltoPE1andforthetargetedLDPpeerforinstantiatingtheSDP.
Ascanbeseenwithintheupdate,theVPLSidisalsousedtodeterminetheroutetargetextended
communityandtheroutedistinguisher.
PE2Configuration
OnPE2createaVPLSServiceusingpseudowiretemplate1,withVPLSid65536:3andVSIidprefix
192.0.2.2(systemIPaddress).
A:PE2#configureservice
vpls3customer1create
bgp
routedistinguisher65536:3
routetargetexporttarget:65536:3importtarget:65536:3
pwtemplatebinding2splithorizongroup"vplsshg"
importrt"target:65536:3"
exit
exit
bgpad
vplsid65536:3
vsiid
prefix192.0.2.2
exit
noshutdown
exit
stp
shutdown
exit
sap1/1/4:3.0create
exit
noshutdown
exit

PE3Configuration
CreateaVPLSInstanceonPE3:VPLSidisthesameasthatofPE1andPE2,withVSIidof
192.0.2.3(systemIPaddress).
A:PE3#configureservice
vpls3customer1create
bgp
routedistinguisher65536:3
routetargetexporttarget:65536:3importtarget:65536:3
pwtemplatebinding2splithorizongroup"vplsshg"
importrt"target:65536:3"
exit
exit
bgpad
vplsid65536:3
vsiid
prefix192.0.2.3
exit
noshutdown
exit
https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

10/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

stp
shutdown
exit
sap1/1/4:3.0create
exit
noshutdown
exit

PE1ServiceOperationVerification
VerifythattheserviceisoperationallyuponPE1.
A:PE1#showserviceid3base
===============================================================================
ServiceBasicInformation
===============================================================================
ServiceId:3VpnId:0
ServiceType:VPLS
Name:(NotSpecified)
Description:(NotSpecified)
CustomerId:1CreationOrigin:manual
LastStatusChange:11/04/201412:04:11
LastMgmtChange:11/04/201412:07:22
EtreeMode:Disabled
AdminState:UpOperState:Up
MTU:1514Def.MeshVCId:3
SAPCount:1SDPBindCount:2
SndFlushonFail:DisabledHostConnVerify:Disabled
PropagateMacFlush:DisabledPerSvcHashing:Disabled
AllowIPIntfBind:Disabled
Def.GatewayIP:None
Def.GatewayMAC:None
TempFloodTime:DisabledTempFlood:Inactive
TempFloodChgCnt:0
VSDDomain:<none>

ServiceAccess&DestinationPoints

IdentifierTypeAdmMTUOprMTUAdmOpr

sap:1/1/4:3.0qinq15221522UpUp
sdp:17405:4294967291SB(192.0.2.3)BgpAd01556UpUp
sdp:17407:4294967295SB(192.0.2.2)BgpAd01556UpUp
===============================================================================
A:PE1#

Asseenfromtheoutput,theserviceisoperationallyup,withtheSAPsandSDPsalsoup.TheSBflag
indicatesthattheSDPisoftypespokeBGP.
BGPisusedtodiscovertheVPLSendpointsandexchangenetworkreachabilityinformation.LDPis
usedtosignalthepseudowiresbetweenthePEs.
LDPsignalingoccurswheneachPEhasdiscoveredtheendpointsoftheVPLSinstance.Thiscompares
withtheuseoftheprovisionedvirtualcircuitIDsusedinanNMSprovisionedVPLSinstancesasper
RFC4762.
VerificationoftheabilityofPE1toreachtheotherPErouterswithVSIswithintheVPLSinstancecan
beseenfromtheLayer2routingtableasfollows:
*A:PE1#showservicel2routetablebgpad
========================================================================
Services:L2RouteInformationSummary
https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

11/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

========================================================================
SvcIdL2Routes(RDPrefix)NextHopOrigin
SdpBindIdPWTempId

3*65536:3192.0.2.2192.0.2.2BGPL2
17407:42949672952
3*65536:3192.0.2.3192.0.2.3BGPL2
17405:42949672912

No.ofL2RouteEntries:2
========================================================================
*A:PE1#

ThisoutputshowsthepresenceofthesignaledpseudowireSDPs.SDPsfromPE1toPE2andPE3are
signaledusingLDPForwardingEquivalenceClass(FEC)Element129.
EachPErouterusestargetedLDPtosignalthelocalandremoteendpoints.Ifthereisanendpointmatch,
thenSDPsareinstantiated.ThiscompareswiththeuseofLDPforNMSprovisionedSDPs,whichuses
virtualcircuitIDstosignalpseudowiresusingLDPFECElement128.
InordertosignaltheSDPs,thefollowingparametersarerequired:
1. AttachmentGroupIdentifier(AGI):thisisusedtocarrytheVPLSidofthelocalPErouterVPLS
instance.TheVPLSidmustbethesameforallPEsinthesameVPLSinstance.
2. SourceAttachmentIndividualIdentifier(SAII)andTargetAttachmentIndividualIdentifier(TAII):
TheseuseAIItype1(RFC4446)andareusedtocarrytheNRLI(VSIidminustheRD)ofthe
remotePErouterVPLSinstance.
TheAGIforeachPEmustbeidentical.SAIIandTAIImustbedifferent.
ThefollowingshowstheserviceLDPbindingsforVPLS3onPE1:
*A:PE1#showrouterldpbindingsserviceid3
===============================================================================
LDPLSRID:192.0.2.1
===============================================================================
Legend:ULabelInUse,NLabelNotInUse,WLabelWithdrawn
SStatusSignaledUp,DStatusSignaledDown
EEpipeService,VVPLSService,MMirrorService
AApipeService,FFpipeService,IIESService,RVPRNservice
PIpipeService,WPLabelWithdrawPending,CCpipeService
BUAlternateForFastReRoute,TLV(Type,Length:Value)
===============================================================================
LDPServiceFEC128Bindings
===============================================================================
TypeVCIdSvcIdSDPIdPeerIngLblEgrLblLMTURMTU

NoMatchingEntriesFound
===============================================================================

===============================================================================
LDPServiceFEC129Bindings
===============================================================================
AGISAII
TAII
TypeSvcIdSDPIdPeerIngLblEgrLblLMTURMTU

1,8:020A000100000003192.0.2.1
192.0.2.2
VEth317407192.0.2.2131032U131020S15001500

1,8:020A000100000003192.0.2.1
https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

12/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

192.0.2.3
VEth317405192.0.2.3131030U131030S15001500

No.ofFEC129s:2
===============================================================================
*A:PE1#

ThisshowsthetwoTLDPbindingsforPE1towardsPE2andPE3forVPLS3.
TheAGIentry1,8:020A000100000003isthedirectencodingfromtheAGITLVwithintheTLDFEC
129Elementasdescribedbythefollowing:
type1,length8,Variable(VPLSid)020A000100000003=65536:3
SAIILocalsystemIPaddress192.0.2.1
TAIIRemotesystemIPaddress192.0.2.2or192.0.2.3

TheingressandegresslabelscanalsobeseenfromtheSDPbindingsfromtheservice:
*A:PE1#showserviceid3sdp
===============================================================================
Services:ServiceDestinationPoints
===============================================================================
SdpIdTypeFarEndaddrAdmOprI.LblE.Lbl

17405:4294967291Bgp*192.0.2.3UpUp131030131030
17407:4294967295Bgp*192.0.2.2UpUp131032131020

NumberofSDPs:2

===============================================================================
*indicatesthatthecorrespondingrowelementmayhavebeentruncated.
*A:PE1#

TheSDPsareautoprovisionedSDPs,likeSDP17386towardsPE2and17385towardsPE3.Thelabel
bindingsfromtheSDPandLDPbindingoutputsareidentical.

PE2ServiceOperationVerification
Forcompleteness,verifytheserviceisoperationallyuponPE2.
*A:PE2#showserviceid3base
===============================================================================
ServiceBasicInformation
===============================================================================
ServiceId:3VpnId:0
ServiceType:VPLS
Name:(NotSpecified)
Description:(NotSpecified)
CustomerId:1CreationOrigin:manual
LastStatusChange:11/04/201412:04:34
LastMgmtChange:11/04/201412:07:21
EtreeMode:Disabled
AdminState:UpOperState:Up
MTU:1514Def.MeshVCId:3
SAPCount:1SDPBindCount:2
SndFlushonFail:DisabledHostConnVerify:Disabled
PropagateMacFlush:DisabledPerSvcHashing:Disabled
AllowIPIntfBind:Disabled
Def.GatewayIP:None
https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

13/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

Def.GatewayMAC:None
TempFloodTime:DisabledTempFlood:Inactive
TempFloodChgCnt:0
VSDDomain:<none>

ServiceAccess&DestinationPoints

IdentifierTypeAdmMTUOprMTUAdmOpr

sap:1/1/4:3.0qinq15221522UpUp
sdp:17405:4294967290SB(192.0.2.1)BgpAd01556UpUp
sdp:17407:4294967295SB(192.0.2.3)BgpAd01556UpUp
===============================================================================
*A:PE2#

*A:PE2#showservicel2routetablebgpad
========================================================================
Services:L2RouteInformationSummary
========================================================================
SvcIdL2Routes(RDPrefix)NextHopOrigin
SdpBindIdPWTempId

3*65536:3192.0.2.1192.0.2.1BGPL2
17405:42949672902
3*65536:3192.0.2.3192.0.2.3BGPL2
17407:42949672952

No.ofL2RouteEntries:2
========================================================================
*A:PE2#

*A:PE2#showrouterldpbindingsserviceid3
===============================================================================
LDPLSRID:192.0.2.2
===============================================================================
Legend:ULabelInUse,NLabelNotInUse,WLabelWithdrawn
SStatusSignaledUp,DStatusSignaledDown
EEpipeService,VVPLSService,MMirrorService
AApipeService,FFpipeService,IIESService,RVPRNservice
PIpipeService,WPLabelWithdrawPending,CCpipeService
BUAlternateForFastReRoute,TLV(Type,Length:Value)
===============================================================================
LDPServiceFEC128Bindings
===============================================================================
TypeVCIdSvcIdSDPIdPeerIngLblEgrLblLMTURMTU

NoMatchingEntriesFound
===============================================================================
===============================================================================
LDPServiceFEC129Bindings
===============================================================================
AGISAII
TAII
TypeSvcIdSDPIdPeerIngLblEgrLblLMTURMTU

1,8:020A000100000003192.0.2.2
192.0.2.1
VEth317405192.0.2.1131020U131032S15001500

1,8:020A000100000003192.0.2.2
192.0.2.3
VEth317407192.0.2.3131022U131032S15001500

https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

14/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

No.ofFEC129s:2
===============================================================================
*A:PE2#

*A:PE2#showserviceid3sdp
===============================================================================
Services:ServiceDestinationPoints
===============================================================================
SdpIdTypeFarEndaddrAdmOprI.LblE.Lbl

17405:4294967290Bgp*192.0.2.1UpUp131020131032
17407:4294967295Bgp*192.0.2.3UpUp131022131032

NumberofSDPs:2

===============================================================================
*indicatesthatthecorrespondingrowelementmayhavebeentruncated.
*A:PE2#

PE3ServiceOperationVerification
VerifyserviceisoperationallyuponPE3.
*A:PE3#showserviceid3base
===============================================================================
ServiceBasicInformation
===============================================================================
ServiceId:3VpnId:0
ServiceType:VPLS
Name:(NotSpecified)
Description:(NotSpecified)
CustomerId:1CreationOrigin:manual
LastStatusChange:11/04/201412:07:26
LastMgmtChange:11/04/201412:10:16
EtreeMode:Disabled
AdminState:UpOperState:Up
MTU:1514Def.MeshVCId:3
SAPCount:1SDPBindCount:2
SndFlushonFail:DisabledHostConnVerify:Disabled
PropagateMacFlush:DisabledPerSvcHashing:Disabled
AllowIPIntfBind:Disabled
Def.GatewayIP:None
Def.GatewayMAC:None
TempFloodTime:DisabledTempFlood:Inactive
TempFloodChgCnt:0
VSDDomain:<none>

ServiceAccess&DestinationPoints

IdentifierTypeAdmMTUOprMTUAdmOpr

sap:1/1/4:3.0qinq15221522UpUp
sdp:17405:4294967290SB(192.0.2.1)BgpAd01556UpUp
sdp:17407:4294967295SB(192.0.2.2)BgpAd01556UpUp
===============================================================================
*A:PE3#

*A:PE3#showservicel2routetablebgpad
========================================================================
Services:L2RouteInformationSummary
========================================================================
SvcIdL2Routes(RDPrefix)NextHopOrigin
SdpBindIdPWTempId

https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

15/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

3*65536:3192.0.2.1192.0.2.1BGPL2
17405:42949672902
3*65536:3192.0.2.2192.0.2.2BGPL2
17407:42949672952

No.ofL2RouteEntries:2
========================================================================
*A:PE3#

*A:PE3#showrouterldpbindingsserviceid3
===============================================================================
LDPLSRID:192.0.2.3
===============================================================================
Legend:ULabelInUse,NLabelNotInUse,WLabelWithdrawn
SStatusSignaledUp,DStatusSignaledDown
EEpipeService,VVPLSService,MMirrorService
AApipeService,FFpipeService,IIESService,RVPRNservice
PIpipeService,WPLabelWithdrawPending,CCpipeService
BUAlternateForFastReRoute,TLV(Type,Length:Value)
===============================================================================
LDPServiceFEC128Bindings
===============================================================================
TypeVCIdSvcIdSDPIdPeerIngLblEgrLblLMTURMTU

NoMatchingEntriesFound
===============================================================================

===============================================================================
LDPServiceFEC129Bindings
===============================================================================
AGISAII
TAII
TypeSvcIdSDPIdPeerIngLblEgrLblLMTURMTU

1,8:020A000100000003192.0.2.3
192.0.2.1
VEth317405192.0.2.1131030U131030S15001500

1,8:020A000100000003192.0.2.3
192.0.2.2
VEth317407192.0.2.2131032U131022S15001500

No.ofFEC129s:2
===============================================================================
*A:PE3#

*A:PE3#showserviceid3sdp
===============================================================================
Services:ServiceDestinationPoints
===============================================================================
SdpIdTypeFarEndaddrAdmOprI.LblE.Lbl

17405:4294967290Bgp*192.0.2.1UpUp131030131030
17407:4294967295Bgp*192.0.2.2UpUp131032131022

NumberofSDPs:2

===============================================================================
*indicatesthatthecorrespondingrowelementmayhavebeentruncated.
*A:PE3#

BGPADusingPreProvisionedSDPs
https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

16/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

ItispossibletoconfigureBGPADinstancesthatuseRSVPtransporttunnels.Inthiscase,theLSPsand
SDPsmustbemanuallycreated.

Figure59:VPLSInstanceusingPreProvisionedSDPs

Figure59showsaVPLSinstanceconfiguredacrossthreeProviderEdgeroutersasbefore.
TheSDPconfigurationsforthethreePEsareshownbelow:
SDPsonPE1
configureservice
sdp43mplscreate
farend192.0.2.2
lsp"LSPPE1PE2"
keepalive
shutdown
exit
noshutdown
exit
sdp44mplscreate
farend192.0.2.3
lsp"LSPPE1PE3"
keepalive
shutdown
exit
noshutdown
exit
exit

SDPsonPE2
configureservice
sdp45mplscreate
farend192.0.2.1
lsp"LSPPE2PE1"
keepalive
shutdown
exit
noshutdown
exit
sdp46mplscreate
farend192.0.2.3
https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

17/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

lsp"LSPPE2PE3"
keepalive
shutdown
exit
noshutdown
exit
exit

SDPsonPE3
configureservice
sdp47mplscreate
farend192.0.2.1
lsp"LSPPE3PE1"
keepalive
shutdown
exit
noshutdown
exit
sdp48mplscreate
farend192.0.2.2
lsp"LSPPE3PE2"
keepalive
shutdown
exit
noshutdown
exit
exit

ThepwtemplatethatistobeusedwithineachVPLSinstancemustbeprovisionedonallPEsandmust
usethekeyworduseprovisionedsdp.Thepwtemplatelookslike:
A:PE1#configureservice
pwtemplate3useprovisionedsdpcreate
exit
exit

ThisconfigurationmustberepeatedonbothPE2andPE3.
ThefollowingoutputshowstheconfigurationrequiredforaVPLSserviceusingapseudowiretemplate
configuredforpreprovisionedRSVPSDPs.
A:PE1#configureservicevpls4customer1create
bgp

routedistinguisher:65536:4

routetargetexporttarget:65536:4importtarget:65536:4

pwtemplatebinding3splithorizongroup"vplsshg"
importrt"target:65536:4"

exit
exit
bgpad
https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

18/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

vplsid65536:4
vsiid
prefix192.0.2.1
exit
noshutdown
exit
stp
shutdown
exit
sap1/1/4:4.0create
exit
noshutdown

Similarly,onPE2theconfigurationisshownbelow:
A:PE2#configureservicevpls4customer1create
bgp

routedistinguisher:65536:4
routetargetexporttarget:65536:4importtarget:65536:4
pwtemplatebinding3splithorizongroup"vplsshg"
importrt"target:65536:4"

exit
exit
bgpad
vplsid65536:4
vsiid
prefix192.0.2.2
exit
noshutdown
exit
stp
shutdown
exit
sap1/1/4:4.0create
exit
noshutdown

OnPE3:
A:PE3#configservicevpls4customer1create
bgp

routedistinguisher:65536:4

routetargetexporttarget:65536:4importtarget:65536:4

pwtemplatebinding3splithorizongroup"vplsshg"
importrt"target:65536:4"
exit
exit
bgpad
vplsid65536:4
vsiid
prefix192.0.2.3
exit
noshutdown
exit
stp
shutdown
exit
sap1/1/4:4.0create
exit
noshutdown

VerifythattheserviceisoperationallyuponPE1.
https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

19/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

*A:PE1#showserviceid4base
===============================================================================
ServiceBasicInformation
===============================================================================
ServiceId:4VpnId:0
ServiceType:VPLS
Name:(NotSpecified)
Description:(NotSpecified)
CustomerId:1CreationOrigin:manual
LastStatusChange:11/04/201412:04:11
LastMgmtChange:11/04/201412:54:15
EtreeMode:Disabled
AdminState:UpOperState:Up
MTU:1514Def.MeshVCId:4
SAPCount:1SDPBindCount:2
SndFlushonFail:DisabledHostConnVerify:Disabled
PropagateMacFlush:DisabledPerSvcHashing:Disabled
AllowIPIntfBind:Disabled
Def.GatewayIP:None
Def.GatewayMAC:None
TempFloodTime:DisabledTempFlood:Inactive
TempFloodChgCnt:0
VSDDomain:<none>

ServiceAccess&DestinationPoints

IdentifierTypeAdmMTUOprMTUAdmOpr

sap:1/1/4:4.0qinq15221522UpUp
sdp:43:4294967284S(192.0.2.2)BgpAd01556UpUp
sdp:44:4294967285S(192.0.2.3)BgpAd01556UpUp
===============================================================================
*A:PE1#

NotethattheSDPidentifiersarethepreprovisionedSDPs,i.e.SDP43and44.
Forcompleteness,verifytheserviceisoperationallyuponPE2.
*A:PE2#showserviceid4base
===============================================================================
ServiceBasicInformation
===============================================================================
ServiceId:4VpnId:0
ServiceType:VPLS
Name:(NotSpecified)
Description:(NotSpecified)
CustomerId:1CreationOrigin:manual
LastStatusChange:11/04/201412:04:34
LastMgmtChange:11/04/201412:54:08
EtreeMode:Disabled
AdminState:UpOperState:Up
MTU:1514Def.MeshVCId:4
SAPCount:1SDPBindCount:2
SndFlushonFail:DisabledHostConnVerify:Disabled
PropagateMacFlush:DisabledPerSvcHashing:Disabled
AllowIPIntfBind:Disabled
Def.GatewayIP:None
Def.GatewayMAC:None
TempFloodTime:DisabledTempFlood:Inactive
TempFloodChgCnt:0
VSDDomain:<none>

ServiceAccess&DestinationPoints

IdentifierTypeAdmMTUOprMTUAdmOpr

https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

20/21

1/16/2017

LDPVPLSusingBGPAutoDiscovery

sap:1/1/4:4.0qinq15221522UpUp
sdp:45:4294967284S(192.0.2.1)BgpAd01556UpUp
sdp:46:4294967285S(192.0.2.3)BgpAd01556UpUp
===============================================================================
*A:PE2#

VerifyserviceisoperationalonPE3.
*A:PE3#showserviceid4base
===============================================================================
ServiceBasicInformation
===============================================================================
ServiceId:4VpnId:0
ServiceType:VPLS
Name:(NotSpecified)
Description:(NotSpecified)
CustomerId:1CreationOrigin:manual
LastStatusChange:11/04/201412:07:26
LastMgmtChange:11/04/201412:56:35
EtreeMode:Disabled
AdminState:UpOperState:Up
MTU:1514Def.MeshVCId:4
SAPCount:1SDPBindCount:2
SndFlushonFail:DisabledHostConnVerify:Disabled
PropagateMacFlush:DisabledPerSvcHashing:Disabled
AllowIPIntfBind:Disabled
Def.GatewayIP:None
Def.GatewayMAC:None
TempFloodTime:DisabledTempFlood:Inactive
TempFloodChgCnt:0
VSDDomain:<none>

ServiceAccess&DestinationPoints

IdentifierTypeAdmMTUOprMTUAdmOpr

sap:1/1/4:4.0qinq15221522UpUp
sdp:47:4294967284S(192.0.2.1)BgpAd01556UpUp
sdp:48:4294967285S(192.0.2.2)BgpAd01556UpUp
===============================================================================
*A:PE3#

Conclusion
BGPAutodiscoverycoupledwithLDPpseudowiresignalingallowsthedeliveryofL2VPNservicesto
customerswhereBGPiscommonlyused.ThisexampleshowstheconfigurationofBGPAutodiscovery
togetherwiththeassociatedshowoutputswhichcanbeusedforverificationandtroubleshooting.

https://infoproducts.alcatellucent.com/html/0_addhf/930267HTML/7X50_Advanced_Configuration_Guide/LDPVPLSusingBGPAutoDiscovery.html

21/21

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