Skip to main content
edited tags
Link
Source Link

Why got no response from xx.xx.xx.xx when adding @vlan to snmp command?

I want to retrieve host's mac addressed which connected to cisco switch. And I see a lot of people say that "snmpbulkwalk -v2c -cpublic@vlan hostname BRIDGE-MIB::dot1dTpFdbTable" can get the host's mac address, but when I added the "@vlan" like "-c harvey@10". The command will return "Timeout: No response from XX.XX.XX.XX" my snmp config is "snmp-server community harvey RW". I don't know how they can get information and I can't.