Cisco CSACS-1121-K9 Reference Guide - Page 169

logging, loglevel

Page 169 highlights

Appendix A ACS Command Reference Configuration Commands Examples acs/admin(config)# kron policy-list SchedBackupMonday acs/admin(config-Policy List)# cli backup SchedBackupMonday repository SchedBackupRepo acs/admin(config-Policy List)# exit acs/admin(config)# Related Commands Command kron occurrence Description Specifies schedule parameters for a Command Scheduler occurrence and enters the config-Occurrence configuration mode. logging To enable the system to forward logs to a remote system or to configure the log level, use the logging command in Configuration mode. To disable this function, use the no form of this command. logging {ip-address | hostname} {loglevel level} Syntax Description ip-address hostname loglevel level IP address of remote system to which you forward logs. Up to 32 alphanumeric characters. Hostname of remote system to which you forward logs. Up to 32 alphanumeric characters. Configures the log level for the logging command. Number of the desired priority level at which you set the log messages. Priority levels are (enter the number for the keyword): • 0-emerg-Emergencies: System unusable. • 1-alert-Alerts: Immediate action needed. • 2-crit-Critical: Critical conditions. • 3-err-Error: Error conditions. • 4-warn-Warning: Warning conditions. • 5-notif-Notifications: Normal but significant conditions. • 6-inform-Informational messages. Default. • 7-debug-Debugging messages. Defaults No default behavior or values. Command Modes Configuration Usage Guidelines This command requires an IP address or hostname or the loglevel keyword; an error occurs if you enter two or more of these arguments. OL-18996-01 CLI Reference Guide for the Cisco Secure Access Control System 5.1 A-131

  • 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
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190

A-131
CLI Reference Guide for the Cisco Secure Access Control System 5.1
OL-18996-01
Appendix A
ACS Command Reference
Configuration Commands
Examples
acs/admin(config)#
kron policy-list SchedBackupMonday
acs/admin(config-Policy List)#
cli backup SchedBackupMonday repository SchedBackupRepo
acs/admin(config-Policy List)#
exit
acs/admin(config)#
Related Commands
logging
To enable the system to forward logs to a remote system or to configure the log level, use the
logging
command in
Configuration mode. To disable this function, use the
no
form of this command.
logging
{
ip-address
|
hostname
} {
loglevel
level
}
Syntax Description
Defaults
No default behavior or values.
Command Modes
Configuration
Usage Guidelines
This command requires an IP address or hostname or the
loglevel
keyword; an error occurs if you enter
two or more of these arguments.
Command
Description
kron occurrence
Specifies schedule parameters for a Command Scheduler occurrence
and enters the config-Occurrence configuration mode.
ip-address
IP address of remote system to which you forward logs. Up to 32
alphanumeric characters.
hostname
Hostname of remote system to which you forward logs. Up to 32
alphanumeric characters.
loglevel
Configures the log level for the
logging
command.
level
Number of the desired priority level at which you set the log messages.
Priority levels are (enter the number for the keyword):
0-emerg—Emergencies: System unusable.
1-alert—Alerts: Immediate action needed.
2-crit—Critical: Critical conditions.
3-err—Error: Error conditions.
4-warn—Warning: Warning conditions.
5-notif—Notifications: Normal but significant conditions.
6-inform—Informational messages. Default.
7-debug—Debugging messages.