SNMP and Syslog¶
This page covers the monitoring export settings of the System tab: which network management servers may poll the router over SNMP, where the router sends SNMP traps, and where it sends its logs. For where the System tab is and how its tick boxes work, see System Settings.
mFusion monitors its devices through its own agent and does not need SNMP. Use these settings when a separate network management system (NMS) or a SIEM also has to watch the routers.
SNMP / NMS Polling Servers¶
The router answers SNMP read requests (SNMP v1/v2c, read-only) only from the listed servers, each with its own community string. Up to four servers can be listed.
GUI Configuration¶
Tick SNMP / NMS Polling Servers, click Add NMS Server, and fill in the row.
| Field | Example | Description |
|---|---|---|
| NMS Server | 10.1.1.30 |
Address of the management server allowed to poll the router. A subnet (for example 10.1.1.0/24) allows a group of servers. |
| NMS Comm-string | nmsread |
Read-only community string the server must send. |
CLI Configuration¶
The router accepts SNMP read requests from 10.1.1.30 with the community nmsread; requests from any other address are ignored. Add one line per server; no snmp-server <address> removes one.
The SNMP location and contact strings are set in the CLI only:
no snmp-location and no snmp-contact return them to the factory values.
Earlier firmware
Earlier firmware uses the top-level commands ip snmp-server, ip snmp-trap, ip snmp-location and ip snmp-contact, with the same parameters. Newer firmware still accepts them and saves them under system.
SNMP / NMS Trap Servers¶
The router sends SNMP v2c traps (for example a start-up notice after a reboot) to the listed servers. Up to four servers can be listed.
GUI Configuration¶
Tick SNMP / NMS Trap Servers, click Add Trap Server, and fill in the row (see the screenshot above).
| Field | Example | Description |
|---|---|---|
| Trap Server | 10.1.1.30 |
Address of the server that receives the traps |
| Trap Comm-string | nmstrap |
Community string sent with each trap; the trap receiver must accept it |
CLI Configuration¶
no snmp-trap <address> removes a trap receiver.
Syslog Collector Server¶
The router sends its logs to a remote syslog server over UDP port 514: system and service messages, firewall and DHCP events, tracking events and login security events. The logs are also kept on the router.
GUI Configuration¶
Tick Syslog Collector Server and enter the server and the level on the same row.
| Field | Example | Description |
|---|---|---|
| Server IP | 10.1.1.40 |
Address of the syslog server or SIEM |
| Level | 6 |
Highest severity level sent. 6 (Informational) sends levels 0 to 6; lower values send only more severe messages. Range 1–6. |
| Level | Name | Examples |
|---|---|---|
| 1 | Alert | Conditions that need immediate action |
| 2 | Critical | Hardware or process failures |
| 3 | Error | Failed operations |
| 4 | Warning | Tracking failures, login lockouts |
| 5 | Notice | Configuration changes, link state changes |
| 6 | Informational | Logins, DHCP leases, routine events |
CLI Configuration¶
The router sends all messages of level 6 (Informational) or more severe to 10.1.1.40. no logging host stops the export. Levels 0 (Emergency) and 7 (Debug) can also be set in the CLI.
Export rules with filters (gateway series). Gateways (HSG, CMG) can also export selected logs with numbered rules that filter by message text, syslog tag, facility or priority, for example to send only firewall or DNS logs to a SIEM:
Rules are checked in number order. A log matched by a rule is sent to its server and is not stored locally. See Security Logging — Configure Syslog Client for all filters. no logging <n> removes a rule.
Earlier firmware
Earlier firmware uses the top-level command ip logging: ip logging <ip> level <n> and, on gateways, ip logging <n> host <ip> <filter>. Newer firmware still accepts both forms and saves them under system.
Verification¶
| Items to Test | Command | Expected Outcome |
|---|---|---|
| SNMP configuration | show running-config |
snmp-server and snmp-trap lines under system with the configured servers |
| SNMP polling | From the NMS: snmpwalk -v2c -c nmsread <router-IP> system |
The router returns its system description, uptime and hostname |
| SNMP from another host | Run the same snmpwalk from an address that is not listed |
No answer (timeout) |
| Syslog export | show running-config, then check the collector |
A logging host line under system; new log messages arrive at the collector within seconds |
Troubleshooting¶
| Symptom | Likely Cause | Solution |
|---|---|---|
snmpwalk times out |
The NMS address is not listed, or the community string differs | Check the NMS address (as the router sees it, after NAT) and the community string |
snmpwalk times out from across a VPN |
The request reaches the router from a different source address | Add the address the router sees, or the subnet, as the NMS server |
| No traps arrive | Trap receiver rejects the community, or UDP 162 is blocked | Match the community on the receiver; allow UDP 162 from the router |
| No logs at the collector | UDP 514 blocked, or the collector only accepts known senders | Allow UDP 514; add the router's address on the collector |
| Too many logs at the collector | Level 6 sends routine events | Lower the level (for example to 4 for warnings and above) |
Best Practices¶
- Send logs to a central collector. Logs kept only on the router are lost on reboot on some models and cannot be searched across sites. RansNet HSG and mlog appliances can act as the collector, see Security Logging.
- Start with level 6 while commissioning, then lower the level if the volume is too high.
- Use the System template for the NMS and syslog servers so that every router reports to the same place.
Security Best Practices¶
- Never use
publicorprivateas community strings. Use long, random strings, different for polling and traps. - List only the management servers as NMS servers. The router ignores SNMP from every other address; do not list wide subnets.
- Keep SNMP and syslog off the internet. Send them over a VPN or a management network: SNMP v2c and syslog over UDP are not encrypted.
- For log retention requirements, see Device Hardening — Logging and Monitoring.

