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]
Description
Enable a Layer 2 VPN routing instance on a PE 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.