cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
975
Views
0
Helpful
6
Replies

Catalyst 2948 SNMP

MrCheHMqm
Level 1
Level 1

Dear all, I spent almost a day in searching for the correct way to set up SNMP in cisco, but all I can find is setting the community for a traps receiver, which results that I can not send requests.

May I ask if any one can help me, so I can snmpwalk to the cisco router please?

I thank you all with all my heart.

Greetings

Che

6 Replies 6

glen.grant
VIP Alumni
VIP Alumni

Its no different than other devices just snmpwalk -c community string . This is on a unix box to a cisco catos device.

hmm, I'm sorry for not being totally clear. I know how the snmpwalk works. but the problem is, if I snmpwalk the cisco switch, I get no response, although the snmp is enabled.

The reason is that I have no read access to the snmp, because I have tried to use IP permit to give myself access.

so I searched the internet for help to update the snmp access list, like in an snmpd.conf on a net-snmp host, so that another machine has access to it.

conclusion is that I don't know how to do it in CatOS I guess, because a lot cli lines I have found started with "snmp-server" those do not work on this switch.

I need something like set snmp access or something, just so I can do an snmpwalk from a host to the switch :)

Thx in advance.

Greetings

Che

You have to configure a "permit list " for snmp on a catos box . This should help .

http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/catos/5.x/configuration/guide/ip_perm.html

done that one also. I have tried the "set snmp access" also by now, still doesn't work.

Perhaps I will have to reformulate my entire question to how do I set up snmp on a cisco, so that another host can snmpwalk to it (skipping the part of set snmp enable :p )

thx in advance

Greetings

Che

If you currently have "no" permit list configured and you a a valid configured read or RW string then there should be no restrictions on accessing the snmp data with a snmpwalk. Otherwise you may have to post config so that we can see whats in there.

This is the result from show snmp

ip permit is also set.

SNMP: Enabled

RMON: Disabled

Extended RMON Netflow: Disabled

Memory usage limit for new RMON entries: 85 percent

EngineId: some ID

Chassis Alias:

Traps Enabled: None

Port Traps Enabled: None

Community-Access Community-String

---------------- --------------------

read-only somecommunity

read-write anothercommunity

read-write-all thebestcommunity

Additional- Access-

Community-String Access-Type Number View

-------------------- -------------- ------- -----------------------------------

Trap-Rec-Address Trap-Rec-Community Trap-Rec-Port Trap-Rec-Owner Trap-Rec-Index

---------------- ------------------ ------------- -------------- --------------

someIP somecommunity somePort CLI 1

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card