I will check that out, but I think that as long as both ends are the same (both with rewrite, or both without) it will work correctly.

I did solve this problem, though I'm not sure exactly what the true nature of the issue really is. As you noted, everything looks right, but I can't get any actual traffic across the VC. Upgrading to 16.7.1, without any other changes, makes it work.

--

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

On 1/12/2021 9:02 AM, James Bensley wrote:
On Wed, 6 Jan 2021 at 18:47, Jerry Bacon <[email protected]> wrote:
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?
Why would you want to? I think that if you do that, a VLAN tagged
frame coming into one end with VLAN 95, will be send over the
pseudoiwre with the VLAN tag still present, at the other end it will
have VLAN 95 push on egress, so it will leave the other end double
tagged with an inner and outer VLAN tag of 95.

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
^ everything looks fine here. Is this still not working? If not, did
you have it configured with the "rewrite" statement?

Cheers,
James.
_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to