discard
Syntax
discard;
Hierarchy Level
[edit logical-systems logical-system-name routing-instances routing-instance-name routing-options
(aggregate | generate) (defaults | route)],[edit logical-systems logical-system-name routing-instances routing-instance-name routing-options
rib routing-table-name (aggregate | generate) (defaults | route)],[edit logical-systems logical-system-name routing-options (aggregate | generate) (defaults |
route)],[edit logical-systems logical-system-name routing-options rib routing-table-name (aggregate | generate) (defaults | route)],[edit routing-instances routing-instance-name routing-options (aggregate | generate) (defaults |
route)],[edit routing-instances routing-instance-name routing-options rib routing-table-name (aggregate | generate) (defaults | route)],[edit routing-options (aggregate | generate) (defaults |
route)],[edit routing-options rib routing-table-name (aggregate | generate) (defaults | route)]
Release Information
Statement introduced before JUNOS Release 7.4.
Statement introduced in JUNOS Release 9.0 for EX Series switches.
Description
Do not forward packets addressed to this destination. Instead, drop the packets, do not send ICMP unreachable messages to the packets’ originators, and install a reject route for this destination into the routing table.
Default
When an aggregate route becomes active, it is installed in the routing table with a reject next hop, which means that ICMP unreachable messages are sent.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.