Host services

snmpget -v2c -c <community> <ip> sysName.0

Poll a router or switch's SNMP agent (UDP 161). 'snmpwalk -v2c -c <community> <ip>' returns the whole system group.

Works on: PC, Server, Printer, NASMode: shell
Run this command live

Don't just read it — type snmpget -v2c -c <community> <ip> sysName.0 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 "snmpget -v2c -c <community> <ip> sysName.0" command do?

Poll a router or switch's SNMP agent (UDP 161). 'snmpwalk -v2c -c <community> <ip>' returns the whole system group.

More Host services commands

← Back to the full command reference