Option: Configuring Local Interface Switching for a Layer 2 Circuit
You can terminate a Layer 2 circuit locally
on an ingress PE router. To configure a locally terminated circuit,
include the local-switching
statement at the [edit
protocols l2circuit]
hierarchy level. Select the Layer 2
circuit interfaces you want to connect locally, specify any APS protect
interfaces, and configure an end interface. To select the Layer 2
circuit interfaces that are connected locally, include the interface
statement at the [edit protocols l2circuit local-switching]
hierarchy level. To configure an end interface, include the end-interface
statement at the [edit protocols l2circuit
local-switching interface interface-name]
hierarchy level. To specify APS protect interfaces, include the protect-interface
statement at the [edit protocols l2circuit
local-switching interface interface-name]
or [edit protocols l2circuit local-switching interface interface-name end-interface interface-name]
hierarchy levels.
[edit] protocols { l2circuit { local-switching { interfaceinterface1
{ protect-interfaceinterface2
; end-interfaceinterface3
{ protect-interfaceinterface4
; } } interfaceinterface5
{ protect-interfaceinterface6
; end-interfaceinterface7
{ protect-interfaceinterface8
; } } } } }