This topic describes how to use CLI commands to specify a syslog server for log messages on the Central Management System appliance. For a full list of logging commands and the usage and parameters, see the CLI Command Reference.
Prerequisites
Admin access
To specify a syslog server:
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
To specify a syslog server to which logging messages are sent, use the
logging <serverAddress>command, where<serverAddress>is the server IP address. For example:hostname (config) # logging 10.10.20.62Verify your changes:
hostname (config) # show logging Local logging level: notice Override for class mgmt-back: notice Override for class mgmt-front: noticeRemote syslog default level: notice Remote syslog servers: 10.10.20.62 notice protocol: udp port: 514 [ . . . ]
Save your changes.
hostname (config) # write memory