Command Line Interface Guide
Page 59
Describes user commands used for entering CLI commands. Configures the switch clock, name and authorized users. Command Groups 59 Configures Telnet service on the switch and displays Telnet information. System Command Groups (continued) Command Group Syslog System Management Telnet Server User Interface Web Server Description Manages and displays syslog messages. Configures web-based access to the switch. Table 1-1.
Describes user commands used for entering CLI commands. Configures the switch clock, name and authorized users. Command Groups 59 Configures Telnet service on the switch and displays Telnet information. System Command Groups (continued) Command Group Syslog System Management Telnet Server User Interface Web Server Description Manages and displays syslog messages. Configures web-based access to the switch. Table 1-1.
Command Line Interface Guide
Page 129
PE user-key Specifies which SSH public key is manually SP configured and enters the SSH public key-string configuration command. Syslog Command clear logging clear logging file description level loggin cli-command logging logging buffered logging console logging facility logging file ... show logging file show ip ssh Displays the SSH server configuration. Limits messages logged to the console based on severity. GC Specifies the port number of the logging messages. Displays the state of logging and the syslog PE messages stored in the logging file. Clears messages from...
PE user-key Specifies which SSH public key is manually SP configured and enters the SSH public key-string configuration command. Syslog Command clear logging clear logging file description level loggin cli-command logging logging buffered logging console logging facility logging file ... show logging file show ip ssh Displays the SSH server configuration. Limits messages logged to the console based on severity. GC Specifies the port number of the logging messages. Displays the state of logging and the syslog PE messages stored in the logging file. Clears messages from...
Command Line Interface Guide
Page 145
... for the SNMP server host. • SNMP v3 Host Configuration - indicates specific object or range of the switch (hostname) and identifies the command mode. Configures the parameters for syslog log server. Identifying the Switch and Command Mode from the System Prompt The system ...prompt provides the user with the name of objects within the configuration mode. Using the CLI 145 The Global Configuration mode command macaccess-list...
... for the SNMP server host. • SNMP v3 Host Configuration - indicates specific object or range of the switch (hostname) and identifies the command mode. Configures the parameters for syslog log server. Identifying the Switch and Command Mode from the System Prompt The system ...prompt provides the user with the name of objects within the configuration mode. Using the CLI 145 The Global Configuration mode command macaccess-list...
Command Line Interface Guide
Page 169
... specify what protocol to use the local user accounts or reject all requests. • Even if the user configures the CLI to fail login when the remote authentication servers are implementation-dependent but may contain debug messages, security ...authentication servers are used, the user can identify at least two remote servers (the user may choose to configure only one server) and what happens when both primary and secondary servers fail to respond. If no ... specifications apply: • The CLI permits the user to configure a remote syslog server to which all logging messages to a remote...
... specify what protocol to use the local user accounts or reject all requests. • Even if the user configures the CLI to fail login when the remote authentication servers are implementation-dependent but may contain debug messages, security ...authentication servers are used, the user can identify at least two remote servers (the user may choose to configure only one server) and what happens when both primary and secondary servers fail to respond. If no ... specifications apply: • The CLI permits the user to configure a remote syslog server to which all logging messages to a remote...
Command Line Interface Guide
Page 1053
... document contains the following Utility command topics: • Autoconfig Commands • Captive Portal Commands • Clock Commands • Configuration and Image File Commands • Denial of Service Commands • Line Commands • Management ACL Commands • Password Management...; RMON Commands • Serviceability Tracing Packet Commands • Sflow Commands • SNMP Commands • SSH Commands • Syslog Commands • System Management Commands • Telnet Server Commands • User Interface Commands • Web Server Commands Autoconfig Commands...
... document contains the following Utility command topics: • Autoconfig Commands • Captive Portal Commands • Clock Commands • Configuration and Image File Commands • Denial of Service Commands • Line Commands • Management ACL Commands • Password Management...; RMON Commands • Serviceability Tracing Packet Commands • Sflow Commands • SNMP Commands • SSH Commands • Syslog Commands • System Management Commands • Telnet Server Commands • User Interface Commands • Web Server Commands Autoconfig Commands...
Command Line Interface Guide
Page 1114
...:[[//location]/directory]/filename. The syntax for this alias is the target of a copy operation. Default Configuration This command has no default configuration. operational-log Represents the operational syslog file. The syntax for an FTP network server. An out-of the source or destination URL...of a copy command, it refers to the active image. Reserved Keyword Description startup-config Represents the startup configuration file. startup-log Represents the startup syslog file. This can only be specifed as described in the stack is destination, the file will be the ...
...:[[//location]/directory]/filename. The syntax for this alias is the target of a copy operation. Default Configuration This command has no default configuration. operational-log Represents the operational syslog file. The syntax for an FTP network server. An out-of the source or destination URL...of a copy command, it refers to the active image. Reserved Keyword Description startup-config Represents the startup configuration file. startup-log Represents the startup syslog file. This can only be specifed as described in the stack is destination, the file will be the ...
Command Line Interface Guide
Page 1276
Command Mode Privileged EXEC mode User Guidelines This command has no default configuration for the command. 1276 Syslog Commands console#clear logging Clear logging buffer [y/n] clear logging file Use the clear logging file command in Privileged EXEC mode to clear ...clear logging Use the clear logging command in Privileged EXEC mode to clear messages from the logging file. Syntax clear logging file Default Configuration There is no user guidelines. Example The following example clears messages from the internal syslog message logging buffer. Syntax clear logging Default...
Command Mode Privileged EXEC mode User Guidelines This command has no default configuration for the command. 1276 Syslog Commands console#clear logging Clear logging buffer [y/n] clear logging file Use the clear logging file command in Privileged EXEC mode to clear ...clear logging Use the clear logging command in Privileged EXEC mode to clear messages from the logging file. Syntax clear logging file Default Configuration There is no user guidelines. Example The following example clears messages from the internal syslog message logging buffer. Syntax clear logging Default...
Command Line Interface Guide
Page 1277
... response. Syntax description description • description - Example The following example sets the syslog server description. console(config-logging)#description "syslog server 1" Syslog Commands 1277 Command Mode Logging mode User Guidelines After entering the view corresponding to a specific... syslog server, the command can be executed to describe the syslog server. console#clear logging file Clear logging file [y/n] description Use the description command in Logging mode to set the description of the syslog server. (Range: 1-64 characters.) Default Configuration This ...
... response. Syntax description description • description - Example The following example sets the syslog server description. console(config-logging)#description "syslog server 1" Syslog Commands 1277 Command Mode Logging mode User Guidelines After entering the view corresponding to a specific... syslog server, the command can be executed to describe the syslog server. console#clear logging file Clear logging file [y/n] description Use the description command in Logging mode to set the description of the syslog server. (Range: 1-64 characters.) Default Configuration This ...
Command Line Interface Guide
Page 1278
...-command no level • level - The level number for syslog messages. (Range: emergency, alert, critical, error, warning, notice, info, debug) Default Configuration The default value for syslog messages. level Use the level command in Global Configuration mode to alert. Example The following example sets the syslog message importance level to enable CLI command logging. Command...
...-command no level • level - The level number for syslog messages. (Range: emergency, alert, critical, error, warning, notice, info, debug) Default Configuration The default value for syslog messages. level Use the level command in Global Configuration mode to alert. Example The following example sets the syslog message importance level to enable CLI command logging. Command...
Command Line Interface Guide
Page 1279
... the CLI commands by using the show logging file logging Use the logging command in Global Configuration mode to log messages to a syslog server. To delete the syslog server with the specified address from the list of syslogs, use the no form of this command. Example console(config)#logging cli-command JAN 13 05...) 2115 %% CLI:EIA232:----: JAN 13 05:20:39 192.168.2.1-1 UNKN[248900192]: cmd_logger_api.c(87) 2116 %% CLI:EIA232:----:show logging command. Syntax logging {ip-address | hostname} Syslog Commands 1279
... the CLI commands by using the show logging file logging Use the logging command in Global Configuration mode to log messages to a syslog server. To delete the syslog server with the specified address from the list of syslogs, use the no form of this command. Example console(config)#logging cli-command JAN 13 05...) 2115 %% CLI:EIA232:----: JAN 13 05:20:39 192.168.2.1-1 UNKN[248900192]: cmd_logger_api.c(87) 2116 %% CLI:EIA232:----:show logging command. Syntax logging {ip-address | hostname} Syslog Commands 1279
Command Line Interface Guide
Page 1280
..., critical, error, warning, notice, info, debug) Default Configuration The default value for level is info. 1280 Syslog Commands Example The following example places the designated server in Global Configuration mode to limit syslog messages displayed from an internal buffer based on severity. Limits...(config)#logging 192.168.15.1 logging buffered Use the logging buffered command in logging configuration mode. Command Mode Global Configuration mode User Guidelines Up to be used as a syslog server. • hostname - Hostname of this command. Syntax logging buffered level no...
..., critical, error, warning, notice, info, debug) Default Configuration The default value for level is info. 1280 Syslog Commands Example The following example places the designated server in Global Configuration mode to limit syslog messages displayed from an internal buffer based on severity. Limits...(config)#logging 192.168.15.1 logging buffered Use the logging buffered command in logging configuration mode. Command Mode Global Configuration mode User Guidelines Up to be used as a syslog server. • hostname - Hostname of this command. Syntax logging buffered level no...
Command Line Interface Guide
Page 1281
...." This command limits the commands displayed to a specified level. (Range: emergency, alert, critical, error, warning, notice, info, debug) Default Configuration The default value for level is info. Syslog Commands 1281 Command Mode Global Configuration mode User Guidelines This command has no logging console • level - Limits the logging of this command. Example The...
...." This command limits the commands displayed to a specified level. (Range: emergency, alert, critical, error, warning, notice, info, debug) Default Configuration The default value for level is info. Syslog Commands 1281 Command Mode Global Configuration mode User Guidelines This command has no logging console • level - Limits the logging of this command. Example The...
Command Line Interface Guide
Page 1282
...)#logging facility local3 logging file Use the logging file command in Global Configuration mode to limit syslog messages sent to set the facility for logging messages. Command Mode Global Configuration mode User Guidelines This command has no form of this command. 1282 Syslog Commands Example The following example sets the logging facility as local3...
...)#logging facility local3 logging file Use the logging file command in Global Configuration mode to limit syslog messages sent to set the facility for logging messages. Command Mode Global Configuration mode User Guidelines This command has no form of this command. 1282 Syslog Commands Example The following example sets the logging facility as local3...
Command Line Interface Guide
Page 1283
...warning." Limits the logging of this command. console(config)#logging file warning logging on Use the logging on Default Configuration Logging is error. Syslog Commands 1283 Syntax logging on no form of messages to the buffer to control error messages logging. Example The... following example limits syslog messages sent to the process that generated the messages. To disable the logging process, use the no logging on command in Global Configuration mode to a specified level. (Range: emergency, alert, critical, ...
...warning." Limits the logging of this command. console(config)#logging file warning logging on Use the logging on Default Configuration Logging is error. Syslog Commands 1283 Syntax logging on no form of messages to the buffer to control error messages logging. Example The... following example limits syslog messages sent to the process that generated the messages. To disable the logging process, use the no logging on command in Global Configuration mode to a specified level. (Range: emergency, alert, critical, ...
Command Line Interface Guide
Page 1284
... are sent to enable SNMP Set command logging. Only the console receives messages. Example console(config)#logging snmp 1284 Syslog Commands Command Mode Global Configuration mode User Guidelines To see SNMP Set command logs use the no form of logging messages to the various destinations,... such as the logging buffer, logging file, or syslog server. Example The following example shows how logging is disabled, no logging snmp Default Configuration Disabled. To disable, use the show logging command. However, if the logging on and ...
... are sent to enable SNMP Set command logging. Only the console receives messages. Example console(config)#logging snmp 1284 Syslog Commands Command Mode Global Configuration mode User Guidelines To see SNMP Set command logs use the no form of logging messages to the various destinations,... such as the logging buffer, logging file, or syslog server. Example The following example shows how logging is disabled, no logging snmp Default Configuration Disabled. To disable, use the show logging command. However, if the logging on and ...
Command Line Interface Guide
Page 1285
...use the no form of this command. To reset to the default value, use the no logging web-session Default Configuration Disabled. Syntax logging web-session no form of syslog messages. To disable, use the show logging command. Example console(config)#logging web-session MAR 24 07:46:07 ...) 765 %% WEB:10.131.7.67:admin:User admin logged in port Use the port command in Global Configuration mode to specify the port number of the command. Syntax port port Syslog Commands 1285 logging web-session Use the logging web-session command in Logging mode to enable web session logging...
...use the no form of this command. To reset to the default value, use the no logging web-session Default Configuration Disabled. Syntax logging web-session no form of syslog messages. To disable, use the show logging command. Example console(config)#logging web-session MAR 24 07:46:07 ...) 765 %% WEB:10.131.7.67:admin:User admin logged in port Use the port command in Global Configuration mode to specify the port number of the command. Syntax port port Syslog Commands 1285 logging web-session Use the logging web-session command in Logging mode to enable web session logging...
Command Line Interface Guide
Page 1286
... Guidelines After entering the view corresponding to a specific syslog server, the command can be executed to 300. Example The following example sets the syslog message port to set the port number for syslog messages. (Range: 1-65535) Default Configuration The default port number is 514. The port number...port 300 show logging Use the show logging Default Configuration This command has no port • port - no default configuration. Syntax show logging command in Privileged EXEC mode to display the state of logging and the syslog messages stored in the internal buffer. Command Mode ...
... Guidelines After entering the view corresponding to a specific syslog server, the command can be executed to 300. Example The following example sets the syslog message port to set the port number for syslog messages. (Range: 1-65535) Default Configuration The default port number is 514. The port number...port 300 show logging Use the show logging Default Configuration This command has no port • port - no default configuration. Syntax show logging command in Privileged EXEC mode to display the state of logging and the syslog messages stored in the internal buffer. Command Mode ...
Command Line Interface Guide
Page 1288
... command in Privileged EXEC mode to down show logging file Use the show logging file Default Configuration This command has no default configuration. 11-Aug-2005 15:41:43: %LINK-3-UPDOWN: Interface Ethernet g1, changed state to...%LINK-3-UPDOWN: Interface Ethernet g3, changed state to up 11-Aug-2005 15:41:43: %SYS-5-CONFIG_I: Configured from memory by console 11-Aug-2005 15:41:39: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet g1,... 1/3, changed state to display the state of logging and the syslog messages stored in the logging file. Command Mode Privileged EXEC mode 1288...
... command in Privileged EXEC mode to down show logging file Use the show logging file Default Configuration This command has no default configuration. 11-Aug-2005 15:41:43: %LINK-3-UPDOWN: Interface Ethernet g1, changed state to...%LINK-3-UPDOWN: Interface Ethernet g3, changed state to up 11-Aug-2005 15:41:43: %SYS-5-CONFIG_I: Configured from memory by console 11-Aug-2005 15:41:39: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet g1,... 1/3, changed state to display the state of logging and the syslog messages stored in the logging file. Command Mode Privileged EXEC mode 1288...
Command Line Interface Guide
Page 1289
...:00:05 0.0.0.0-1 UNKN[268434928]: bootos.c(382) 3 %% Event(0xaaaaaaaa) show syslog-servers Use the show syslog-servers Syslog Commands 1289 Example The following example displays the state of logging and syslog messages sorted in Privileged EXEC mode to display the syslog servers settings. Syntax show syslog-servers Default Configuration This command has no user guidelines. Command Mode Privileged...
...:00:05 0.0.0.0-1 UNKN[268434928]: bootos.c(382) 3 %% Event(0xaaaaaaaa) show syslog-servers Use the show syslog-servers Syslog Commands 1289 Example The following example displays the state of logging and syslog messages sorted in Privileged EXEC mode to display the syslog servers settings. Syntax show syslog-servers Default Configuration This command has no user guidelines. Command Mode Privileged...
Configuration Guide
Page 21
... in length console(config)#logging 192.168.10.65 console(Config-logging)#? CLI Command Logging Configuration. Syslog Facility Configuration. To exit from the mode. SNMP Set Command Logging Configuration. Console Logging Configuration. Configure logging file parameters. Specify UDP port (default is 514). Configure syslog server IP address or Hostname up to all supporting destinations. Web Session Logging : disabled...
... in length console(config)#logging 192.168.10.65 console(Config-logging)#? CLI Command Logging Configuration. Syslog Facility Configuration. To exit from the mode. SNMP Set Command Logging Configuration. Console Logging Configuration. Configure logging file parameters. Specify UDP port (default is 514). Configure syslog server IP address or Hostname up to all supporting destinations. Web Session Logging : disabled...