cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4511
Views
11
Helpful
2
Replies

Nexus snmp community

egeorgopoulos
Level 1
Level 1

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

nkarpysh
Cisco Employee
Cisco Employee

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

HTH,
Niko

View solution in original post

2 Replies 2

darren.g
Level 5
Level 5

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.

nkarpysh
Cisco Employee
Cisco Employee

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

HTH,
Niko
Review Cisco Networking products for a $25 gift card