vpls (Routing Instance)
Syntax
vpls {
mac-pinning;
active-interface {
any;
primary interface-name;
}
community COMM;
connectivity-type (ce | irb);
control-word;
encapsulation-type ethernet;
ignore-encapsulation-mismatch;
ignore-mtu-mismatch;
import-labeled-routes [ routing-instance-name ];
interface interface-name;
interface-mac-limit limit;
label-block-size size;
mac-flush [ explicit-mac-flush-message-options ];
mac-table-aging-time time;
mac-table-size size;
mesh-group mesh-group-name {
interface interface-name;
l2vpn-id (as-number:id | ip-address:id);
local-switching;
mac-flush [ explicit-mac-flush-message-options ];
neighbor address {...};
peer-as all;
pseudowire-status-tlv hot-standby-vc-on;
route-distinguisher (as-number:id | ip-address:id);
vpls-id number;
vrf-export [ policy-names ];
vrf-import [ policy-names ];
vrf-target {
community;
import community-name;
export community-name;
}
}
mtu mtu;
no-control-word;
no-tunnel-services;
service-type single;
site site-name {
active-interface interface-name {
any;
primary preference-value;
}
best-site;
interface interface-name {
interface-mac-limit limit;
}
mesh-group mesh-group-name;
multi-homing;
site-identifier identifier;
site-preference preference-value {
backup;
primary;
}
}
site-range number;
traceoptions {
file filename <files number> <size size> <world-readable | no-world-readable>;
flag flag <flag-modifier> <disable>;
}
tunnel-services {
devices device-names;
primary primary-device-name;
}
}
Hierarchy Level
[edit logical-systems logical-system-name routing-instances routing-instance-name protocols], [edit routing-instances routing-instance-name protocols]
Description
Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.
Configure a virtual private LAN service (VPLS) routing instance.
The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.
Options
service-type single—Allows one vlan per routing instance.
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.
mac-flush option introduced in Junos OS Release 10.0.
hot-standby-vc-on, import-labeled-routes [
routing-instance-name ], and interface
interface options introduced in Junos OS Release
15.1R2.