Date created: Thursday, November 11, 2021 10:16:17 AM. Last modified: Thursday, November 11, 2021 10:21:57 AM

Access PWs

Scenario:

Two pseudowires from a single remote PE "ar0" are configured, using two different sub-interfaces (Te0/1/0/2/9.570 and .577) on the remote PE as the PW attachment circuits. These are stitched through a pseudowire stitching PE "sr13" to an NCS540 "ma0". The NCS540 terminates both pseudowires in the same bridge domain, with no local attachment circuit, effectively looping them together. In Cisco terminology this is called "Access PW":

 

Topology:

 

Configs:

# ma0
l2vpn
pw-class PW5-CW
encapsulation mpls
protocol ldp
control-word
transport-mode ethernet
ipv4 source 10.120.0.3
root

l2vpn
bridge group test
bridge-domain test
mtu 1786
neighbor 10.38.34.252 pw-id 570
pw-class PW5-CW
exit
neighbor 10.38.34.252 pw-id 577
pw-class PW5-CW

# sr13
/config service epipe 1150406 name "PW577" customer 70 vc-switching create
/config service epipe 1150406 shutdown
/config service epipe 1150406 service-mtu 1800
/config service epipe 1150406 spoke-sdp 3:577 create
/config service epipe 1150406 spoke-sdp 3:577 shutdown
/config service epipe 1150406 spoke-sdp 3:577 control-word
/config service epipe 1150406 spoke-sdp 3:577 no shutdown
/config service epipe 1150406 spoke-sdp 5540:577 create
/config service epipe 1150406 spoke-sdp 5540:577 shutdown
/config service epipe 1150406 spoke-sdp 5540:577 control-word
/config service epipe 1150406 spoke-sdp 5540:577 no shutdown
/config service epipe 1150406 no shutdown

/config service epipe 1150407 name "PW570" customer 70 vc-switching create
/config service epipe 1150407 shutdown
/config service epipe 1150407 service-mtu 1800
/config service epipe 1150407 spoke-sdp 3:570 create
/config service epipe 1150407 spoke-sdp 3:570 shutdown
/config service epipe 1150407 spoke-sdp 3:570 control-word
/config service epipe 1150407 spoke-sdp 3:570 no shutdown
/config service epipe 1150407 spoke-sdp 5540:570 create
/config service epipe 1150407 spoke-sdp 5540:570 shutdown
/config service epipe 1150407 spoke-sdp 5540:570 control-word
/config service epipe 1150407 spoke-sdp 5540:570 no shutdown
/config service epipe 1150407 no shutdown

# ar0
interface TenGigE0/1/0/2/9
mtu 1800
no shutdown
exit

interface TenGigE0/1/0/2/9.570 l2transport
encapsulation dot1q 570
rewrite ingress tag pop 1 symmetric
exit

interface TenGigE0/1/0/2/9.577 l2transport
encapsulation dot1q 577
rewrite ingress tag pop 1 symmetric
exit

l2vpn
pw-class PW5-CW
encapsulation mpls
protocol ldp
control-word
transport-mode ethernet
ipv4 source 10.127.255.40
root

l2vpn
xconnect group test
p2p VCID_570
interface TenGigE0/1/0/2/9.570
neighbor ipv4 10.38.34.252 pw-id 570
pw-class PW5-CW
exit
exit
p2p VCID_577
interface TenGigE0/1/0/2/9.577
neighbor ipv4 10.38.34.252 pw-id 577
pw-class PW5-CW

 

Outputs:

RP/0/RP0/CPU0:ma0#show l2vpn bridge-domain bd-name test
Tue Nov 9 14:29:06.864 GMT
Legend: pp = Partially Programmed.
Bridge group: test, bridge-domain: test, id: 6, state: up, ShgId: 0, MSTi: 0
Aging: 300 s, MAC limit: 64000, Action: none, Notification: syslog
Filter MAC addresses: 0
ACs: 0 (0 up), VFIs: 0, PWs: 2 (2 up), PBBs: 0 (0 up), VNIs: 0 (0 up)
List of ACs:
List of Access PWs:
Neighbor 10.38.34.252 pw-id 570, state: up, Static MAC addresses: 0
Neighbor 10.38.34.252 pw-id 577, state: up, Static MAC addresses: 0
List of VFIs:
List of Access VFIs:

