beautypg.com

Logging syslog-server – Brocade Network OS Command Reference v4.1.0 User Manual

Page 470

background image

432

Network OS Command Reference

53-1003115-01

logging syslog-server

2

logging syslog-server

Configures a switch to forward system messages to specified servers.

Synopsis

logging syslog-server ip_address [secure {true | false}] [port [value]]

no logging syslog-server ip_address

Operands

ip_address

Specifies the IP address of the syslog server in IPv4 or IPv6 format.

secure {true | false}

Configures a secure syslog server. A secure port number with default
values is not shown in the Brocade Network OS database.

port value

Configures the port for the syslog server.

Defaults

If the secure parameter is set to true and the port number is not specified, the default port
number of 6514 is used.

The default value for the secure parameter is false.

Command Modes

Global configuration mode

Description

Use this command to configure a switch to forward all error log entries to the one or more specified
servers. You can configure up to four servers.

The certutil import syslogca command is required for secure syslog to be fully functional.

Usage Guidelines

You can configure up to four syslog servers. You must execute the command for each server.

This command is not supported on the standby management module.

In a Brocade VCS Fabric, the syslog configuration is distributed to all switches in the fabric.

If the secure parameter is set to false, you are not able to set the port number.

Enter no logging syslog-server to remove the specified IP address.

Examples

To configure a server to which system messages are sent:

switch(config)# logging syslog-server 192.168.163.233

To remove a configured syslog server:

switch(config)# no logging syslog-server 192.168.163.233

To remove a syslog server port:

switch(config)# no logging syslog-server 10.17.17.203 secure port 1999

switch(config)# do show running-config logging syslog-server

logging syslog-server 10.17.17.203

secure

See Also

certutil import syslogca, logging syslog-facility local, show running-config logging syslog-facility,
show running-config logging syslog-server