syslog

Configures the device to use the Syslog server.
Syntax
syslog

After the syslog command is entered to enable the Syslog configuration mode, the following configuration syntax is available:

[dhcp{enable|disable}|nat{enable|disable}|show|syslog-serverip-addressport]
Command Default

The device does not use the Syslog server.

Parameters
dhcp
Sets the DHCP messaging options for the Syslog server.
enable
Enables forwarding of DHCP messages to the Syslog server.
disable
Disables forwarding of DHCP messages to the Syslog server.
nat
Sets the NAT messaging options for the Syslog server.
enable
Enables forwarding of NAT messages to the Syslog server.
disable
Disables forwarding of NAT messages to the Syslog server.
show
Displays Syslog server information.
syslog-serverip-addressport
Configures the Syslog server IP address and port number.
Modes

Global configuration mode

Usage Guidelines

This command is supported on the SmartZone Data Plane controllers only.

Examples

The following example configures the device to use the Syslog server, enables DHCP, and sets the Syslog server IP address and port number. The show command displays information about the configuration of the Syslog server.

device# config
device(config)# syslog
device(config-syslog)# dhcp enable
device(config-syslog)# syslog-server 10.10.2.2 4
device(config-syslog)# show
syslog server ip: 10.10.2.2
syslog server port: 4
syslog server dhcps: enable
syslog server nat: disable