Enable snmp, Configuring community string – CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 343

Advertising
background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 343 of 350

47.1.3 Topology

As shown in below, the SNMP agent gathers data from the MIB. The agent can send traps, or
notification of certain events, to the SNMP manager, which receives and processes the traps.
Traps alert the SNMP manager to a condition on the network such as improper user
authentication, restarts, link status (up or down), MAC address tracking, and so forth. The SNMP
agent also responds to MIB-related queries sent by the SNMP manager in get-request,
get-next-request, and set-request format.

47.1.4 SNMP agent configuration

Enable SNMP

Beginning in privileged EXEC mode, follow these steps to configure a community string on the
switch:

DUT#configure terminal

Enter global configuration mode.

DUT(config)#snmp-server enable

Enable SNMP feature.

DUT(config)#end

Return to privileged EXEC mode.

DUT #show running-config

Verify your entries.

Configuring community string

You use the SNMP community string to define the relationship between the SNMP manager and
the agent. The community string acts like a password to permit access to the agent on the switch.
Optionally, you can specify one or more of these characteristics associated with the string:
• A MIB view, which defines the subset of all MIB objects accessible to the given community
• Read and write or read-only permission for the MIB objects accessible to the community

Beginning in privileged EXEC mode, follow these steps to configure a community string on the
switch:

Advertising