Rookie question, I'm trying to put together a bsnmpwalk command to query a switch that has auth/priv configured using SNMPv3. I used the following command based on the FreeBSD manpage https://man.freebsd.org/cgi/man.cgi...ktion=1&manpath=FreeBSD+9-current&format=html but I got an error, please could someone help me out with the correct -A and -P usage? I'm unable to test myself as I was working on this on a customer system and I need to be in a remote session with them to continue.
Code:
/usr/bin/bsnmpwalk -U name=snmpv3user -v 3 -A proto=sha key=------------ -P proto=aes key=------------ 192.168.10.1 1.3.6.1.2.1.47.1.1.1.1.11.1"
bsnmpwalk: No entry for key in mapping lists
bsnmpwalk: Invalid oid string - key=------------
bsnmpwalk: Invalid OID - key=------------
Error parsing OID string 'key=------------'.