Cisco NAC3350-PROF-K9 Hardware Installation Guide - Page 112

Useful CLI Commands for the CAM/CAS, CAM CLI Commands

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176

3-42
Cisco NAC Appliance Hardware Installation Guide
OL-20326-01
Chapter 3
Installing the Clean Access Manager and Clean Access Server
Useful CLI Commands for the CAM/CAS
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 <command>
is used to enter a command from the command line.
Table 3-3
lists the commonly used Cisco NAC Appliance 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.
Table 3-3
CLI Commands
Command
Description
service perfigo start
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.
service perfigo stop
Shuts down the Cisco NAC Appliance service.
service perfigo restart
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
.
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 CAM configuration. After
completing
service perfigo config
, you must reboot the CAM.
service perfigo time
Use to modify the time zone settings.