cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
18357
Views
5
Helpful
4
Replies

How to configure SNMP on SG300 using CLI

rafik.harrar
Level 1
Level 1

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
VIP Alumni
VIP Alumni

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!

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:

Switch products supported in this community
Cisco Business Product Family
  • CBS110
  • CBS220
  • CBS250
  • CBS350
Cisco Switching Product Family
  • 110
  • 200
  • 220
  • 250
  • 300
  • 350
  • 350X
  • 550X