Huawei AR150 Series Configuration Manual page 76

Hide thumbs Also See for AR150 Series:
Table of Contents

Advertisement

Huawei AR150&200&1200&2200&3200 Series Enterprise
Routers
Configuration Guide - Device Management
NOTE
Step 3 Configure the SNMP agent to output traps to the NMS station.
# Enable the SNMP agent and set the SNMP version to SNMPv2c.
[Router] snmp-agent sys-info version v2c
# Configure the SNMPv2c read-write community name.
[Router] snmp-agent community write huawei@123
# Configure the trap function.
[Router] snmp-agent trap enable
Info: All switches of SNMP trap/notification will be open. Continue? [Y/N]:y
[Router] snmp-agent target-host trap-hostname nms address 10.1.1.1 trap-paramsname
trapnms
[Router] snmp-agent target-host trap-paramsname trapnms v2c securityname
huawei@123
[Router] quit
Step 4 Verify the configuration.
# View the channel used by the SNMP agent to output traps.
<Router> display info-center
Information Center: enabled
Log host:
Console:
Monitor:
SNMP Agent:
Log buffer:
Trap buffer:
Logfile:
Information timestamp setting:
Sent messages = 15299, Received messages = 15299
# View traps output through the channel used by the SNMP agent.
<Router> display channel 7
channel number: 7, channel name: channel7
MODU_ID
ffff0000 default
c16a0000 IP
# View traps output to the NMS station by the SNMP agent.
Issue 05 (2014-01-16)
By default, the device uses the SNMP agent to output traps of all modules.
10.1.1.6, channel number: 2, channel name: loghost
language: english, host facility: local7
binary loghost, port number: 514
channel number: 0, channel name: console
channel number: 1, channel name: monitor
channel number: 7, channel name: channel7
enabled
max buffer size: 1024, current buffer size: 512
current messages: 503, channel number: 4, channel name: logbuffer
dropped messages: 0, overwritten messages: 0
enabled
max buffer size: 1024, current buffer size: 256
current messages: 9, channel number: 3, channel name: trapbuffer
dropped messages: 0, overwritten messages: 0
channel number: 9, channel name: channel9, language: English
log - date, trap - date, debug - date
NAME
ENABLE LOG_LEVEL
Y
Y
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
ENABLE TRAP_LEVEL
debugging
Y
debugging
debugging
Y
informational N
3 Information Center Configuration
ENABLE DEBUG_LEVEL
N
debugging
debugging
67

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar1200 seriesAr200 seriesAr2200 seriesAr3200 series

Table of Contents