[edit routing-options] Hierarchy Level
Several statements in the [edit routing-options hierarchy are valid at numerous locations within the hierarchy. To make the complete hierarchy easier to read, the repeated statements are listed in Common Routing Options and that section is referenced at the appropriate locations in Complete [edit routing-options] Hierarchy.
Common Routing Options
This section lists statements that are valid at the following hierarchy levels, and is referenced at those levels in Complete [edit routing-options] Hierarchy instead of the statements being repeated.
- [edit routing-options aggregate defaults]
- [edit routing-options aggregate route ip-prefix</prefix-length>]
- [edit routing-options generate defaults]
- [edit routing-options generate route ip-prefix</prefix-length>]
- [edit routing-options static defaults]
- [edit routing-options static route ip-prefix</prefix-length>]
The common routing options are as follows:
(active | passive);as-path {aggregator as-number address;atomic-aggregate;origin (egp | igp | incomplete);path path-identifier;}color metric <type metric-type>;color2 metric <type metric-type>;community [ community-id no-advertise no-export
no-export-subconfed ];metric metric <type metric-type>;metric2 metric <type metric-type>;metric3 metric <type metric-type>;metric4 metric <type metric-type>;passive;preference preference-value <type metric-type>;preference2 preference-value <type metric-type>;tag metric <type metric-type>;tag2 metric <type metric-type>;
Complete [edit routing-options] Hierarchy
The statement hierarchy in this section can also be included at the [edit logical-systems logical-system-name] hierarchy level.
routing-options {access {route ip-prefix</prefix-length> {metric metric;next-hop [ addresses ];preference preference-value;qualified-next-hop address;tag route-tag;}}access-internal {route ip-prefix</prefix-length> {next-hop [ addresses ];qualified-next-hop address;tag route-tag;}}aggregate {defaults {... statements in Common Routing Options PLUS ...(brief | full);discard;}route ip-prefix</prefix-length> {... statements in Common Routing Options PLUS ...(brief | full);discard;policy [ policy-names ];}}auto-export {disable;family inet {disable;flow {disable;rib-group rib-group;}multicast {disable;rib-group rib-group;}unicast {disable;rib-group rib-group;}}family inet6 {disable;multicast {disable;rib-group rib-group;}unicast {disable;rib-group rib-group;}}family iso {disable;unicast {disable;rib-group rib-group;}}traceoptions {file filename <files number> <size maximum-file-size> <world-readable | no-world-readable>;flag flag <flag-modifier> <disable>;}}autonomous-system autonomous-system <loops number>;bgp-orf-cisco-mode;bmp {memory-limit bytes;station-address (ip-address | name);station-port-number port-number;statistics-timeout seconds;}confederation as-number members [ as-numbers ];dynamic-tunnels tunnel-name {destination-networks prefix;source-address address;tunnel-type tunnel-type;}fate-sharing {group group-name {cost value;from {address <to address>;}}}flow {route name {match {destination address;destination-port [ afs bgp biff bootpc bootps
cmd cvspserver dhcp domain eklogin ekshell exec finger ftp ftp-data
http https ident imap kerberos-sec klogin kpasswd krb-prop krbupdate
kshell ldap ldp login mobileip-agent mobilip-mn msdp netbios-dgm netbios-ns
netbios-ssn nfsd nntp ntalk ntp pop3 pptp printer radacct radius rip
rkinit smtp snmp snmptrap snpp socks ssh sunrpc syslog tacacs tacacs-ds
talk telnet tftp timed who xdmcp ];dscp [ code-points ];fragment [ don't-fragment first-fragment is-fragment
last-fragment not-a-fragment ];icmp-code [ communication-prohibited-by-filtering
destination-host-prohibited destination-host-unknow fragmentation-needed
host-precedence-violation host-unreachable host-unreachable-for-tos
ip-header-bad network-unreachable network-unreachable-for-tos port-unreachable
precedence-cutoff-in-effect protocol-unreachable redirect-for-host
redirect-for-network redirect-for-tos-and-host redirect-for-tos-and-net
required-option-missing source-host-isolated source-route-failed ttl-eq-zero-during-reassembly
ttl-eq-zero-during-transit ];icmp-type [ echo-reply echo-request info-reply
info-request mask-reply mask-request parameter-problem redirect router-advertisement
router-solicit source-quench time-exceeded timestamp timestamp-reply
unreachable ];packet-length [ values ];port [ ... same values as for the preceding destination-port statement ... ];protocol [ ah egp esp gre icmp igmp ipip ospf
pim rsvp sctp tcp udp ];source address;source-port [ ... same values as for
the preceding destination-port statement ... ];tcp-flags [ ack fin push rst syn urgent ];}then {(accept | discard);community community-name;next-term;rate-limit value;routing-instance routing-instance-name;sample;}}validation {traceoptions {file filename <files number> <size maximum-file-size> <world-readable | no-world-readable>;flag flag <flag-modifier> <disable>;}}}forwarding-table {export [ policy-names ];(indirect-next-hop | no-indirect-next-hop);unicast-reverse-path (active-paths | feasible-paths);}generate {defaults {... statements in Common Routing Options PLUS ...(brief | full);discard;}route ip-prefix</prefix-length> {... statements in Common Routing Options PLUS ...(brief | full);discard;policy [ policy-names ];}}graceful-restart {disable;restart-duration seconds;}instance-export [ policy-names ];instance-import [ policy-names ];interface-routes {family (inet | inet6) {export {lan;point-to-point;}import [ policy-names ];}rib-group {inet group-name;inet6 group-name;}}l3vpn-composite-nexthop;martians {ip-prefix</prefix-length> (exact | longer | orlonger | prefix-length-range /minimum-prefix-length–/maximum-prefix-length | through ip-prefix</prefix-length> | upto /prefix-length) <allow>;}maximum-paths path-limit <log-only | threshold value> <log-interval seconds>;maximum-prefixes prefix-limit <log-only | threshold value> <log-interval seconds>;med-igp-update-interval minutes;multicast {... the multicast subhierarchy
appears after the main [edit routing-options] hierarchy ...}nonstop-routing;options {mark seconds;syslog {level level;upto level;}}ppm {no-delegate-processing;}resolution {rib routing-table-name {import [ policy-names ];resolution-ribs [ routing-table-names ];}tracefilter [ filter-policy-names ];traceoptions {file filename <files number> <size maximum-file-size> <world-readable | no-world-readable>;flag flag <flag-modifier> <disable>;}}rib routing-table-name {access {... same statements as at the [edit
routing-options access] hierarchy level ...}access-internal {... same statements as at the [edit
routing-options access-internal] hierarchy level ...}aggregate {... same statements as at the [edit
routing-options aggregate] hierarchy level ...}generate {... same statements as at the [edit
routing-options generate] hierarchy level ...}martians {ip-prefix</prefix-length> (exact | longer | orlonger | prefix-length-range /minimum-prefix-length–/maximum-prefix-length | through ip-prefix</prefix-length> | upto /prefix-length) <allow>;}maximum-paths path-limit <log-only | threshold value> <log-interval seconds>;maximum-prefixes prefix-limit <log-only | threshold value> <log-interval seconds>;static {... same statements as at the [edit
routing-options static] hierarchy level ...}}rib-groups {group-name {export-rib table-name;import-policy [ policy-names ];import-rib [ table-names ];}}route-distinguisher-id address;route-record;router-id address;source-routing {ip;ipv6;}static {... the static subhierarchy
appears after the main [edit routing-options] hierarchy ...}topologies {family (inet | inet6) {topology topology-name;}}traceoptions {file filename <files number> <size maximum-file-size> <world-readable | no-world-readable>;flag flag <disable>;}} routing-options {multicast {asm-override-ssm;backup-pe-group group-name {backups [ addresses ];local-address address;}flow-map flow-map-name {bandwidth <bps> <adaptive>;forwarding-cache {timeout (never <non-discard-entry-only> | minutes);}policy [ policy-names ];redundant-sources [ addresses ];}forwarding-cache {threshold {reuse threshold-value;suppress threshold-value;}timeout minutes;}interface interface-name {maximum-bandwidth bps;no-qos-adjust;reverse-oif-mapping {no-qos-adjust;}subscriber-leave-timer seconds;}pim-to-igmp-proxy {upstream-interface [ interface-names ];}pim-to-mld-proxy {upstream-interface [ interface-names ];}rpf-check-policy [ policy-names ];scope scope-name {interface [ interface-names ];prefix ip-prefix</prefix-length>;}scope-policy [ policy-names ];ssm-groups [ ip-prefix</prefix-length> ];ssm-map ssm-map-name {policy [ policy-names ];source [ addresses ];}traceoptions {file filename <files number> <size maximum-file-size> <world-readable | no-world-readable>;flag flag <disable>;}}} routing-options {static {defaults {... statements in Common Routing Options PLUS ...(install | no-install);(readvertise | no-readvertise);(resolve | no-resolve);(retain | no-retain);}rib-group group-name;route destination-prefix {... statements in Common Routing Options PLUS ...backup-pe-group group-name;bfd-liveness-detection {detection-time {threshold milliseconds;}holddown-interval milliseconds;local-address ip-address;minimum-interval milliseconds;minimum-receive-interval milliseconds;minimum-receive-ttl milliseconds;multiplier number;neighbor address;no-adaptation;transmit-interval {minimum-interval milliseconds;threshold milliseconds;}version (1 | automatic);}(discard | next-hop [ addresses ] | next-table address |
receive | reject);(install | no-install);lsp-next-hop {metric metric;preference preference;}p2mp-lsp-next-hop lsp-name {metric metric;preference preference;}(readvertise | no-readvertise);(resolve | no-resolve);(retain | no-retain);static-lsp-next-hop lsp-name {metric metric;preference preference-value;}}}}
Hide Navigation Pane
Show Navigation Pane
Download
SHA1