[Huawei] display snmp-agent target-host
   Traphost list:                                                               
   Target host name: nms                                                        
   Traphost address: 10.1.1.1                                                   
   Traphost portnumber: 162                                                     
   Target host parameter: trapnms                                               
 
   Total number is 1                                                            
 
   Parameter list trap target host:                                             
   Parameter name of the target host: trapnms                                   
   Message mode of the target host: SNMPV2C                                     
   Trap version of the target host: v2c                                         
   Security name of the target host: public                                     
 
   Total number is 1                                                            
----End
Configuration Files
#
 info-center source IP channel 7 trap level informational
 info-center snmp channel 7
#
interface Ethernet1/0/0
 ip address 10.1.1.2 255.255.255.0
#
 snmp-agent
 snmp-agent local-engineid 000007DB7F00000100003598
 snmp-agent sys-info version v2c
 snmp-agent target-host trap-hostname nms address 10.1.1.1 udp-port 162 trap-
paramsname trapnms 
 snmp-agent target-host trap-paramsname trapnms v2C securityname public
 snmp-agent trap enable
#
return
2.7.5 Example for Outputting the Debugging Information to the
Console
After debugging messages are configured to be output to the console, log in to the device through
the console. When a fault occurs, run the debugging command to view debugging messages.
Networking Requirements
As shown in Figure 2-8, it is required to output the debugging information of the Address
Resolution Protocol (ARP) module to the console.
Figure 2-8 Networking diagram of outputting information to the console
 
Configuration Roadmap
The configuration roadmap is as follows:
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Device Management 2 Information Center Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
45