Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

l2circuit

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
l2circuit {
    auto-sensing{
        password password;
        }
    local-switching {
        interface interface-name {
            description text;
            end-interface {
                interface interface-name;
                protect-interface interface-name;
            }
            ignore-mtu-mismatch;
            protect-interface interface-name;
        }
    }
    neighbor address {
        interface interface-name {
            backup-neighbor address;
            bandwidth (bandwidth | ctnumber bandwidth);
            community community-name;
            connection-protection;
            (control-word | no-control-word);
            description text;
            egress-protection;
            encapsulation-type type;
            ignore-encapsulation-mismatch;
            ignore-mtu-mismatch;
            mtu mtu-number;
            protect-interface interface-name;
            pseudowire-status-tlv hot-standby-vc-on;
            psn-tunnel-endpoint address;
            virtual-circuit-id identifier;
        }
    }
    resolution {
        preserve-nexthop-heirarchy;
    }
    traceoptions {
        file filename <files number> <size size> <world-readable | no-world-readable>;
        flag flag <flag-modifier> <disable>;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems logical-system-name protocols],
[edit protocols]

Description

Enables a Layer 2 circuit.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.

footer-navigation