simple SNMP configration
[edit snmp]
community public; ##string
trap-group snmp {
categories {
authentication;
link;
configuration;
}
targets {
172.16.10.1; ##snmp server
}
}
Verify
> show system connections
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 2 172.16.10.254.23 172.16.10.1.65199 ESTABLISHED
udp46 0 0 *.161 *.*
udp4 0 0 *.161 *.*
转载于:https://blog.51cto.com/hb12052/380445