Huawei V100R006C00 Configuration Manual page 71

Table of Contents

Advertisement

Quidway S5700 Series Ethernet Switches
Configuration Guide - Device Management
l
Configuration Procedure
1.
2.
3.
Issue 01 (2011-07-15)
The IP address of the log host is specified as 1.0.0.1/8.
NOTE
In the example, only the commands related to monitoring are listed. For details on configuring the log host,
see the help files on the log host.
Enable the information center.
# Enable the information center. By default, the information center on the S5700 is enabled.
<Quidway> system-view
[Quidway] info-center enable
Info:Information center is enabled
Configure the information channel.
# Send logs of severity levels 0 to 7 from all modules on the S5700 through the channel to
the log host. Disable the sending of the debugging information and traps through the channel
to the log host.
[Quidway] info-center source default channel loghost log level debugging state
on trap state off debug state off
# Verify the configuration.
[Quidway] display channel loghost
channel number:2, channel name:loghost
MODU_ID
NAME
ENABLE LOG_LEVEL
ffff0000 default
Y
Configure the log host.
# Set the IP address of the log host to 1.0.0.1.
[Quidway] info-center loghost 1.0.0.1
# Set VLANIF 10 as the interface for sending information to the log host on the S5700.
[Quidway] vlan 10
[Quidway-vlan10] quit
[Quidway] interface gigabitethernet0/0/1
[Quidway-GigabitEthernet0/0/1] port link-type hybrid
[Quidway-GigabitEthernet0/0/1] port hybrid untagged vlan 10
[Quidway-GigabitEthernet0/0/1] quit
[Quidway] interface vlanif 10
[Quidway-vlanif10] ip address 2.0.0.1 255.0.0.0
[Quidway-vlanif10] quit
[Quidway] info-center loghost source vlanif 10
# Verify the configuration.
[Quidway] display info-center
Information Center:enabled
Log host:
the interface name of the source address:vlanif 10
1.0.0.1, channel number 2, channel name loghost,
Console:
channel number : 0, channel name : console
Monitor:
channel number : 1, channel name : monitor
SNMP Agent:
channel number : 5, channel name : snmpagent
Log buffer:
enabled,max buffer size 1024, current buffer size 512,
current messages 440, channel number : 4, channel name : logbuffer
dropped messages 0, overwritten messages 0
Trap buffer:
enabled,max buffer size 1024, current buffer size 256,
current messages 1, channel number:3, channel name:trapbuffer
dropped messages 0, overwritten messages 0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 Monitoring the Device Through the Information Center
ENABLE TRAP_LEVEL
debugging
N
language English , host facility local7
ENABLE DEBUG_LEVEL
debugging
N
debugging
62

Advertisement

Table of Contents
loading

Table of Contents