[edit routing-instances] Hierarchy Level
routing-instances {
routing-instance-name {
description text;
family (inet | inet6 | mpls) {
filter {
input filter-name;
}
}
interface interface-name;
instance-type (forwarding | I2vpn | no-forwarding | virtual-router | vpls | vrf);
route-distinguisher (as-number:number | ip-address:number);
vrf-import [ policy-names ];
vrf-export [ policy-names ];
vrf-table-label;
vrf-target {
export community name;
import community name;
}
protocols {
bgp {
bgp-configuration;
}
isis {
isis-configuration;
}
l2vpn {
encapsulation-type <type>
no-control-word;
traceoptions {
file filename <replace> <size size> <files number> <nostamp>;
flag flag <flag-modifier> <disable>;
}
site site-name {
site-identifier identifier;
interface interface-name {
remote-site-id remote-site-id;
}
}
ldp {
ldp-configuration;
}
ospf {
ospf-configuration;
}
pim {
pim-configuration;
}
rip {
rip-configuration;
}
vpls {
site site-name {
site-identifier identifier;
}
site-range number;
traceoptions {
file filename <replace> <size size> <files number> <nostamp>;
flag flag <flag-modifier> <disable>;
}
}
}
routing-options {
aggregate {
defaults {
aggregate-options;
}
route destination-prefix {
policy policy-name;
aggregate-options;
}
}
auto-export {
(disable | enable);
family {
inet {
multicast {
(disable | enable);
rib-group rib-group;
}
unicast {
(disable | enable);
rib-group rib-group;
}
}
}
traceoptions {
file name <replace> <size size> <files number> <no-stamp>
<(world-readable | no-world-readable)>;
flag flag <flag-modifier> <disable>;
}
}
autonomous-system autonomous-system <loops number>;
confederation confederation-autonomous-system members autonomous-system;
fate-sharing {
group group-name;
cost value;
from address [to address];
}
forwarding-table {
export [ policy-names ];
}
generate {
defaults {
generate-options;
}
route destination-prefix {
policy policy-name;
generate-options;
}
}
instance-export [ policy-names ];
instance-import [ policy-names ];
interface-routes {
rib-group group-name;
}
martians {
destination-prefix match-type <allow>;
}
maximum-routes route-limit <log-only | threshold value>;
multicast {
scope scope-name {
interface interface-name;
prefix destination-prefix;
}
ssm-groups {
addresses;
}
}
options {
syslog (level level | upto level);
}
resolution {
tracefilter [ filter-policy ];
traceoptions {
file name <replace> <size size> <files number> <no-stamp>
<(world-readable | no-world-readable)>;
flag flag <flag-modifier> <disable>;
}
}
rib routing-table-name {
aggregate {
defaults {
aggregate-options;
}
route destination-prefix {
policy policy-name;
aggregate-options;
}
}
filter {
input filter-name;
}
generate {
defaults {
generate-options;
}
route destination-prefix {
policy policy-name;
generate-options;
}
}
martians {
destination-prefix match-type <allow>;
}
static {
defaults {
static-options;
}
rib-group group-name;
route destination-prefix {
lsp-next-hop {
metric metric;
preference preference;
}
next-hop;
qualified-next-hop address {
metric metric;
preference preference;
}
static-options;
}
}
}
rib-groups {
group-name {
import-policy [policy-names ];
import-rib [ group-names ];
export-rib [ group-names ];
}
}
route-distinguished-id address;
route-record;
router-id address;
static {
defaults {
static-options;
}
rib-group group-name;
route destination-prefix {
lsp-next-hop {
metric metric;
preference preference;
}
next-hop;
qualified-next-hop address {
metric metric;
preference preference;
}
static-options;
}
}
traceoptions {
file name <replace> <size size> <files number> <no-stamp>
<(world-readable | no-world-readable)>;
flag flag <flag-modifier> <disable>;
}
}
}
} # End of [edit routing-instances] hierarchy level