Implement shell command and minor refactor of snmp walk