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.
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
ip dhcp pool <name>ip dhcp excluded-address <start> [end]lease {<days> [<hours> [<minutes>]] | infinite}ip helper-address <server>ip nat inside / outsideip nat inside source list <acl> interface <iface> overloadntp server <ip>ntp master [stratum]logging host <ip>copy running-config tftp://<server>/<file>