Strony

Monday, 29 July 2013

Juniper SSG – ScreenOS useful commands

Gather information about the platform/system
-get system

Gather specific information – about the version of hardware and software
- get system | i version

Save operating system to tftp :
- save software from flash to tftp 192.168.1.20 name_of_file

Save configuration from flash (device) to tftp:
- save config from flash to tftp 192.168.1.20 name_of_file

Output from console not divided into pages :
- set console page 0

Create zone :
- set zone name name_of_zone

Set zone on the interface :
- set int eth0/0 zone name_of_zone

Gather information about configured zones
- get zone

Set IP address on the interface :
- set int eth0/0 ip 192.168.1.1 255.255.255.0

Setting manageability on the interface:
- set int eth0/0 ip manageable (main ip address on the interface will be manageable)

Add second address for managing :
- set int eth0/0 manage-ip 192.168.1.2

Set interface ssl manageability:
- set int eth0/0 manage ssl

Setting ip address from which configuration of the device is allowed :
- set admin manager-ip 192.168.1.22

Gather information about configured ip addresses from which configuration is allowed:
- get admin manager-ip

Set default-route :
- set route 0.0.0.0 0.0.0.0 gateway 192.168.1.24

Gather information about configured routes :
- get route

Reset the state of alarm led :
- clear led alarm

No comments:

Post a Comment