Configuration procedure, Outputting log information to a unix log host, Network requirements – H3C Technologies H3C WX5500E Series Access Controllers User Manual

Page 58

Advertising
background image

50

Figure 18 Network diagram

Configuration procedure

# Enable the information center.

<Sysname> system-view

[Sysname] info-center enable

# Use channel console to output log information to the console. (This step is optional because it is the
default setting.)

[Sysname] info-center console channel console

# Disable the output of log, trap, and debugging information of all modules on the channel console.

[Sysname] info-center source default channel console debug state off log state off trap

state off

To avoid outputting unnecessary information, disable the output of log, trap, and debugging information

of all modules on the specified channel (console in this example), and then configure the output rule as
needed.
# Configure an output rule to output to the console ARP and IP log information that has a severity level

of at least informational.

[Sysname] info-center source arp channel console log level informational state on

[Sysname] info-center source ip channel console log level informational state on

[Sysname] quit

# Enable the display of log information on the console. (This function is enabled by default.)

<Sysname> terminal monitor

Info: Current terminal monitor is on.

<Sysname> terminal logging

Info: Current terminal logging is on.

Now, if the ARP and IP modules generate log information, the information center automatically sends the
log information to the console.

Outputting log information to a UNIX log host

Network requirements

Configure the device to send ARP and IP log information that has a severity level of at least informational

to the UNIX log host at 1.2.0.1/16.

Figure 19 Network diagram

Advertising