cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
431
Views
8
Helpful
5
Replies

icmp command error

leo_7vsta
Level 1
Level 1

I have a pix501 software 6.3(4)

Working from the PDM I can bring up the Command line tool and enter the command:

icmp deny any outside

The command works i.e no error message and it appears when I do 'show running-config.

If I try this same command using a console connection direct from a PC I get an error message which tells me to use the help command.

What is going on? why does the syntax work in one place and not the other?

Thanks for any help.

Hugh

5 Replies 5

husycisco
Level 7
Level 7

make sure you are in configure terminal mode

firewall>enable

Password:Yourenablepassword

firewall#>configure terminal

firewall(conf)#>icmp deny any outside

Regards

Hi there,

Thanks for the help. I'm new to the Command line. I went into config mode and typed the command for the icmp and got the error that 'entry for address/mask= 0.0.0.0/0.0.0.0 already exits.

I then wondered how to clear it using the terminal console.

I checked the PDM /configuration on the icmp and there I can simply select and delete. However I would like to be able to do this through the terminal console.

how about 'no icmp permit any outside' to remove icmp permit any outside ?

Hugh

Yes you can can remove it by

no icmp permit any outside

But remember, you should be in configure terminal mode as I stated in my previous post

I already tried it and it worked. I went back in in configure mode.

Thanks again

hugh

You are welcome Hugh, you can enter previous mode by typing quit or exit.

Please do not forget to rate/accept the post which worked for you

Regards

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card