XGS-5240-Series User Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
71-9
logging {<ipv4-addr> | <ipv6-addr>} [ facility
<local-number> ] [level <severity>]
no logging {<ipv4-addr> | <ipv6-addr>} [ facili
ty <local-number>]
Enable the output channel of th
e log host. The “no” form of this
command will disable the outpu
t at the output channel of the lo
g host.
logging loghost sequence-number
no logging loghost sequence-number
Add the loghost sequence-numb
er for the log, the no command
does not include the loghost seq
uence-number.
3. Enable/disable the log executed-commands
4. Display the log source
5. Display executed-commands state
71.7.3 System Log Configuration Example
Example 1: When managing VLAN the IPv4 address of the switch is 100.100.100.1, a
nd the IPv4 address of the remote log server is 100.100.100.5. It is required to send t
he log information with a severity equal to or higher than warnings to this log server a
nd save in the log record equipment local1.
Command
Description
Global mode
logging executed-commands {enable | disabl
e}
Enable or disable the logging ex
ecuted-commands
Command
Description
Admin and configuration mode
show logging source mstp
Show the log information source
of MSTP module.
Command
Description
Admin mode
show logging executed-commands state
Show the state of logging execu
ted-commands