Cisco Cisco Clean Access 3.5

Seite von 372
 
2-9
Cisco Clean Access Manager Installation and Administration Guide
OL-7044-01
Chapter 2      Installing the Clean Access Manager
Using the Command Line Interface (CLI)
Using the Command Line Interface (CLI) 
You can perform most administration tasks for Cisco Clean Access through the web admin console, such 
as configure behavior, and perform operations such as starting and rebooting the server. However, in 
some cases you may need to access the server configuration directly, for example if the web admin 
console is unavailable due to incorrect network or VLAN settings. You can use the Cisco Clean Access 
command line interface (CLI) to set basic operational parameters directly on the server. 
To run the CLI commands, access the server using SSH and log in as user 
root
 (default password is 
cisco123
) If already serially connected to the server, you can run CLI commands from the terminal 
emulation console after logging in as 
root
 (see 
). 
The format
 service perfigo <command>
 is used to enter a command from the command line. 
 
lists the commonly used Cisco Clean Access CLI commands. 
Power Down the CAM
To power down the CAM, use one of the following recommended methods while connected via SSH:
  •
Type
 service perfigo stop
, then power down the machine, or 
  •
Type 
/sbin/halt
, then power down the machine.
Restart Initial Configuration
To start the configuration script, type 
service perfigo config
 while connected through SSH. For 
example:
 [root@camanager root]# service perfigo config 
This command causes the configuration utility script to start (on either the CAS or CAM). The script lets 
you configure the network settings for the server (see 
 for 
instructions). After running and completing 
service perfigo config
, make sure to run 
service 
perfigo reboot 
or 
reboot
 to reset the server with the modified configuration settings. 
Note
For details on restoring the database from automated and manual backup snapshots via command line 
utility, see 
Table 2-1
CLI Commands
Command
Description
service perfigo start
Starts up the server. If the server is already running, a warning message 
appears. The server must be stopped for this command to be used. 
service perfigo stop
Shuts down the Cisco Clean Access service. 
service perfigo restart
Shuts down the Cisco Clean Access service and starts it up again. This is 
used when the service is already running and you want to restart it. 
Note
service perfigo restart 
should not be used to test high 
availability (failover). Instead, Cisco recommends “shutdown” or 
“reboot” on the machine to test failover, or if a CLI command is 
preferred, 
service perfigo stop
 and 
service perfigo start
service perfigo reboot 
Shuts down and reboots the machine. You can also use the Linux 
reboot
 
command. 
service perfigo config
Starts the configuration script to modify the server configuration. After 
completing 
service perfigo config
, you must reboot the server. 
service perfigo time
Use to modify the time zone settings.