Cisco NAC3350-PROF-K9 Hardware Installation Guide - Page 112
Useful CLI Commands for the CAM/CAS, CAM CLI Commands
View all Cisco NAC3350-PROF-K9 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 112 highlights
Useful CLI Commands for the CAM/CAS Chapter 3 Installing the Clean Access Manager and Clean Access Server Useful CLI Commands for the CAM/CAS This section covers CLI commands for both the Clean Access Manager and Clean Access Server: • CAM CLI Commands, page 3-42 • CAS CLI Commands, page 3-43 CAM CLI Commands You can perform most administration tasks for the Clean Access Manager through the web admin console, such as configure behavior, and perform operations such as starting and rebooting the CAM. However, in some cases you may need to access the CAM configuration directly, for example if the web admin console is unavailable due to incorrect network or VLAN settings. You can use the Cisco NAC Appliance command line interface (CLI) to set basic operational parameters directly on the CAM. To run the CLI commands, access the CAM using SSH and log in as user root and enter the corresponding password. If already serially connected to the CAM, you can run CLI commands from the terminal emulation console after logging in as root (see Connect the Clean Access Manager, page 3-4). The format service perfigo is used to enter a command from the command line. Table 3-3 lists the commonly used Cisco NAC Appliance CLI commands. Table 3-3 CLI Commands Command service perfigo start service perfigo stop service perfigo restart service perfigo reboot service perfigo config service perfigo time Description Starts up the appliance. If the CAM is already running, a warning message appears. The CAM must be stopped for this command to be used. Shuts down the Cisco NAC Appliance service. Shuts down the Cisco NAC Appliance 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. Shuts down and reboots the machine. You can also use the Linux reboot command. Starts the configuration script to modify the CAM configuration. After completing service perfigo config, you must reboot the CAM. Use to modify the time zone settings. 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. 3-42 Cisco NAC Appliance Hardware Installation Guide OL-20326-01