Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    martians

    Syntax

    martians {destination-prefix match-type <allow>;}

    Hierarchy Level

    [edit logical-systems logical-system-name routing-instances routing-instance-name routing-options],[edit logical-systems logical-system-name routing-instances routing-instance-name routing-options rib routing-table-name],[edit logical-systems logical-system-name routing-options],[edit logical-systems logical-system-name routing-options rib routing-table-name],[edit routing-instances routing-instance-name routing-options],[edit routing-instances routing-instance-name routing-options rib routing-table-name],[edit routing-options],[edit routing-options rib routing-table-name]

    Release Information

    Statement introduced before Junos OS Release 7.4.

    Statement introduced in Junos OS Release 9.0 for EX Series switches.

    Statement introduced in Junos OS Release 11.3 for the QFX Series.

    Description

    Configure martian addresses.

    Options

    allow—(Optional) Explicitly allow a subset of a range of addresses that has been disallowed. The allow option is the only supported action.

    destination-prefix—Destination route you are configuring:

    • destination-prefix/prefix-length—destination-prefix is the network portion of the IP address, and prefix-length is the destination prefix length.
    • default—Default route to use when routing packets do not match a network or host in the routing table. This is equivalent to specifying the IP address 0.0.0.0/0.

    match-type—Criteria that the destination must match:

    • exact—Exactly match the route’s mask length.
    • longer—The route’s mask length is greater than the specified mask length.
    • orlonger—The route’s mask length is equal to or greater than the specified mask length.
    • through destination-prefix—The route matches the first prefix, the route matches the second prefix for the number of bits in the route, and the number of bits in the route is less than or equal to the number of bits in the second prefix.
    • upto prefix-length—The route’s mask length falls between the two destination prefix lengths, inclusive.

    Required Privilege Level

    routing—To view this statement in the configuration.

    routing-control—To add this statement to the configuration.

    Published: 2013-08-15