VPWS (LDP and BGP) in Nokia (Alcatel-Lucent) SR OS and Cisco IOS XR

Anton Karneliuk. IT & Network Expert / Architect / Manager; Project Manager; Entrepreneur; 2x CCIE (RS/SP) #49412; MSc Telecommunications.

Leave a Reply

Comment as a guest.

  1. Hello Anton,

    This is wonderful post. I gave it a try and configured VWPS martini just like you shown in config. My LSP is UP and TLDP session is formed but SDP is in – SdpOperDown state. I am not sure what I miss here.
    *A:ALU_GA_4>config>service# show service id 1 sdp 1:1133 detail

    ===============================================================================
    Service Destination Point (Sdp Id : 1:1133) Details
    ===============================================================================
    ——————————————————————————-
    Sdp Id 1:1133 -(172.21.16.230)
    ——————————————————————————-
    Description : (Not Specified)
    SDP Id : 1:1133 Type : Spoke
    Spoke Descr : (Not Specified)
    VC Type : VLAN VC Tag : 0
    Admin Path MTU : 1514 Oper Path MTU : 1514
    Delivery : MPLS
    Far End : 172.21.16.230
    Tunnel Far End : n/a LSP Types : RSVP
    Hash Label : Disabled Hash Lbl Sig Cap : Disabled
    Oper Hash Label : Disabled

    Admin State : Up Oper State : Down
    Acct. Pol : None Collect Stats : Disabled
    Ingress Label : 131053 Egress Label : 24016
    Ingr Mac Fltr-Id : n/a Egr Mac Fltr-Id : n/a
    Ingr IP Fltr-Id : n/a Egr IP Fltr-Id : n/a
    Ingr IPv6 Fltr-Id : n/a Egr IPv6 Fltr-Id : n/a
    Admin ControlWord : Not Preferred Oper ControlWord : False
    Admin BW(Kbps) : 0 Oper BW(Kbps) : 0
    BFD Template : None
    BFD-Enabled : no BFD-Encap : ipv4
    Last Status Change : 05/19/2017 14:39:52 Signaling : TLDP
    Last Mgmt Change : 05/19/2017 14:39:17
    Endpoint : N/A Precedence : 4
    PW Status Sig : Enabled
    Force Vlan-Vc : Disabled
    Class Fwding State : Down
    Flags : SdpOperDown
    Local Pw Bits : psnIngressFault psnEgressFault
    Peer Pw Bits : psnEgressFault
    Peer Fault Ip : None
    Peer Vccv CV Bits : lspPing
    Peer Vccv CC Bits : mplsRouterAlertLabel mplsPwDemultiplexorLabel

    Application Profile: None
    Transit Policy : None
    Standby Sig Slave : False
    Block On Peer Fault: False
    Use SDP B-MAC : False

    Ingress Qos Policy : (none) Egress Qos Policy : (none)
    Ingress FP QGrp : (none) Egress Port QGrp : (none)
    Ing FP QGrp Inst : (none) Egr Port QGrp Inst: (none)

    KeepAlive Information :
    Admin State : Enabled Oper State : No response
    Hello Time : 10 Hello Msg Len : 0
    Max Drop Count : 3 Hold Down Time : 10

    Statistics :
    I. Fwd. Pkts. : 0 I. Dro. Pkts. : 0
    E. Fwd. Pkts. : 0 E. Fwd. Octets : 0

    ——————————————————————————-
    Control Channel Status
    ——————————————————————————-
    PW Status : disabled Refresh Timer :
    Peer Status Expire : false
    Request Timer :
    Acknowledgement : false

    ——————————————————————————-
    ETH-CFM SDP-Bind specifics
    ——————————————————————————-
    Squelch Levels : None

    ——————————————————————————-
    RSVP/Static LSPs
    ——————————————————————————-
    Associated LSP List :
    Lsp Name : ALU4-to-NCS2
    Admin State : Up Oper State : Up
    Time Since Last Tr*: 00h39m33s

    ——————————————————————————-
    Class-based forwarding :
    ——————————————————————————-
    Class forwarding : Disabled EnforceDSTELspFc : Disabled
    Default LSP : Uknwn Multicast LSP : None

    ===============================================================================
    FC Mapping Table
    ===============================================================================
    FC Name LSP Name
    ——————————————————————————-
    No FC Mappings

    ——————————————————————————-
    Number of SDPs : 1
    ——————————————————————————-
    ===============================================================================
    * indicates that the corresponding row element may have been truncated.

  2. Okay I got it working.. by default Keepalives are ON under SDP. Keepalives uses ALU prop OAM and does not interop with XR. Therefore shutdown the keepalive and SDP will come operationally UP.

    sdp 1 mpls create
    far-end 172.21.16.230
    lsp “SR-to-XR”
    path-mtu 1514
    keep-alive
    shutdown
    exit
    no shutdown
    exit

  3. So my SDP and Epipe is UP at ALU side but XR xconnect is still down –

    RP/0/0/CPU0:NCS2(config-l2vpn-pwc-mpls)#do show l2vpn xconnect group CUSTOMER_$
    Fri May 19 23:33:16.681 UTC

    Group CUSTOMER_A, XC VPWS-LDP, state is down; Interworking none
    AC: GigabitEthernet0/0/0/0.111, state is up
    Type VLAN; Num Ranges: 1
    VLAN ranges: [111, 111]
    MTU 1500; XC ID 0x2; interworking none
    Statistics:
    packets: received 0, sent 0
    bytes: received 0, sent 0
    drops: illegal VLAN 0, illegal length 0
    PW: neighbor 172.21.16.243, PW ID 1133, state is down ( all ready )
    PW class VPWS_CW, XC ID 0xfff80003
    Encapsulation MPLS, protocol LDP
    Source address 172.21.16.230
    PW type Ethernet VLAN, control word disabled, interworking none
    PW backup disable delay 0 sec
    Sequencing not set

    PW Status TLV in use
    MPLS Local Remote
    ———— —————————— —————————–
    Label 24016 131056
    Group ID 0x60 unknown
    Interface GigabitEthernet0/0/0/0.111 unknown
    MTU 1500 1500
    Control word disabled disabled
    PW type Ethernet VLAN Ethernet VLAN
    VCCV CV type 0x2 0x6
    (LSP ping verification) (LSP ping verification)
    (BFD PW FD only)
    VCCV CC type 0x6 0x2
    (router alert label) (router alert label)
    (TTL expiry)
    ———— —————————— —————————–
    Incoming Status (PW Status TLV):
    Status code: 0x0 (Up) in Notification message
    Outgoing Status (PW Status TLV):
    Status code: 0x10 (PW Down) in Notification message
    MIB cpwVcIndex: 4294443011
    Create time: 18/05/2017 22:42:13 (1d00h ago)
    Last time status changed: 19/05/2017 23:33:03 (00:00:13 ago)
    Last time PW went down: 19/05/2017 22:46:05 (00:47:11 ago)
    Statistics:
    packets: received 0, sent 0
    bytes: received 0, sent 0
    RP/0/0/CPU0:NCS2(config-l2vpn-pwc-mpls)#end
    RP/0/0/CPU0:NCS2#sh route 172.21.16.243
    Fri May 19 23:33:56.698 UTC

    Routing entry for 172.21.16.243/32
    Known via “te-client”, distance 2, metric 20 (connected)
    Installed May 19 22:45:54.095 for 00:48:02
    Routing Descriptor Blocks
    directly connected, via tunnel-te1133
    Route metric is 20
    No advertising protos.

  4. When I use your configuration for BGP based VPWS. My SDP on ALU side is UP but XR side PW is down. I am not sure how to enable control word and map the PW to my TE tunnel. I disable the Control word and mapped the PW with Preferred-path command in LDP based VPWS and it did the trick for me. Want to do the same for BGP based VPWS but do not see the option under “mp2mp”. Pasting the XR output:

    RP/0/0/CPU0:NCS2#show l2vpn xconnect mp2mp detail
    Wed May 24 16:39:52.116 UTC
    Group CUSTOMER_A, MP2MP VPWS-BGP, state: up
    MP2MP ID: 0
    VPN ID: 3311
    VPN MTU: 1500
    L2 Encapsulation: VLAN
    Auto Discovery: BGP, state is Provisioned (Service Connected)
    Route Distinguisher: 172.21.16.230:1
    Import Route Targets:
    65000:1
    Export Route Targets:
    65000:1
    Signaling protocol:BGP
    CE Range:10

    Group CUSTOMER_A, XC VPWS-BGP.33:11, state is down; Interworking none
    Local CE ID: 33, Remote CE ID: 11, Discovery State: Advertised
    AC: GigabitEthernet0/0/0/0.222, state is up
    Type VLAN; Num Ranges: 1
    VLAN ranges: [222, 222]
    MTU 1496; XC ID 0x3; interworking none
    Statistics:
    packets: received 0, sent 0
    bytes: received 0, sent 0
    drops: illegal VLAN 0, illegal length 0
    PW: neighbor 172.21.16.243, PW ID 2162699, state is down ( all ready )
    PW class not set, XC ID 0xfff80001
    Encapsulation MPLS, Auto-discovered (BGP), protocol BGP
    Source address 172.21.16.230
    PW type Ethernet VLAN, control word disabled, interworking none
    PW backup disable delay 0 sec
    Sequencing not set

    MPLS Local Remote
    ———— —————————— —————————–
    Label 24030 131069
    MTU 1496 1500
    Control word disabled enabled
    PW type Ethernet VLAN Ethernet VLAN
    CE-ID 33 11
    ———— —————————— —————————–
    MIB cpwVcIndex: 4294443009
    Create time: 24/05/2017 16:27:16 (00:12:35 ago)
    Last time status changed: 24/05/2017 16:27:16 (00:12:35 ago)
    Statistics:
    packets: received 0, sent 0
    bytes: received 0, sent 0

    1. Hi Amit,
      I don’t use here preferred path at IOS XR side, so you don’t use exactly my configuration. Could you post your configuration of L2VPN from Nokia SR OS and Cisco IOS XR side?
      BR
      Anton

Read Next

Sliding Sidebar