Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Nexus snmp community

I am using cisco Nexus5548 and trying to enter a snmp community, but it doesn't accept it. It shows:

NEXUS# snmp-server community <name> ro

Error : Not a valid Community Name

I enter a community name that is less than 32 characters, with symbols, numbers and letters. Any clues?

thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Nexus snmp community

Hi,

Make sure you are not using @ sign.

When doing a snmp V2 get, one can append "@" to community String. Anything after @ is considered a context. Thus, @ is not allowed in the community string.

Nik

2 REPLIES
Silver

Nexus snmp community

egeorgopoulos wrote:

I am using cisco Nexus5548 and trying to enter a snmp community, but it doesn't accept it. It shows:

NEXUS# snmp-server community ro

Error : Not a valid Community Name

I enter a community name that is less than 32 characters, with symbols, numbers and letters. Any clues?

thank you.

Are you actually in configuration mode (issued the "configure terminal" command) when you issue this command?

If this is a direct cut and paste from your screen, the prompt would indicate that you're not - to enter this command, you need to be at the

NEXUS(config)#

prompt.

Cheers.

Cisco Employee

Nexus snmp community

Hi,

Make sure you are not using @ sign.

When doing a snmp V2 get, one can append "@" to community String. Anything after @ is considered a context. Thus, @ is not allowed in the community string.

Nik

1655
Views
0
Helpful
2
Replies
CreatePlease to create content