四种常见厂商交换机SNMP配置实例

四种常见厂商交换机 SNMP配置实例

SNMP

1 、华为

核心:

snmp-agent

snmp-agentlocal-engineid 000007DB7FFFFFFF00006FAC

snmp-agent communityread
amtt-ro

snmp-agent communitywrite
amtt-rw

snmp-agent sys-infocontact R&D Nanjing, Huawei Technologies co.,Ltd.

snmp-agent sys-infolocation Nanjing China

snmp-agent sys-infoversion all

snmp-agent trapenable basetrap

楼层:

snmp-agent

snmp-agentlocal-engineid 000007DB7F0000010000043E

snmp-agent communityread
amtt-ro

snmp-agent communitywrite
amtt-rw

snmp-agent sys-infoversion all

2 、思科

核心:
snmp-server community amtt-ro RO
snmp-server community amtt-rw RW
snmp-server trap-source Vlan1000
snmp-server enable traps snmp authentication linkdown linkupcoldstart warmstart
snmp-server enable traps mac-notification
snmp-server enable traps license
snmp-server host 192.168.100.100 amtt-ro
snmp
snmp ifmib ifindex persist

楼层:
snmp-server community amtt-ro RO
snmp-server community amtt-rw RW
snmp-server trap-source Vlan1000
snmp-server enable traps snmp authentication linkdown linkupcoldstart warmstart
snmp-server enable traps mac-notification change movethreshold
snmp-server host 192.168.100.100 amtt-ro
snmp
snmp ifmib ifindex persist

3 、H3C

核心:

snmp-agent

snmp-agentlocal-engineid 800063A2033822D6279455

snmp-agent communityread public

snmp-agent communitywrite private

snmp-agent sys-infoversion all

snmp-agenttarget-host trap address udp-domain 172.27.16.200 params securityname public

snmp-agent trapenable default-route

snmp-agent trapsource Vlan-interface200

楼层:

snmp-agent

snmp-agentlocal-engineid 800063A23822D6B719E86877

snmp-agent communityread pUblIc

snmp-agent communityread public

snmp-agent communitywrite pRivaTe

snmp-agent communitywrite private

snmp-agent sys-infoversion all

snmp-agenttarget-host trap address udp-domain 172.27.16.200 params securityname public

snmp-agent trapsource Vlan-interface200

4 、HP

核心:

snmp-server community"public" unrestricted

楼层:

snmp-server community"public" Unrestricted

你可能感兴趣的:(配置,交换机)