Show Setting
[admin@MikroTik] /snmp> print
[admin@MikroTik] /snmp community> print value-list
[admin@MikroTik] /interface> print oid
SNMP Seting
enabled (yes | no; Default: no) # Used to disable/enable SNMP service
trap-community (string; Default: public)
# 未必要
contact (string; Default: "") Contact information
location (string; Default: "") Location information
trap
trap-generators (interfaces | start-trap; Default: )
What action will generate traps:
- interfaces - interface changes;
- start-trap - snmp server starting on the router
trap-interfaces (string | all; Default: )
List of interfaces that traps are going to be sent out.
trap-target (list of IP/IPv6; Default: 0.0.0.0)
IP (IPv4 or IPv6) addresses of SNMP data collectors that have to receive the trap
trap-version (1|2|3; Default: 1) Version of SNMP protocol to use for trap
Community Setting
address (IP/IPv6 address; Default: 0.0.0.0/0)
Addresses from which connections to SNMP server is allowed
read-access (yes | no; Default: yes)
write-access (yes | no; Default: no)
security (authorized | none | private; Default: none)
SNMPv3 的 Default Login Setting
authentication-password (string; Default: "") authentication-protocol (MD5 | SHA1; Default: MD5) encryption-password (string; Default: "") encryption-protocol (DES | AES; Default: DES)