cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

CISCO SWITCHES FOR SMALL and MEDIUM BUSINESS

Introducing the next generation of Cisco Small and Medium Business Switches. Cisco is refreshing its SMB Switch portfolio. Click here  to learn more.


16321
Views
5
Helpful
4
Replies
rafik.harrar
Beginner

How to configure SNMP on SG300 using CLI

Hi,

Does anyone know how to configure SNMP on the Cisco SG300 switches? I have the SG300-10P. I am not fully familiar with the new command line interface on this device, it was easy on the IOS but finding it a nightmare on this one.

I put the following command in but it didnt work.

snmp-server view Interfaces interfaces included

snmp-server community ACB123 ro 10.x.x.x view default

I tried to follow the guidelines on the cisco website but thats all Web interface based, i can only access the switch remotely via CLI.

Thanks

4 REPLIES 4
Tom Watts
Advisor

Hi Rafik, here is the CLI guide for the SG300 series.

http://www.cisco.com/en/US/docs/switches/lan/csbms/sf30x_sg30x/administration_guide/CLI_Nikola300_1.1.pdf

You will also need to enable SNMP management

config t

ip snmp server

-Tom
Please mark answered for helpful posts

-Tom Please mark answered for helpful posts http://blogs.cisco.com/smallbusiness/

I read throught this and made some changes, here is the new config and its still not working.

snmp-server view Interfaces interfaces included

snmp-server view user-view snmpNotificationMIB included

snmp-server community ABC123 ro 10.x.x.x view default

snmp-server host 10.x.x.x traps version 1 ABC123

i also enabled SNMP management by typing into conf t -> snmp-server server

Hi Rafik, here is a basic snmp v1/v2 configuration

snmp-server server

snmp-server community test1234 rw view DefaultSuper

This is basically wide open to anyone who knows the password. This should be enough to get you started then you can tweak additional options as you go. Give this a test, see if you can do what you're trying to do then modify this sample to work for your security needs.

-Tom
Please mark answered for helpful posts

-Tom Please mark answered for helpful posts http://blogs.cisco.com/smallbusiness/

snmp-server server is what was missing.

Thanks!