How to reset the Blocker

Unanswered Question
Aug 7th, 2009

I made a mistake in configuring the listeners of the Blocker , I unchecked services on the listener interface both incoming and outgoing.

So now the management ip of the unit is pingable but no services are available. Is there a way to reset it to default physically ?


Thank you


Mickekel

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
bethingt Fri, 08/07/2009 - 17:44


Unfortunately there is no reset button for the Blocker. Did you disable all services? If telnet is still enable you can turn back on the services that way.


Brian

Mickelkel Sat, 08/08/2009 - 06:07

Yes i disable all the services on both interfaces, and the only open port is SMTP on the outgoing interface (Nmap port scanning).

What can i do ?


Thanks

dzavasni Sat, 08/08/2009 - 08:43

Hi Mickekel,


I assume you've nmap'd both interfaces?


All methods of resetting the blocker require one of those management ports to be open. I have tried connecting to the serial port and I am not getting any response from it. In the off-chance that the Blocker I'm using in the lab simply has a bad serial port, you can try using these settings in your preferred terminal emulator (HyperTerminal, Putty, etc...):


Bits per second: 9600
Data bits: 8
Parity: None
Stop bits: 1
Flow control: Hardware (RTS/CTS, DSR/DTR)


If you gain access, you can turn on the management services for the interface of your choice by typing "interfaceconfig," and following the prompts.


If this does not work for you, we will need to look into an RMA.

Mickelkel Sat, 08/08/2009 - 12:23

Hi dzavasni,


Yes I scanned the two listeners


I willl try to do it in 3 weeks when i will be back from holidays.

I hope your solution works.This would help to reset the  box easily in this kind of situation.


Thank you

bethingt Tue, 08/11/2009 - 12:55



<span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">In the event network connectivity is not an option for administering your Blocker appliance, you may also connect directly to the unit's COM port using a null modem cable (9-pin serial) in order to establish a command line interface (CLI) session.<span> </span> This is particularly useful during the initial configuration process of the device.<span> </span> In order to proceed, you will need the following:</span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"></span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"><span>   </span> *<span> </span> 9-pin female-to-female serial cable (null modem)</span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"><span>   </span> *<span> </span> Serial console client (such as HyperTerminal or PuTTY)</span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"></span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Please use the following procedure as a guide:</span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"></span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"><span>  </span> 1. <span></span>Connect your laptop (or other client device) to the serial port on the back of the unit using a standard 9-pin null modem cable.</span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"><span>  </span> 2.<span> </span> Launch your preferred serial console client. Specify the appropriate <span></span>COM port to use on your local machine, and use the following settings for the connection:</span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"><span>          </span></span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"><span>     </span> Bits per second: 9600</span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"><span>     </span> Data bits: 8</span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"><span>     </span> Parity: None</span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"><span>     </span> Stop bits: 1</span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"><span>     </span> Flow control: Hardware (RTS/CTS, DSR/DTR)</span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"><span>  </span> 3. Once the session has been opened, you may need to press Enter a few times to trigger output. A log in screen should appear.</span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"><span>  </span> 4. Log in using your appropriate credentials.</span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"></span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"></span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Once you are in the Blocker follow the following example to enable services on which ever interface you wish.</span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"></span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">mail.example.com> interfaceconfig</span>


<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Currently configured interfaces:</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">1. Management (172.19.0.80/24: mail.example.com)</span>

<span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Choose the operation you want to perform:</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">- NEW - Create a new interface.</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">- EDIT - Modify an interface.</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">- GROUPS - Define interface groups.</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">- DELETE - Remove an interface.</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">[]> edit</span>
<span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Enter the number of the interface you wish to edit.</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">[]> 1</span>
<span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">IP interface name (Ex: "InternalNet"):</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">[Management]></span>
<span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">IP Address (Ex: 192.168.1.2):</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">[172.19.0.80]></span>
<span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Ethernet interface:</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">1. Data 1</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">2. Data 2</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">3. Management</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">[3]></span>
<span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Netmask (Ex: "255.255.255.0" or "0xffffff00"):</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">[0xffffff00]></span>
<span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Hostname:</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">[jessie.run]></span>
<span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Do you want to enable FTP on this interface? [N]></span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Do you want to enable Telnet on this interface? [N]></span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Do you want to enable SSH on this interface? [N]> Y</span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Which port do you want to use for SSH?</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">[22]></span>
<span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Do you want to enable HTTP on this interface? [N]> Y</span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Which port do you want to use for HTTP?</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">[80]></span>
<span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Do you want to enable HTTPS on this interface? [N]></span><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">You have edited the interface you are currently logged into. Are you sure you want to change it? [Y]></span>


