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

neighbor (Protocols Layer 2 Circuit)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
neighbor address {
    interface interface-name {
        backup-neighbor address {
             community name;
            hot-standby;
            psn-tunnel-endpoint address;
            standby;
            virtual-circuit-id number;
        }
        bandwidth (bandwidth | ctnumber bandwidth);
        community community-name;
        (control-word | no-control-word);
        description text;
        egress-protection {
            protected-l2circuit {
                egress-pe address;
                ingress-pe address;
                virtual-circuit-id identifier;
            }
            protector-interface interface-name;
            protector-pe address {
                context-identifier identifier;
                lsp lsp-name;
                }
            }
        }
        encapsulation-type type;
        ignore-encapsulation-mismatch;
        ignore-mtu-mismatch;
        mtu mtu-number;
        no-revert;
        protect-interface interface-name;
        pseudowire-status-tlv hot-standby-vc-on;
        psn-tunnel-endpoint address;
        revert-time seconds;
        static {
            incoming-label label;
            outgoing-label label;
            send-oam;
        }
        switchover-delay milliseconds;
        virtual-circuit-id identifier;
    }
}

Hierarchy Level

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

Description

Each Layer 2 circuit is represented by the logical interface connecting the local provider edge (PE) router or switch to the local customer edge (CE) router or switch. All the Layer 2 circuits using a particular remote PE router or switch designated for remote CE routers or switches are listed under the neighbor statement (neighbor designates the PE router or switch). Each neighbor is identified by its IP address and is usually the end-point destination for the LSP tunnel (transporting the Layer 2 circuit).

Options

address—IP address of a neighboring router or switch.

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