Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to access Juniper SSG140 firewall through console?

Posted on 2009-04-13
8
Medium Priority
?
5,365 Views
Last Modified: 2012-05-06
This is an office migration, and my users messed up the server equipments. Now, I have to access the firewall set through the console, as web admin is not possible due to IP restriction set by one of the user with documentation.

My intention is to access to the set, and then get to know what/which ports were being configured as External and internal. What commands should I type to get know the IPs assigned to the ports?

BTW, I also intend to reset the password  without affecting the configuration. Can I do it?
0
Comment
Question by:Balack
  • 5
  • 2
8 Comments
 
LVL 18

Expert Comment

by:Sanga Collins
ID: 24130867
get int

from the console will tell you what each interface has assigned as ip address

set admin password "password"

will allow you to change the admin: this will not mess up the config
0
 

Author Comment

by:Balack
ID: 24135459
Hi Sangamc,

BTW, what is the console port settings? 9600? 19200? 38400? or 57600?

How can I reset the password?
0
 
LVL 18

Expert Comment

by:Sanga Collins
ID: 24138375
my console settings are
bps: 9600
data bits: 8
parity: none
stop bits: 1
flow control: none

# set admin password "your new password"

this will change the password of the root account on the device
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 18

Expert Comment

by:Sanga Collins
ID: 24138386
i forgot; after changing the password, type

# save

then press enter
0
 

Author Comment

by:Balack
ID: 24144536
Hi Sangamc,

The problem is now I can't access to the device, how can I reset the admin's password?

Is there a way to reset password to factory settings. Now, I don't mind losing all the config.
I saw there is a reset pin on the front panel. Whether this pin is meant for this action?
0
 
LVL 18

Accepted Solution

by:
Sanga Collins earned 1500 total points
ID: 24144611
i see your problem now, to do a hardware reset you use the pin hole on the front i believe you need to follow these steps.

http://www.juniper.net/techpubs/hardware/netscreen-systems/netscreen-systems60/HW_SSG140_600.pdf


Using the device status LEDs:
1. Locate the Reset (or Reset Config) pinhole on the device. Using a thin wire
(such as a straightened paperclip), push the pinhole button for four to six
seconds.
The Status LED blinks red.
2. As soon as the Status LED blinks green, release the pinhole button and wait
two seconds.
3. The device now waits for the second reset, which confirms the operation.
Push the pinhole button again for four to six seconds until the device resets.
The system now resets and returns to the login prompt; the default login name
and password are both reset to netscreen.


Using the Console:
1. Start a Console session as described in Using a Console Connection on
page 22.
2. Locate the Reset pinhole on the device. Using a thin wire (such as a
straightened paperclip), push the pinhole button for four to six seconds.
The message Configuration Erasure Process has been initiated appears in
the console window. Continue to press the pinhole button until the
message Waiting for 2nd confirmation appears.
NOTE:
If you do not follow the complete sequence, the reset process cancels without any
configuration change and the console message states that the erasure of the
configuration is aborted. The Status LED returns to blinking green. The device
generates SNMP and SYSLOG alerts to configured SNMP or SYSLOG trap hosts.
Page 35
Resetting the Device to Factory Defaults
35
Chapter 3: Configuring the Device
3. Release the pinhole button, and wait two seconds.
4. Push the pinhole button again for four to six seconds.
The message 2nd push has been confirmed appears.
5. Continue to press the pinhole button until the device resets.
The system now resets and returns to the login prompt; the default login name
and password are both reset to netscreen
0
 

Expert Comment

by:enckedooo
ID: 34172261
hello Balack
sorry but i was searching how to reset the password without resetting the configs
& i didnt find any
but i've found that if you can connect to through the serial port
go to your device & locate the serial number
type your serial number in both user name & password
this will rest it to the factory settings in a second

thanks
0
 
LVL 18

Expert Comment

by:Sanga Collins
ID: 34173639
Thats one i never knew!

Wow thanks for the tip :)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Usually shares are where we want them for our users and we tend to take them for granted. There are times, however, when those shares may disappear causing difficulty for your users. One of the first things to try is searching for files that shou…
New style of hardware planning for Microsoft Exchange server.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question