To add martian addresses to the list of default martian addresses in the default IPv4 routing table (inet.0), include the martians statement:
-
martians {
-
destination-prefix match-type;
- }
To add martian addresses to the list of default martian addresses in other routing tables, or to explicitly add martian addresses to the list of default martian addresses in the primary IPv6 routing table (inet6.0), include the martians statement:
-
rib inet6.0 {
-
-
martians {
-
destination-prefix match-type;
- }
- }
To add martian addresses to the list of default martian addresses in any other routing tables, or to explicitly add martian addresses to the list of default martian addresses in the default routing table (inet.0), include the martians statement:
-
rib routing-table-name {
-
-
martians {
-
destination-prefix match-type;
- }
- }
For a list of hierarchy levels at which you can include these statements, see the statement summary sections for these statements.
In destination-prefix, specify the routing destination in one of the following ways:
In match-type, specify the type of match to apply to the destination prefix. For more information about match types, see the JUNOS Policy Framework Configuration Guide.