Skip to content

Configuring SNMP [Cisco Catalyst 2950 Series Switches] – Cisco Systems

Step 1

configure terminal

Enter global configuration mode.

Step 2

snmp-server community string [view view-name] [ro | rw] [access-list-number]

Configure the community string.

  • For string, specify a string that acts like a password and permits access to the SNMP protocol. You can configure one or more community strings of any length.
  • (Optional) For view, specify the view record accessible to the community.
  • (Optional) Specify either read-only (ro) if you want authorized management stations to retrieve MIB objects, or specify read-write (rw) if you want authorized management stations to retrieve and modify MIB objects. By default, the community string permits read-only access to all objects.
  • (Optional) For access-list-number, enter an IP standard access list numbered from 1 to 99 and 1300 to 1999.

Step 3

access-list access-list-number {deny | permit} source [source-wildcard]

Step 4

end

Step 5

show running-config

Step 6

copy running-config startup-config

(Optional) Save your entries in the configuration file.

Source: Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide, 12.1(19)EA1 – Configuring SNMP [Cisco Catalyst 2950 Series Switches] – Cisco Systems

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*