Defining the CSS as an SNMP Agent
Table 5-1
Task and Command Example
3.
4.
5.
6.
7.
8.
Cisco Content Services Switch Administration Guide
5-12
Chapter 5
Quick Start for Defining the CSS as an SNMP Agent (continued)
(Optional) Provide an SNMP contact location.
(config)# snmp location "Operations"
(Optional) Provide the SNMP device name.
(config)# snmp name "arrowpoint.com"
Assign trap receivers and SNMP community (required if configuring SNMP
traps). You can specify a maximum of five trap hosts. By default, all traps
are disabled.The snmp trap-host IP address corresponds to the SNMP host
configured to receive traps. The community information provided at the end
of the trap-host command is included in the trap and can be used by the
management station to filter incoming traps.
(config)# snmp trap-host 172.16.3.6 trap
(config)# snmp trap-host 172.16.8.4 trap
(Optional) Turn on generic traps. This step is required if you plan to use
authentication failure traps.
(config)# snmp trap-type generic
(Optional) Turn on authentication failure traps. This step requires that you
turn on generic traps. See step 6. An authentication failure occurs if an
unauthorized SNMP manager sends an invalid or incorrect community
name to an SNMP agent. If an authentication failure occurs, the agent sends
an authentication trap to the trap host (or hosts depending on how many trap
hosts are configured).
(config)# snmp auth-traps
(Optional) Enable global enterprise traps. This step is required if you plan
to use enterprise traps.
(config)# snmp trap-type enterprise
Enable a specific enterprise trap type. For example, you can set a trap to
notify the trap host of failed login attempts. Login failure traps provide the
username and source IP address of the person who failed to log in.
(config)# snmp trap-type enterprise login-failure
Configuring Simple Network Management Protocol (SNMP)
OL-5647-02