mpls
Syntax
mpls {
disable;
class-of-service cos-value;
no-cspf;
no-decrement-ttl;
advertisement-hold-time seconds;
explicit-null;
icmp-tunneling;
interface (interface-name | all) {
disable;
}
ipv6-tunneling;
no-propagate-ttl;
path path-name {
(address | hostname) <loose | strict>;
}
label-switched-path lsp-name {
disable;
auto-bandwidth {
adjust-interval seconds;
adjust-threshold percentage;
adjust-threshold-overflow-limit count;
adjust-threshold-underflow-limit
maximum-bandwidth bps;
minimum-bandwidth bps;
monitor-bandwidth;
}
description text-string;
from address;
install destination-prefix</prefix-length> <active>;
ldp-tunneling;
no-cspf;
no-decrement-ttl;
primary path-name {
adaptive;
select (manual | unconditional);
}
secondary path-name {
adaptive;
select (manual | unconditional);
}
to address;
traceoptions {
file filename <files number> <size maximum-file-size> <world-readable | no-world-readable>;
flag flag;
}
}
static-label-switched-path lsp-name {
bypass bypass-name {
description text-string;
next-hop (address | interface-name | address/interface-name);
to address;
}
ingress {
description string;
install {
destination-prefix <active>;
}
link-protection bypass-name name;
next-hop (address | interface-name | address/interface-name);
to address;
}
transit incoming-label {
bandwidth bps;
description text-string;
link-protection bypass-name name;
next-hop (address | interface-name | address/interface-name);
pop;
swap out-label;
}
statistics {
auto-bandwidth;
file filename <files number> <size maximum-file-size> <world-readable | no-world-readable>;
interval seconds;
}
traceoptions {
file filename <files number> <size maximum-file-size> <world-readable | no-world-readable>;
flag flag;
}
traffic-engineering (bgp | bgp-igp);
}
}
Hierarchy Level
[edit protocols]
Description
CAUTION:
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.
Enable MPLS on the switch.
The remaining statements are explained separately.
Default
MPLS is disabled.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 9.5.