Reset Search
 

 

Article

Failed SNMP authentication when # symbol is used in SNMP authentication or privacy password

« Go Back

Information

 
TitleFailed SNMP authentication when # symbol is used in SNMP authentication or privacy password
Symptoms
Failed SNMP authentication can happen when the # symbol is used in SNMP authentication or privacy passwords.

The following example fails authentication on an SNMP manager since the # symbol is being used in the password:
 
configure snmpv3 add user v3admin authentication sha password#123 privacy aes 128 password#123
Environment
EXOS
Cause
Complex passwords can and should be used per the authentication and privacy RFCs. However, in EXOS the # symbol is considered to represent an inline comment and interferes with the password and breaks the password at the # symbol therefor failing SNMP authentication with an SNMP manager.
Resolution
To set the password when including the # symbol, quotes should be used to determine the beginning and end of the password to include the # symbol in the password.

The following example shows that the # symbol used in an SNMP authentication and privacy password, using quotes to set the password:
 
configure snmpv3 add user v3admin authentication sha "password#123" privacy aes 128 "password#123"
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255