72-9
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 72 Configuring SNMP
Configuring SNMP
Note
You cannot use the
snmp-server enable informs
command. To enable the sending of SNMP inform
notifications, use the
snmp-server enable traps
command combined with the
snmp-server host
host-addr
informs
command.
This example shows how to assign the string
comaccess
to SNMP, to allow read-only access, and to
specify that IP access list 4 can use the community string to gain access to the switch SNMP agent:
Switch(config)#
snmp-server community comaccess ro 4
Configuring SNMP Groups and Users
You can specify an identification name (engine ID) for the local or remote SNMP server engine on the
switch. You can configure an SNMP server group that maps SNMP users to SNMP views, and you can
add new users to the SNMP group.
To configure SNMP on the switch, perform this task:
Command
Purpose
Step 1
Switch#
configure terminal
Enters global configuration mode.
Step 2
Switch(config)#
snmp-server engineID
{
local
engineid-string
|
remote
ip-address
[
udp-port
port-number
]
engineid-string
}
Configures a name for either the local or remote copy of SNMP.
•
The
engineid-string
is a 24-character ID string with the name of
the copy of SNMP. You need not specify the entire 24-character
engine ID if it has trailing zeros. Specify only the portion of the
engine ID up to the point where only zeros remain in the value.
For example, to configure an engine ID of
123400000000000000000000, you can enter this:
snmp-server engineID local 1234
•
If you select
remote
, specify the
ip-address
of the device that
contains the remote copy of SNMP and the optional UDP port on
the remote device. The default is 162.
Summary of Contents for Catalyst 4500 Series
Page 2: ......
Page 4: ......
Page 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...