常用交换机SNMP(V3)配置
华为S5731交换机:
snmp-agent
snmp-agent local-engineid 800007DB0394B271A856E0
snmp-agent sys-info version all
snmp-agent group v3 admin privacy read-view isoview write-view isoview notify-view isoview
snmp-agent group v3 groupv3 privacy read-view tsgz notify-view tsgz
snmp-agent group v3 yndw3group privacy read-view test write-view test notify-view test
snmp-agent target-host trap address udp-domain 172.17.34.188 params securityname managev3user v3 privacy
snmp-agent mib-view included test internet
snmp-agent mib-view included tsgz iso
snmp-agent mib-view included isoview iso
snmp-agent usm-user v3 managev3user
snmp-agent usm-user v3 managev3user group admin
snmp-agent usm-user v3 managev3user authentication-mode md5 cipher %^%#v,M`9de`)U<1~pCZJZbO[uFM"6f>{G8rBi-dlW%'%^%#
snmp-agent usm-user v3 managev3user privacy-mode des56 cipher %^%#gMgL!3Jb}6i;G\,rB.]GI2j^N>u*Z:M5Dc"hQ2K#%^%#
snmp-agent trap enable
undo snmp-agent protocol source-status all-interface
snmp-agent protocol source-interface Vlanif10
undo snmp-agent protocol source-status ipv6 all-interface