Configuration:Prevent any source IP address from pinging a destination address

Nahid
Nahid  Diamond  (1)
7 years 10 months ago  View: 1161  Reply: 6
1F
Here provides an example. If you want to prevent any source IP address from pinging the IP address 9.9.9.9, see the following configuration file:


acl 3000
rule 2 deny icmp source any destination 9.9.9.9 0
rule 3 permit ip


traffic classifier c1 operator or
if-match acl 3000


traffic behavior b1


traffic policy t1
classifier c1 behavior b1


interface GigabitEthernet1/0/1
ip address 10.1.1.1 255.255.255.252
traffic-policy t1 inbound
akther
akther  Gold 
7 years 10 months ago
2F
good
Nahid
Nahid  Diamond 
7 years 10 months ago
3F
Thanks
jfjina
jfjina  Gold 
7 years 10 months ago
4F
helpful note
ashrafulhakim
ashrafulhakim  Silver 
7 years 10 months ago
5F
helpful note
nasir007
nasir007  Gold 
7 years 10 months ago
6F
Helpful note
nazmun021
nazmun021  Gold 
7 years 10 months ago
7F
good info