You can apply a stateless firewall to the input or output sides, or both, of an interface. To filter packets transiting the router, apply the firewall filter to any non-Routing Engine interface. To filter packets originating from, or destined for, the Routing Engine, apply the firewall filter to the loopback (lo0) interface.
For example, to apply the firewall filter protect-RE to the input side of the Routing Engine interface, follow this procedure:
Table 109: Applying a Firewall Filter to the Routing Engine Interface
To view the configuration of the Routing Engine interface, enter the show interfaces lo0 command. For example:
- user@host# show interfaces lo0
- unit 0 {
-
- family inet {
-
- filter {
- input protect-RE;
- }
- address 127.0.0.1/32;
- }
- }