<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Currently configured interfaces:</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">1. Management (172.19.0.80/24: mail.example.com)</span>


<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Choose the operation you want to perform:</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">- NEW - Create a new interface.</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">- EDIT - Modify an interface.</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">- GROUPS - Define interface groups.</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">- DELETE - Remove an interface.</span>
<span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">[]></span>

<span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">mail.example.com> commit</span>


Hope this helps!!!!


Brian

Mickelkel Wed, 09/02/2009 - 07:24

Hello Brian,


Sorry for the response time but i come back from holiday


Your solution works perfectly !!!


Thank you for your help


Mickelkel

Joachim Kern Wed, 09/30/2009 - 03:23

Hi,


and waht can I do when I also misplaced my login credentials ?

Is there a way to set it to factory default or to recover the admin assword ?


Jo

bethingt Wed, 09/30/2009 - 16:34



Unfortunately there is no reset that you can do if you have forgotten or misplaced your login information. You will need to contact Cisco Small Business Support and open a case so that we can reset your login information.

lukasz_naumowicz Mon, 11/23/2009 - 07:04

Hi All,


And what to do if we get errors while trying to reset the blocker...

When we try to do it through webUi we get(error in the attachement).

When we try to do it through CLI, we get:

cisco.example.com>

cisco.example.com> resetconfig

The resetconfig command only works in the offline state.  Type 'suspend' to
go offline.
cisco.example.com> suspend

Enter the number of seconds to wait before abruptly closing connections.
[30]> 0

Traceback (most recent call last):
  File "pycbox_main.py", line 157, in
  File "/data/lib/python2.5/imputil.py", line 103, in _import_hook
  File "/data/lib/python2.5/imputil.py", line 192, in _import_top_module
  File "/data/lib/python2.5/imputil.py", line 219, in import_top
  File "/data/lib/python2.5/imputil.py", line 274, in _import_one
  File "/data/lib/python2.5/imputil.py", line 305, in _process_result
  File "./phoebe/cli/cli.py", line 33903, in
  File "./phoebe/cli/cli.py", line 25974, in main
  File "./phoebe/cli/cli.py", line 649, in command_loop
  File "./phoebe/cli/cli.py", line 32071, in do_command
  File "./phoebe/cli/cli.py", line 32322, in main_input_run
  File "./phoebe/cli/cli.py", line 32084, in run_func
  File "./phoebe/cli/cli.py", line 9421, in suspend
  File "./phoebe/cli/cli.py", line 9405, in _suspend
  File "./phoebe/cli/cli.py", line 21210, in _suspendlistener
AttributeError: 'str' object has no attribute 'keys'
AsyncOS cisco.example.com (cuad0)

login:

The blocker won't go to the suspend state due to mentioned errors.

What can be done to get such blocker working?

That blocker is testing unit that got back from tests at our partner.


Best Regards,
Lukasz

bethingt Mon, 11/23/2009 - 08:14

Try the suspend again but this time do not give a value of 0 maybe allow the max, 30.


Brian

lukasz_naumowicz Tue, 11/24/2009 - 00:22

Hi Brian,


Thank you for suggestion, unfortunately we still get the same error:

cisco.example.com>

cisco.example.com> suspend

Enter the number of seconds to wait before abruptly closing connections.
[30]> 30

Traceback (most recent call last):
  File "pycbox_main.py", line 157, in
  File "/data/lib/python2.5/imputil.py", line 103, in _import_hook
  File "/data/lib/python2.5/imputil.py", line 192, in _import_top_module
  File "/data/lib/python2.5/imputil.py", line 219, in import_top
  File "/data/lib/python2.5/imputil.py", line 274, in _import_one
  File "/data/lib/python2.5/imputil.py", line 305, in _process_result
  File "./phoebe/cli/cli.py", line 33903, in
  File "./phoebe/cli/cli.py", line 25974, in main
  File "./phoebe/cli/cli.py", line 649, in command_loop
  File "./phoebe/cli/cli.py", line 32071, in do_command
  File "./phoebe/cli/cli.py", line 32322, in main_input_run
  File "./phoebe/cli/cli.py", line 32084, in run_func
  File "./phoebe/cli/cli.py", line 9421, in suspend
  File "./phoebe/cli/cli.py", line 9405, in _suspend
  File "./phoebe/cli/cli.py", line 21210, in _suspendlistener
AttributeError: 'str' object has no attribute 'keys'
AsyncOS cisco.example.com (cuad0)

login:



Lukasz

Actions

This Discussion