It can be configured as a firewall filter:set firewall filter ab term 1 from destination-address 1.1.1.1/32set firewall filter ab term 1 from protocol icmpset firewall filter ab term 1 from icmp-type timestamp-replyset firewall filter ab term 1 from icmp-type timestampset firewall filter ab term 1 then count abcdset firewall filter ab term 1 then rejectset firewall filter ab term 2 from source-address 1.1.1.1/32set firewall filter ab term 2 from protocol icmpset firewall filter ab term 2 from icmp-type timestamp-replyset firewall filter ab term 2 then count xyzset firewall filter ab term 2 then rejectset firewall filter ab term 3 then acceptset interfaces <interface-name> unit 0 family inet filter input abset interfaces <interface-name> unit 0 family inet filter output abset interfaces <inetrafec-name> unit 0 family inet address 1.1.1.1/24 Or as a custom application, which can be referenced in a security policy to be blocked:set applications application Custom-ICMP protocol icmpset applications application Custom-ICMP icmp-type timestamp|timestamp-replyset security policies from-zone TEST to-zone TEST policy Example-ICMP match source-address anyset security policies from-zone TEST to-zone TEST policy Example-ICMP match destination-address anyset security policies from-zone TEST to-zone TEST policy Example-ICMP match application Custom-ICMPset security policies from-zone TEST to-zone TEST policy Example-ICMP
set firewall filter ab term 1 from destination-address 1.1.1.1/32set firewall filter ab term 1 from protocol icmpset firewall filter ab term 1 from icmp-type timestamp-replyset firewall filter ab term 1 from icmp-type timestampset firewall filter ab term 1 then count abcdset firewall filter ab term 1 then rejectset firewall filter ab term 2 from source-address 1.1.1.1/32set firewall filter ab term 2 from protocol icmpset firewall filter ab term 2 from icmp-type timestamp-replyset firewall filter ab term 2 then count xyzset firewall filter ab term 2 then rejectset firewall filter ab term 3 then acceptset interfaces <interface-name> unit 0 family inet filter input abset interfaces <interface-name> unit 0 family inet filter output abset interfaces <inetrafec-name> unit 0 family inet address 1.1.1.1/24