Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    l2vpn

    Syntax

    l2vpn {(control-word | no-control-word);encapsulation-type type;oam {bfd-liveness-detection {detection-time {threshold milliseconds;}minimum-interval milliseconds;minimum-receive-interval milliseconds;multiplier number;no-adaptation;transmit-interval {threshold milliseconds;minimum-interval milliseconds;}version (1 | automatic);}ping-interval seconds;}site site-name {community COMM;control-word ;encapsulation-type ethernet;ignore-encapsulation-mismatch;ignore-mtu-mismatch;interface interface-name {description text;community COMM;control-word ;encapsulation-type ethernet;ignore-encapsulation-mismatch;ignore-mtu-mismatch;mtu 1500;no-control-word;oam {bfd-liveness-detection {detection-time {threshold milliseconds;}minimum-interval milliseconds;minimum-receive-interval milliseconds;multiplier number;no-adaptation;transmit-interval {threshold milliseconds;minimum-interval milliseconds;}version (1 | automatic);}ping-interval seconds; seconds;}remote-site-id remote-site-id;target-attachment-identifier identifier;}mtu 1500;no-control-word;oam {bfd-liveness-detection {detection-time {threshold milliseconds;}minimum-interval milliseconds;minimum-receive-interval milliseconds;multiplier number;no-adaptation;transmit-interval {threshold milliseconds;minimum-interval milliseconds;}version (1 | automatic);}ping-interval seconds; seconds;}site-identifier identifier;site-preference preference-value {backup;primary;}source-attachment-identifier identifier;}traceoptions {file filename <files number> <size size> <world-readable | no-world-readable>;flag flag <flag-modifier> <disable>;}}

    Hierarchy Level

    [edit logical-systems logical-system-name routing-instances routing-instance-name protocols],[edit routing-instances routing-instance-name protocols]

    Release Information

    Statement introduced before Junos OS Release 7.4.

    Statement introduced in Junos OS Release 11.1 for EX Series switches.

    Description

    Enable a Layer 2 VPN routing instance on a PE router or switch.

    The remaining statements are explained separately.

    Required Privilege Level

    routing—To view this statement in the configuration.

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

    Published: 2014-04-23