CLI Guide

Switch Management Commands 2246
<189> Jan 10 18:59:27 10.27.21.22-2 TRAPMGR[209809328]: traputil.c(614) 372
%% Multiple Users: Unit: 0 Slot: 5 Port: 1
<189> Jan 10 18:59:27 10.27.21.22-2 CMDLOGGER[209809328]:
cmd_logger_api.c(83) 373 %% NOTE CLI:10.27.21.22:admin:User admin logged in
<190> Jan 10 18:59:27 10.27.21.22-2 CLI_WEB[209809328]:
cmd_logger_api.c(260) 374 %% INFO [CLI:admin:10.27.21.22] User has
successfully logged in
<190> Jan 10 18:59:28 10.27.21.22-2 CLI_WEB[209809328]:
cmd_logger_api.c(260) 375 %% INFO [CLI:admin:10.27.21.22] User admin logged
in to enable mode.
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 SYSLOG servers, use the no form of this command.
Syntax
logging {ip-address | ipv6-address | hostname} [tls {anon | x509 | x509
certificate index}]
no logging {ip-address | ipv6-address |hostname}
ip-address — IP address of the host to be used as a SYSLOG server.
ipv6-address — IPv6 address of the host to be used as a SYSLOG server.
hostname — Hostname of the host to be used as a SYSLOG server.
(Range: 1-63 characters) The command allows spaces in the host name
when specified in double quotes. For example, #snmp-server v3-host
“host name”.
anon—Use anonymous authentication (that is, anonymous mode with
no authentication).
x509—Use mutual authentication (both client and server side). An
optional certificate index can be used to identify a specific server and
client certificate pair.
Default Configuration
When enabling x509 authentication, a default (non-indexed) certificate pair
is used if present and no certificate index has been specified.
The default SYSLOG server port number is 514. When DTLS is configured
(logging protocol 1), the default port number is 6514.