RP/0/RP0/CPU0:ma0#show l2vpn bridge-domain bd-name test pw-id 570 detail
Tue Nov 9 14:29:18.177 GMT
Legend: pp = Partially Programmed.
Bridge group: test, bridge-domain: test, id: 6, state: up, ShgId: 0, MSTi: 0
Coupled state: disabled
VINE state: Default
MAC learning: enabled
MAC withdraw: enabled
MAC withdraw for Access PW: enabled
MAC withdraw sent on: bridge port up
MAC withdraw relaying (access to access): disabled
Flooding:
Broadcast & Multicast: enabled
Unknown unicast: enabled
MAC aging time: 300 s, Type: inactivity
MAC limit: 64000, Action: none, Notification: syslog
MAC limit reached: no, threshold: 75%
MAC port down flush: enabled
MAC Secure: disabled, Logging: disabled
Split Horizon Group: none
Dynamic ARP Inspection: disabled, Logging: disabled
IP Source Guard: disabled, Logging: disabled
DHCPv4 Snooping: disabled
DHCPv4 Snooping profile: none
IGMP Snooping: disabled
IGMP Snooping profile: none
MLD Snooping profile: none
Storm Control: disabled
Bridge MTU: 1786
MIB cvplsConfigIndex: 7
Filter MAC addresses:
P2MP PW: disabled
Multicast Source: Not Set
Create time: 09/11/2021 14:07:53 (00:21:25 ago)
No status change since creation
ACs: 0 (0 up), VFIs: 0, PWs: 2 (2 up), PBBs: 0 (0 up), VNIs: 0 (0 up)
List of Access PWs: PW: neighbor 10.38.34.252, PW ID 570, state is up ( established ) PW class PW5-CW, XC ID 0xc0000087 Encapsulation MPLS, protocol LDP Source address 10.120.0.3 PW type Ethernet, control word enabled, interworking none PW backup disable delay 0 sec Sequencing not set Ignore MTU mismatch: Disabled Transmit MTU zero: Disabled LSP : Up PW Status TLV in use MPLS Local Remote ------------ ------------------------------ --------------------------- Label 24144 262132 Group ID 0x6 0x0 Interface Access PW unknown MTU 1786 1786 Control word enabled enabled PW type Ethernet Ethernet VCCV CV type 0x2 0x2 (LSP ping verification) (LSP ping verification) VCCV CC type 0x7 0x1 (control word) (control word) (router alert label) (TTL expiry) ------------ ------------------------------ --------------------------- Incoming PW Switching TLVs (Label Mapping message): Local IP Address: 10.38.34.252, Remote IP Address: 10.127.255.40, PW ID: 570 Description: Incoming Status (PW Status TLV): Status code: 0x0 (Up) in Notification message MIB cpwVcIndex: 3221225607 Create time: 09/11/2021 14:07:53 (00:21:25 ago) Last time status changed: 09/11/2021 14:25:33 (00:03:45 ago) Last time PW went down: 09/11/2021 14:21:23 (00:07:55 ago) MAC withdraw messages: sent 0, received 0 Forward-class: 0 Static MAC addresses: Statistics: packets: received 0 (unicast 0), sent 0 bytes: received 0 (unicast 0), sent 0 MAC move: 0 Storm control drop counters: packets: broadcast 0, multicast 0, unknown unicast 0 bytes: broadcast 0, multicast 0, unknown unicast 0 MAC learning: enabled Flooding: Broadcast & Multicast: enabled Unknown unicast: enabled MAC aging time: 300 s, Type: inactivity MAC limit: 64000, Action: none, Notification: syslog MAC limit reached: no, threshold: 75% MAC port down flush: enabled MAC Secure: disabled, Logging: disabled Split Horizon Group: none E-Tree: Root DHCPv4 Snooping: disabled DHCPv4 Snooping profile: none IGMP Snooping: disabled IGMP Snooping profile: none MLD Snooping profile: none Storm Control: bridge-domain policer List of VFIs: List of Access VFIs:





*A:sr13# show service sdp-using | match expression ":577|:570"
1150406 3:577 Spok 10.120.0.3 Up 259996 24145
1150406 5540:577 Spok 10.127.255.40 Up 259995 24183
1150407 3:570 Spok 10.120.0.3 Up 262132 24144
1150407 5540:570 Spok 10.127.255.40 Up 262081 24154

*A:sr13# /show service id 1150406 sdp 3:577 detail =============================================================================== Service Destination Point (Sdp Id : 3:577) Details =============================================================================== ------------------------------------------------------------------------------- Sdp Id 3:577 -(10.120.0.3) ------------------------------------------------------------------------------- Description : ma0 SDP Id : 3:577 Type : Spoke Spoke Descr : (Not Specified) VC Type : Ether VC Tag : n/a Admin Path MTU : 2000 Oper Path MTU : 2000 Delivery : MPLS Far End : 10.120.0.3 Tunnel Far End : 10.120.0.3 LSP Types : LDP Hash Label : Disabled Hash Lbl Sig Cap : Disabled Oper Hash Label : Disabled Entropy Label : Disabled Admin State : Up Oper State : Up MinReqd SdpOperMTU : 1804 Acct. Pol : None Collect Stats : Disabled Ingress Label : 259996 Egress Label : 24145 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 : Preferred Oper ControlWord : True Admin BW(Kbps) : 0 Oper BW(Kbps) : 0 BFD Template : None BFD-Enabled : no BFD-Encap : ipv4 Last Status Change : 11/09/2021 14:25:33 Signaling : TLDP Last Mgmt Change : 11/09/2021 14:25:06 Endpoint : N/A Precedence : 4 PW Status Sig : Enabled Force Vlan-Vc : Disabled Force Qinq-Vc : Disabled Class Fwding State : Down Flags : None Local Pw Bits : None Peer Pw Bits : None Peer Fault Ip : None Peer Vccv CV Bits : lspPing Peer Vccv CC Bits : pwe3ControlWord 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 : Disabled Oper State : Disabled Hello Time : 10 Hello Msg Len : 0 Max Drop Count : 3 Hold Down Time : 10 Statistics : I. Fwd. Pkts. : 1578626727 I. Dro. Pkts. : 0 I. Fwd. Octs. : 88403096712 I. Dro. Octs. : 0 E. Fwd. Pkts. : 0 E. Fwd. Octets : 0

