
SNMPwalk 명령어를 사용할 때 community string이 잘못된 경우 오류가 발생할 수 있습니다. community string이 잘못된 경우 오류 메시지로 'badCommunityName'이 나타납니다.
SNMPwalk 명령어에서 community string이 잘못된 경우는 다음과 같습니다.
- community string이 잘못된 문자열을 입력한 경우
- community string이 SNMP agent에 등록되지 않은 경우
- community string이 SNMP 버전 2c에 맞지 않는 경우
SNMPwalk 명령어를 사용할 때 community string을 확인하고 올바른 community string을 입력하여 오류를 해결할 수 있습니다.
예를 들어, 올바른 community string을 입력한 경우 다음과 같이 오류가 발생하지 않습니다.
`snmpwalk -v 2c -c public 192.168.1.100`
SNMPwalk 명령어에서 community string을 확인하고 올바른 community string을 입력하여 오류를 해결할 수 있습니다.
2025-06-02 00:44