The other solution is a stitched LT configuration. One LT is the L3
endpoint, the other is the PW endpoint. You use VPWS with this one. I
suppose you might be able to do VPLS instead if you wanted to. I am
running eBGP on this circuit too. It's a bit more complicated for
troubleshooting. I'm not sure what benefit this has over the IRB method.
Again, Junos 15.1R6.7:
show configuration interfaces lt-0/0/10 | display set
set interfaces lt-0/0/10 mtu 9192
set interfaces lt-0/0/10 unit 998 description LT-0/0/0.998->VLAN_998->PW
set interfaces lt-0/0/10 unit 998 encapsulation vlan-ccc
set interfaces lt-0/0/10 unit 998 vlan-id 998
set interfaces lt-0/0/10 unit 998 peer-unit 10998
set interfaces lt-0/0/10 unit 998 family ccc
set interfaces lt-0/0/10 unit 10998 description LT-0/0/0.10998->VLAN_998->L3
set interfaces lt-0/0/10 unit 10998 encapsulation vlan
set interfaces lt-0/0/10 unit 10998 vlan-id 998
set interfaces lt-0/0/10 unit 10998 peer-unit 998
set interfaces lt-0/0/10 unit 10998 family inet address 10.240.16.97/30
show configuration protocols l2circuit | display set
set protocols l2circuit neighbor 10.240.0.73 interface lt-0/0/10.998
virtual-circuit-id 998
set protocols l2circuit neighbor 10.240.0.73 interface lt-0/0/10.998 mtu
9100
show l2circuit connections
Layer-2 Circuit Connections:
Legend for connection status (St)
EI -- encapsulation invalid NP -- interface h/w not present
MM -- mtu mismatch Dn -- down
EM -- encapsulation mismatch VC-Dn -- Virtual circuit Down
CM -- control-word mismatch Up -- operational
VM -- vlan id mismatch CF -- Call admission control failure
OL -- no outgoing label IB -- TDM incompatible bitrate
NC -- intf encaps not CCC/TCC TM -- TDM misconfiguration
BK -- Backup Connection ST -- Standby Connection
CB -- rcvd cell-bundle size bad SP -- Static Pseudowire
LD -- local site signaled down RS -- remote site standby
RD -- remote site signaled down HS -- Hot-standby Connection
XX -- unknown
Legend for interface status
Up -- operational
Dn -- down
Neighbor: 10.240.0.73
Interface Type St Time last up # Up trans
lt-0/0/10.998(vc 998) rmt Up Mar 18 19:14:28 2018 1
Remote PE: 10.240.0.73, Negotiated control-word: No
Incoming label: 347440, Outgoing label: 52785
Negotiated PW status TLV: No
Local interface: lt-0/0/10.998, Status: Up, Encapsulation: VLAN
Flow Label Transmit: No, Flow Label Receive: No
The PE is again a Dell S4048-ON running IPI OcNOS v1.3.3
sh run mpls
!
mpls l2-circuit VLAN_BASED_PW_0998 998 10.240.0.11
!
router ldp
router-id 10.240.0.73
targeted-peer ipv4 10.240.0.11
exit-targeted-peer-mode
transport-address ipv4 10.240.0.73
sh run int xe4
!
interface xe4
description XE4->POD1-3550-S1_GI0/2
speed 1g
switchport
load-interval 30
mtu 9100
mpls-l2-circuit VLAN_BASED_PW_0998 vlan 998 tpid 8100
sh ldp mpls-l2-circuit detail
vcid: 998 type: vlan, local groupid: 0, remote groupid: 0 (vc is up)
destination: 10.240.0.11, Peer LDP Ident: 10.240.0.11
Local label: 52785, remote label: 347440
Access IF: xe4, Network IF: xe2
Local MTU: 9100, Remote MTU: 9100 <--THIS IS SUPER HANDY - IT WILL SHOW
YOUR REMOTE MTU EVEN IF THE CIRCUIT IS DOWN
Local Control Word: disabled, Remote Control Word: disabled, Current use:
disabled
Local PW Status Capability : disabled
Remote PW Status Capability : disabled
Current PW Status TLV : disabled
Local VCCV Capability:
CC-Types: None
CV-Types: None
Remote VCCV Capability:
CC-Types: Type 1 Type 2 Type 3
CV-Types:
LSP ping
BFD IP/UDP-encapsulated, for PW Fault Detection only BFD
PW-ACH-encapsulated, for PW Fault Detection only
sh ldp mpls-l2-circuit
Transport Client VC VC Local Remote
Destination
VC ID Binding State Type VC Label VC Label
Address
998 xe4 UP Ethernet VLAN 52785 347440
10.240.0.11
Finally the CE is the same old Cisco 3550 with a VLAN:
POD1-FREY113-3550-S1#sh run int vlan 998
Building configuration...
Current configuration : 114 bytes
!
interface Vlan998
description VLAN_998_VLAN-BASED-VPWS-ROUTED-PW
ip address 10.240.16.98 255.255.255.252
end
POD1-FREY113-3550-S1#sh run int gi0/2
Building configuration...
Current configuration : 219 bytes
!
interface GigabitEthernet0/2
description GI0/2->POD3-4048-S1_XE4
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 998
switchport mode trunk
load-interval 30
speed nonegotiate
end
I also forgot to show y'all what the VPLS circuit show commands look like
on the OcNOS node for the VPLS solution:
sh mpls vpls detail
Virtual Private LAN Service Instance: VPLS-LAB-0997, ID: 997
SIG-Protocol: LDP
Attachment-Circuit :UP
Learning: Enabled
Group ID: 0, VPLS Type: Ethernet VLAN, Configured MTU: 9100
Description: none
service-tpid: dot1.q
Operating mode: Tagged
Svlan Id: 0
Svlan Tpid: 8100
Redundancy admin role: Primary
Redundancy oper role: Primary
Configured interfaces:
Interface: xe4
Vlan Id: 997
oper-state UP
Mesh Peers:
10.240.0.11 (Up), PW Status Local:0 Remote:0
sh mpls vpls mesh
VPLS-ID Peer Addr Tunnel-Label In-Label Network-Intf
Out-Label Lkps/St PW-INDEX SIG-Protocol Status
997 10.240.0.11 52496 52786 xe2
262148 2/Up 7 LDP Active