3 system log configuration example – Accton Technology ES4626 User Manual

Page 66

Advertising
background image

66

range of local0 ~ local7,which is in accordance with the facility defined in the

RFC3164;<severity> is the severity threshold of the log information severity level,The
rule of the log information output is explained as follows:only those with a level equal to

or higher than the threshold will be outputted. For detailed description on the severity

please refer to the operation manual.

Command Mode:

Global Mode

Default:

No log information output to the log host by default. The default recorder of the

log host is the local0, the default severity level is warnings

Usage Guide:

Only when the log host is configured by the logging command, this

command will be available. We can configure many IPv4 and IPv6 log hosts.

Example 1

Send the log information with a severity level equal to or higher than warning

to the log server with an IPv4 address of 100.100.100.5, and save to the log recording

equipment local1

Switch(Config)# logging 100.100.100.5 facility local1 level warnings

Example 2

Send the log information with a severity level equal to or higher than

informational to the log server with an IPv6 address of 3ffe:506:1:2::3, and save to the log

recording equipment local1

Switch(Config)# logging 3ffe:506:1:2::3 facility local5 level informational

2.2.9.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 Ethernet 0

Switch(Config-Ethernet0)#ip address 100.100.100.1 255.255.255.0

Switch(Config-Ethernet0)#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 Ethernet 0

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

Advertising
This manual is related to the following products: