Related Documentation
- M Series
- Example: Forwarding Packets to the Discard Interface
- MX Series
- Example: Forwarding Packets to the Discard Interface
- PTX Series
- Example: Forwarding Packets to the Discard Interface
- SRX Series
- Example: Forwarding Packets to the Discard Interface
- T Series
- Example: Forwarding Packets to the Discard Interface
Understanding Forwarding Packets to the Discard Interface
The discard (dsc) interface is not a physical interface, but a virtual interface that discards packets. You can configure one discard interface. This interface allows you to identify the ingress point of a denial-of-service (DoS) attack. When your network is under attack, the target host IP address is identified, and the local policy forwards attacking packets to the discard interface. Traffic routed out of the discard interface is silently discarded.
The discard interface allows you to protect a network from DoS attacks by identifying the target IP address that is being attacked and configuring a policy to forward all packets to a discard interface. All packets forwarded to the discard interface are dropped.
To configure the discard interface, include the dsc statement:
The dsc interface name denotes the discard interface. The discard interface supports only unit 0.
The following two configurations are required to configure a policy to forward all packets to the discard interface.
Configure an input policy to associate a community with the discard interface:
Configure an output policy to set up the community on the routes injected into the network:
Related Documentation
- M Series
- Example: Forwarding Packets to the Discard Interface
- MX Series
- Example: Forwarding Packets to the Discard Interface
- PTX Series
- Example: Forwarding Packets to the Discard Interface
- SRX Series
- Example: Forwarding Packets to the Discard Interface
- T Series
- Example: Forwarding Packets to the Discard Interface