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

3、查看配置

<H3C-SW-L3>dis cu | in snmp
 snmp-agent
 snmp-agent local-engineid 800063A280C4C063D5E16F00000001
 snmp-agent community read cipher $c$3$PQ8zQO6jIMKSeRbXs+PIYsvyJ1Oxb7oeBk4CmYE=
 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:56  a120608yby  阅读(108)  评论(0编辑  收藏  举报