snmp-server community public rw permit view iso snmp-server community private rw permit view iso snmp-server host x.x.x.x version 2c public udp-port 162 notify-type bridge g bn gbnsavecfg interfaces rmon snmp snmp-server enable traps bridge gbn gbnsavecfg interfaces rmon snmp 注:x.x.x.x代表NMS服务器IP