1、登录设备

2、配置

system-view
snmp-agent community read simple Admin-123
snmp-agent sys-info version v2c v3 
snmp-agent target-host trap address udp-domain 172.16.24.110 params securityname Admin-123 v2c
snmp-agent trap source Vlan-interface102    #指定监控服务器所在的vlan

3、查看配置

<H3C>dis cu | in snmp
 snmp-agent
 snmp-agent local-engineid 800063A28074504EA0898D00000001
 snmp-agent community read cipher $c$3$x8xvZqPHjLCHGsYnCdi0cfoJEwMqHZ+VfYBEVFc=
 snmp-agent sys-info version v2c v3 
 snmp-agent target-host trap address udp-domain 172.16.24.110 params securityname Admin-123 v2c
 snmp-agent trap source Vlan-interface102

 

posted on 2023-04-07 11:52  a120608yby  阅读(220)  评论(0编辑  收藏  举报