*A:sr13# /show service id 1150406 sdp 5540:577 detail =============================================================================== Service Destination Point (Sdp Id : 5540:577) Details =============================================================================== ------------------------------------------------------------------------------- Sdp Id 5540:577 -(10.127.255.40) ------------------------------------------------------------------------------- Description : ar0 SDP Id : 5540:577 Type : Spoke Spoke Descr : (Not Specified) VC Type : Ether VC Tag : n/a Admin Path MTU : 2000 Oper Path MTU : 2000 Delivery : MPLS Far End : 10.127.255.40 Tunnel Far End : 10.127.255.40 LSP Types : LDP Hash Label : Disabled Hash Lbl Sig Cap : Disabled Oper Hash Label : Disabled Entropy Label : Disabled Admin State : Up Oper State : Up MinReqd SdpOperMTU : 1804 Acct. Pol : None Collect Stats : Disabled Ingress Label : 259995 Egress Label : 24183 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 : Preferred Oper ControlWord : True Admin BW(Kbps) : 0 Oper BW(Kbps) : 0 BFD Template : None BFD-Enabled : no BFD-Encap : ipv4 Last Status Change : 11/09/2021 14:25:33 Signaling : TLDP Last Mgmt Change : 11/09/2021 14:25:06 Endpoint : N/A Precedence : 4 PW Status Sig : Enabled Force Vlan-Vc : Disabled Force Qinq-Vc : Disabled Class Fwding State : Down Flags : None Local Pw Bits : None Peer Pw Bits : None Peer Fault Ip : None Peer Vccv CV Bits : lspPing Peer Vccv CC Bits : pwe3ControlWord 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 : Disabled Oper State : Disabled Hello Time : 10 Hello Msg Len : 0 Max Drop Count : 3 Hold Down Time : 10 Statistics : I. Fwd. Pkts. : 0 I. Dro. Pkts. : 0 I. Fwd. Octs. : 0 I. Dro. Octs. : 0 E. Fwd. Pkts. : 1578626727 E. Fwd. Octets : 88403096712






RP/0/RSP0/CPU0:ar0#show l2vpn xconnect pw-id 570 detail
Tue Nov 9 14:30:40.304 GMT

Group test, XC VCID_570, state is up; Interworking none AC: TenGigE0/0/0/2/8.570, state is up Type VLAN; Num Ranges: 1 Rewrite Tags: [] VLAN ranges: [570, 570] MTU 1786; XC ID 0x30; interworking none Statistics: packets: received 1910374724, sent 0 bytes: received 114622483440, sent 0 drops: illegal VLAN 0, illegal length 0 PW: neighbor 10.38.34.252, PW ID 570, state is up ( established ) PW class PW5-CW, XC ID 0xa0000041 Encapsulation MPLS, protocol LDP Source address 10.127.255.40 PW type Ethernet, control word enabled, interworking none PW backup disable delay 0 sec Sequencing not set Ignore MTU mismatch: Disabled Transmit MTU zero: Disabled LSP : Up Load Balance Hashing: src-dst-ip PW Status TLV in use MPLS Local Remote ------------ ------------------------------ ----------------------------- Label 24154 262081 Group ID 0x540 unknown Interface TenGigE0/0/0/2/8.570 unknown MTU 1786 1786 Control word enabled enabled PW type Ethernet Ethernet VCCV CV type 0x2 0x2 (LSP ping verification) (LSP ping verification) VCCV CC type 0x7 0x1 (control word) (control word) (router alert label) (TTL expiry) ------------ ------------------------------ ----------------------------- Incoming PW Switching TLVs (Label Mapping message): Local IP Address: 10.38.34.252, Remote IP Address: 10.120.0.3, PW ID: 570 Description: 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: 2684354625 Create time: 09/11/2021 13:43:34 (00:47:06 ago) Last time status changed: 09/11/2021 14:25:33 (00:05:07 ago) Last time PW went down: 09/11/2021 14:21:23 (00:09:17 ago) Statistics: packets: received 0, sent 1910374724 bytes: received 0, sent 114622483440

 


Previous page: 6500/7600 MUX UNI
Next page: L2 & L3 EFPs over EoMPLS