Example For Configuring Binary Logs To Be Sent To The Log Host - Huawei Quidway S9300 Configuration Manual

Terabit routing switch device management
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - Device Management
local4
Console:
Monitor:
SNMP Agent:
Log buffer:
current messages 50, channel number : 4, channel name : logbuffer
dropped messages 13, overwritten messages 3
Trap buffer:
current messages 2, channel number:3, channel name:trapbuffer
dropped messages 0, overwritten messages 0
Information timestamp setting:
Sent messages = 683, Received messages = 682
IO Reg messages = 0 IO Sent messages = 0
----End
Configuration Files
#
info-center channel 6 name loghost1
info-center source FIB channel 2 log level notifications
info-center source IP channel 2 log level notification
info-center source PPP channel 6 log level warning
info-center source AAA channel 6 log level warning
info-center loghost source Vlanif10
info-center loghost 10.1.1.1 public-net facility local2
info-center loghost 10.1.1.2 public-net facility local2
info-center loghost 10.2.1.1 public-net channel 6 facility local4
info-center loghost 10.2.1.2 public-net channel 6 facility local4
#
vlan 10
#
interface Vlanif10
ip address 172.16.0.1 255.255.255.0
#
interface GigabitEthernet1/0/1
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
ip route-static 10.1.1.0 255.255.255.0 172.16.0.2
ip route-static 10.2.1.0 255.255.255.0 172.16.0.2
#
return

5.7.4 Example for Configuring Binary Logs to be sent to the Log Host

This part describes how to output logs to the log host in binary mode. Outputting logs in binary
mode can effectively lighten the network load.
Networking Requirements
As shown in
Users or maintenance personnel can analyze the log through log analysis tools and locate the
fault.
Issue 03 (2011-12-29)
channel number : 0, channel name : console
channel number : 1, channel name : monitor
channel number : 5, channel name : snmpagent
enabled,max buffer size 1024, current buffer size 512,
enabled,max buffer size 1024, current buffer size 256,
log - date, trap - date, debug - boot
Figure
5-7, binary logs generated on Switch A are sent to the log host in real time.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5 Information Center Configuration
language english , host facility
89

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents