syslog command

This command manages how the advanced management module handles transmission of event log messages to networked syslog event collectors.

Table 1. syslog command
Function What it does Command Valid targets
Display syslog configuration Displays the syslog event log transmission configuration of the advanced management module. syslog
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Set syslog filter level Set severity filtering levels for syslog event log transmission. syslog -sev level

where level is:

  • i selects error, warning, and informational logs
  • w selects error and warning logs
  • e selects error logs
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Set syslog event log transmission state for collector 1 Enables or disables syslog event log transmission to collector 1. syslog -coll1 state

where state is enabled or disabled.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Set syslog event log transmission state for collector 2 Enables or disables syslog event log transmission to collector 2. syslog -coll2 state

where state is enabled or disabled.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

syslog event log collector 1 host name or IP address - set Sets the host name or IP address for syslog event collector 1. syslog -i1 hostname/ip_address

where hostname/ip_address is the collector 1 host name or IP address.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

syslog event log collector 2 host name or IP address - set Sets the host name or IP address for syslog event collector 2. syslog -i2 hostname/ip_address

where hostname/ip_address is the collector 2 host name or IP address.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

syslog event log collector 1 port number - set Sets the port number for syslog event collector 1. syslog -p1 port

where port is the collector 1 port number from 1 to 65535, inclusive. If you enter a value outside this range, an error will be displayed.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

syslog event log collector 2 port number - set Sets the port number for syslog event collector 2. syslog -p2 port

where port is the collector 2 port number from 1 to 65535, inclusive. If you enter a value outside this range, an error will be displayed.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Generate test message Generates a test syslog message to test the configuration.
Note: The -test command options must be run exclusive of other command options.
syslog -test
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis account management
  • Chassis log management
  • Chassis administration
  • Chassis configuration
  • Blade administration
  • Blade configuration
  • Blade remote presence
  • I/O module administration
  • I/O module configuration
See Commands and user authority for additional information.
                           -T system:mm[x]
                        

where x is the primary management-module bay number.

Example: To view the syslog event log transmission configuration of the primary advanced management module in bay 1, while this management module is set as the persistent command environment, at the system:mm[1]> prompt, type
                  syslog
               

The following example shows the information that is returned from this command:

               system:mm[1]> syslog
-sev 1
-coll1 enabled
-coll2 disabled
-i1 253.245.45.1
-i2
-p1 514
-p2 514
system:mm[1]>