Product specifications
Switch Command Line Interface
Groups and Commands
1-94 D000103-000 E
logResetToDefaults
Restores the log file default settings.
Syntax:
Options:
Sample Output:
logSyslogConfig
Configure the syslog host IP address.
Syntax:
Options:
Sample Output:
NOTES: If configured the device can forward its log messages to a syslog host.
This command allows a user to configure the host and port to send messages to
and the facility to use in the messages. The facility value assignments are:
logResetToDefaults [-noprompt]
-noprompt
Restore the defaults without prompting the user.
-> logResetToDefaults
Log configuration has been reset
logSyslogConfig [-h xxx.xxx.xxx.xxx] [-p xxxx] [-f xx]
[-m x]
-h ip_address
Sets the host IP address in dotted decimal format (xxx.xxx.xxx.xxx).
-p port
The host port number on which the syslog server is listening.
-f facility
The syslog facility to use in the messages.
-m mode
Determines whether the syslog is to be put into a special OEM mode.
-> logSyslogConfig -h 172.26.0.202
Successfully configured the syslog host