Wah switch snmp opening

Brief introduction

SNMP协议的运用场景非常丰富,利用SNMP协议,网络管理员可以对网路上的节点进行信息查询、网络配置、
故障定位、容量规划,网络监控和管理,分为v1、v2c、v3 三个版本,其中V3最为安全,此处以v1、v2c为例

SNMP Configuration

The system view

system-view

Enable snmp agreement

snmp-agent

Corresponding version allows snmp protocol

snmp-agent sys-info version v1
snmp-agent sys-info version v2c

Read community name is public switch configuration

snmp-agent community read public

Configuration Administrator ID

snmp-agent sys-info contact administrator

Configure the device location

snmp-agent sys-info location office

Allowed to send trap packets

snmp-agent trap enable

Configuring trap host address (gateway address)

snmp-agent target-host trap address udp-domain 172.10.1.6 params securityname public v1

Storage

save

Guess you like

Origin www.cnblogs.com/longlogs/p/11780340.html