![SNR S2940-8G-v2 Configuration Manual Download Page 417](http://html1.mh-extra.com/html/snr/s2940-8g-v2/s2940-8g-v2_configuration-manual_1310630417.webp)
SNR S2940-8G-v2 Switch Configuration Guide
Monitor and Debug
logging loghost sequence-number
no logging loghost sequence-number
Add the loghost sequence-number for the log,
the no command does not include the loghost
sequence-number.
3. Enable/disable the log executed-commands
Command
Explanation
Global Mode
logging executed-commands { enable | dis-
able }
Enable
or
disable
the
logging
executed-
commands.
4. Display the log source
Command
Explanation
Admin and Config Mode
show logging source mstp
Show the log information source of MSTP mod-
ule.
5. Display executed-commands state
Command
Explanation
Admin Mode
show logging executed-commands state
Show the state of logging executed-commands.
66.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
417
Summary of Contents for S2940-8G-v2
Page 11: ...SNR S2940 8G v2 Switch Configuration Guide Part I Basic Management Configuration 11...
Page 46: ...SNR S2940 8G v2 Switch Configuration Guide Part II Port Configuration 46...
Page 123: ...SNR S2940 8G v2 Switch Configuration Guide Part III VLAN and MAC Table Configuration 123...
Page 164: ...SNR S2940 8G v2 Switch Configuration Guide Part IV MSTP Configuration 164...
Page 198: ...SNR S2940 8G v2 Switch Configuration Guide Part VI L3 Forward and ARP Configuration 198...
Page 218: ...SNR S2940 8G v2 Switch Configuration Guide Part VII DHCP Configuration 218...
Page 257: ...SNR S2940 8G v2 Switch Configuration Guide Part VIII Multicast Protocol 257...
Page 278: ...SNR S2940 8G v2 Switch Configuration Guide Part IX Security Function Configuration 278...
Page 376: ...SNR S2940 8G v2 Switch Configuration Guide Part X Reliability Configuration 376...
Page 395: ...SNR S2940 8G v2 Switch Configuration Guide Part XI Flow Monitor Configuration 395...
Page 403: ...SNR S2940 8G v2 Switch Configuration Guide Part XII Network Time Management Configuration 403...
Page 411: ...SNR S2940 8G v2 Switch Configuration Guide Part XIII Debugging and Diagnosis 411...