Header
Home | Set as homepage | Add to favorites
Sections
Syndication


Blogroll:

||||| ALL Cisco-Network ARTICLES |||||  
CCIE Journey,
The CCIE Journey, 



Shunning

image


 

The shun command enables a dynamic response to an attacking host by dropping any defined connections and preventing new connections. An administrator or a Cisco Secure IDS device can instruct the PIX Firewall to shun the source of traffic when that source is considered malicious. The shun command-blocking function is applied whether or not a connection with the specified host address is currently active. Because the shun command is used dynamically to block attacks, it isn’t displayed in your configuration. The syntax is as follows:

Pix(config)# shun src_ip [dest_ip src_port dest_port [protocol]]
Pix(config)# no shun src_ip [dest_ip src_port dest_port [protocol]]

The show shun command lists any shunning underway, while the show shun statistics command shows the interfaces, the number of packets blocked, and how long shunning has been on.

If the shun command is used with only the source IP address, no further traffic from the offending host is allowed. The following show shun output shows other variables default to 0. Notice the PIX knew that the address to be shunned was on the inside interface.

Pix(config)# shun 192.168.1.10
Shun 192.168.1.10 successful
Pix(config)# show shun
Shun 192.168.1.10 0.0.0.0 0 0
Pix(config)# show shun statistics
outside=OFF, cnt=0
inside=ON, cnt=0
dmz=OFF, cnt=0
intf3=OFF, cnt=0
Shun 192.168.1.10 cnt=42, time=(0:05:52)
Pix(config)#

Shunning statistics are also available from PDM. The clear shun statistics command clears the counts, while clear shun removes all shunning.

171 times read

Related news

» Configuring Cisco IDS Blocking
by admin posted on Nov 26,2008
» Monitoring Network Security
by alperen posted on Jul 04,2009
» Names and Name Commands
by alperen posted on Feb 03,2010
» Checking NAT Status
by admin posted on Jul 21,2008
» The show ip audit statistics Command
by alperen posted on Sep 16,2009
Did you enjoy this article?
(total 0 votes)

comment Comments (0 posted) 

More Top News
CCSP-Cisco Certified Security Professional
Most Popular
Most Commented
Featured Author