Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Option: Configuring Local Interface Switching for a Layer 2 Circuit

date_range 02-Aug-23

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.

content_copy zoom_out_map
[edit]
protocols {
    l2circuit {
        local-switching {
            interface interface1 {
                protect-interface interface2;
                end-interface interface3 {
                    protect-interface interface4;
                }
            }
            interface interface5 {
                protect-interface interface6;
                end-interface interface7 {
                    protect-interface interface8;
                }
            }
        }
    }
}
footer-navigation