Services

snmp-server community <string> {RO|RW}

Run the SNMP agent with a community string. A server can then poll it: snmpget -v2c -c <string> <ip> sysName.0.

Works on: Router, Firewall, SwitchMode: config
Watch out

A manager using a different community gets no answer at all (a timeout), exactly like an unreachable agent.

Run this command live

Don't just read it — type snmp-server community <string> {RO|RW} in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "snmp-server community <string> {RO|RW}" command do?

Run the SNMP agent with a community string. A server can then poll it: snmpget -v2c -c <string> <ip> sysName.0.

What's the common gotcha with "snmp-server community <string> {RO|RW}"?

A manager using a different community gets no answer at all (a timeout), exactly like an unreachable agent.

More Services commands

← Back to the full command reference