Configuring Stateless Firewall
You can use Juniper Networks policy management to configure stateless access control. For example, to stop all ICMP packets from entering the network (192.168.10.0/24), except for echo request and reply messages, you use the following command sequence:
host1(config)#ip classifier-list 111 icmp any192.168.10.0 0.0.0.255 8host1(config)#ip classifier-list 111 icmp any192.168.10.0 0.0.0.255 0host1(config)#ip policy-list 111host1(config-policy-list)#classifier-group 111host1(config-policy-list-classifier-group)#forwardhost1(config-policy-list-classifier-group)#exithost1(config-policy-list)#classifier-group 112host1(config-policy-list-classifier-group)#forwardhost1(config-policy-list-classifier-group)#exithost1(config-policy-list)#exithost1(config)#interface fastEthernet 8/0host1(config-if)#ip policy input 111For additional information about using Juniper Networks policy management, classifier lists, and policy lists, see JUNOSe Policy Management Configuration Guide, Chapter 1, Managing Policies on the E-series Router.