[c-nsp] ASR9K to ASR920 MPLS issue

Jerry Bacon jerryb at startouch.com
Wed Jan 6 13:47:01 EST 2021


This is exactly what I started with, but it didn't work, which is why I 
tried some other things. I have reverted to this configuration.

Can I omit the "rewrite ..." on both sides?

Here's the status on both sides:

RP/0/RSP0/CPU0:startouch-9k-1#show l2vpn xconnect pw-id 95 detail
Wed Jan  6 10:39:49.276 PST

Group mpls1, XC test1, state is up; Interworking none
   AC: TenGigE0/0/1/0.95, state is up
     Type VLAN; Num Ranges: 1
     Rewrite Tags: []
     VLAN ranges: [95, 95]
     MTU 9100; XC ID 0x1200014; interworking none
     Statistics:
       packets: received 811907, sent 28
       bytes: received 55209904, sent 2166
       drops: illegal VLAN 0, illegal length 0
   PW: neighbor 10.100.66.1, PW ID 95, state is up ( established )
     PW class not set, XC ID 0xa0000003
     Encapsulation MPLS, protocol LDP
     Source address 10.100.25.11
     PW type Ethernet, control word disabled, interworking none
     PW backup disable delay 0 sec
     Sequencing not set
     LSP : Up

     PW Status TLV in use
       MPLS         Local                          Remote
       ------------ ------------------------------ 
-----------------------------
       Label        83377                          165
       Group ID     0x40001c0                      0x1f
       Interface    TenGigE0/0/1/0.95              test1
       MTU          9100                           9100
       Control word disabled                       disabled
       PW type      Ethernet                       Ethernet
       VCCV CV type 0x2                            0x2
                    (LSP ping verification)        (LSP ping verification)
       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: 0x0 (Up) in Notification message
     MIB cpwVcIndex: 2684354563
     Create time: 06/01/2021 10:27:29 (00:12:20 ago)
     Last time status changed: 06/01/2021 10:27:45 (00:12:04 ago)
     Statistics:
       packets: received 28, sent 811907
       bytes: received 2166, sent 55209904

startouch-asr920-rtr#show mpls l2t vc 95 det
Local interface: Te0/0/25 up, line protocol up, Eth VLAN 95 up
   Interworking type is Ethernet
   Destination address: 10.100.25.11, VC ID: 95, VC status: up
     Output interface: BD3268, imposed label stack {83377}
     Preferred path: not configured
     Default path: active
     Next hop: 10.100.66.74
   Create time: 00:16:26, last status change time: 00:14:35
     Last label FSM state change time: 00:14:45
     Last peer autosense occurred at: 00:14:45
   Signaling protocol: LDP, peer 10.100.25.11:0 up
     Targeted Hello: 10.100.66.1(LDP Id) -> 10.100.25.11, LDP is UP
     Graceful restart: configured and not enabled
     Non stop routing: not configured and not enabled
     Status TLV support (local/remote)   : enabled/supported
       LDP route watch                   : enabled
       Label/status state machine        : established, LruRru
       Last local dataplane   status rcvd: No fault
       Last BFD dataplane     status rcvd: Not sent
       Last BFD peer monitor  status rcvd: No fault
       Last local AC  circuit status rcvd: No fault
       Last local AC  circuit status sent: No fault
       Last local PW i/f circ status rcvd: No fault
       Last local LDP TLV     status sent: No fault
       Last remote LDP TLV    status rcvd: No fault
       Last remote LDP ADJ    status rcvd: No fault
     MPLS VC labels: local 165, remote 83377
     Group ID: local 31, remote 67109312
     MTU: local 9100, remote 9100
     Remote interface description: TenGigE0_0_1_0.95
   Sequencing: receive disabled, send disabled
   Control Word: Off (configured: autosense)
   SSO Descriptor: 10.100.25.11/95, local label: 165
   Dataplane:
     SSM segment/switch IDs: 90237/65659 (used), PWID: 24
   VC statistics:
     transit packet totals: receive 442, send 1
     transit byte totals:   receive 31804, send 90
     transit packet drops:  receive 0, seq error 0, send 0

-- 

Jerry Bacon
Senior Network Engineer
StarTouch, Inc.
http://www.startouch.com
360-543-5679 ext. 111
Microwave - Fiber Optics - Internet Services

On 1/6/2021 2:30 AM, James Bensley wrote:
> Hi Jerry,
>
> I would update the config as follows (if you're just doing a basic P2P
> pseudowire, go for the KISS approach):
>
>> ASR9K:
> interface TenGigE0/0/1/0.95 l2transport
>   encapsulation dot1q 95
>   rewrite ingress tag pop 1 symmetric
>   mtu 9118        ! Needs to be +14 for Ethernet +4 for VLAN tag on IOS-XR
>> l2vpn
>>    xconnect group mpls1
>>     p2p test1
>>      interface TenGigE0/0/1/0.95
>>      neighbor ipv4 10.100.66.1 pw-id 95
>> ASR920:
>> interface TenGigabitEthernet0/0/25
>>    mtu 9100          !     Excludes Ethernet and VLAN tag on IOS-XE
>>    no ip address
>>    cdp enable
>>    service instance 95 ethernet
>>     encapsulation dot1q 95
>        rewrite ingress tag pop 1 symmetric
>        xconnect 10.100.25.11 95 encapsulation mpls
>
>
> Then remove this unless you want to set up a VPLS/P2MP/MP2MP L2 VPN:
>
>> l2vpn xconnect context test1
>>    member TenGigabitEthernet0/0/25 service-instance 95
>>    member 10.100.25.11 95 encapsulation mpls
>
> If that doesn't work provide us with full the output of "show l2vpn
> xconnect pw-id 95 detail" from the ASR9K/IOS-XR and equivalent from
> the ASR920/XE.


More information about the cisco-nsp mailing list