Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

martians

Syntax

Hierarchy Level

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-lengthdestination-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.

Release Information

Statement introduced before Junos OS Release 7.4.