3 system log configuration example, 3 system log configuration example -6 – PLANET XGS3-24042 User Manual

Page 644

Advertising
background image

76-6

Command

Description

Global Mode

logging executed-commands {enable | disable}

Enable or disable the logging

executed-commands

4.

Display the log source

Command

Description

Admin and configuration mode

show logging source mstp

Show the log information source of

MSTP module.

5.

Display executed-commands state

Command

Description

Admin mode

show logging executed-commands state

Show the state of logging

executed-commands

76.7.3 System Log Configuration Example

Example 1: When managing VLAN the IPv4 address of the switch is 100.100.100.1, and the IPv4 address of

the remote log server is 100.100.100.5. It is required to send the log information with a severity equal to or

higher than warnings to this log server and save in the log record equipment local1.

Configuration procedure:

Switch(config)#interface vlan 1

Switch(Config-if-Vlan1)# ip address 100.100.100.1 255.255.255.0

Switch(Config-if-Vlan1)#exit

Switch(config)#logging 100.100.100.5 facility local1 level warnings

Example 2: When managing VLAN the IPv6 address of the switch is 3ffe:506::1, and the IPv4 address of the

remote log server is 3ffe:506::4. It is required to send the log information with a severity equal to or higher

than critical to this log server and save the log in the record equipment local7.

Configuration procedure

Switch(config)#interface vlan 1

Switch(Config-if-Vlan1)#ipv6 address 3ffe:506::1/64

Switch(Config-if-Vlan1)#exit

Switch(config)#logging 3ffe:506::4 facility local7 level critical

Advertising
This manual is related to the following products: