Shell Commands
Enters a shell to interact with the appliance more directly. Once in this mode, many of the commands used in CentOS are the same.
It is handled inside the shell context
To enter the shell context, from the base context run:
execute enter-shell
The following commands are available:
Command |
Description |
||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Imports (create) devices based on the contents of the input CSV file. This tool only supports importing SNMP devices that are managed using SNMPv1 For usage details see CLI import tool in the Administration Guide. All entries in the file should be for devices of the same type. |
||||||||||
|
The poll function uses the serial number to look up entitlements |
||||||||||
|
Displays port1 default gateway |
||||||||||
|
Displays port1 IP address |
||||||||||
|
To support per-device SSH authentication customizations. Available options:
Example 1 - Override the default kex list: device -ip 10.12.228.126 -setAttr -name SSH_KEX -value "diffie-hellman-group1-sha1 diffie-hellman--sha1" Example 2 - Eable keyboard-interactive: device -ip 10.12.228.126 -setAttr -name SSH_KBD_ENABLED -value true Example 3 - Remove or restore default settings (remove the attribute): device -ip 10.12.228.126 -delAttr -name SSH_KBD_ENABLED |
||||||||||
|
Creates a one-time snapshot of the logs available on the appliance. For details see KB article 190755 For Admin UI instructions see Download logs in the Administration Guide |
||||||||||
|
This program will exercise the Radius rfc5176 functionality Selection Options: -ip <NAS device IP> -mac <Mac address of client to impact> -dis <disconnect command> -policy <VLAN/Role/etc to change for the client using CoA command>
If no operation is specified, then this message is displayed Example 1 - To issue a disconnect command to a device. SendCoA -ip 10.1.0.25 -mac 00:1B:77:11:CE:2F -dis
Example 2 - To change the policy on a client. SendCoA -ip 10.1.0.25 -mac 00:1B:77:11:CE:2F -policy Production
|
||||||||||
|
Shuts down FortiNAC processes No option: Stops Yams process & idles system (if HA system, will not failover) (If done without idling system first, will force failover on HA systems) |
||||||||||
|
Starts up FortiNAC processes (Yams & CampusManager) |
||||||||||
|
Confirm running state of the DHCP service. Type “q” to return to prompt |
||||||||||
|
Database backup with timestamp included in filename. Backs up locally to disk (/bsc/backups/).
For Admin UI instructions see Database backup/restore in the Administration Guide |
||||||||||
|
Confirm running state of the named service. Type “q” to return to prompt |
||||||||||
|
The number of days/min/sec since last power up or reboot. |
||||||||||
|
Load a previously saved database backup. For Admin UI instructions see Database backup/restore in the Administration Guide |