hit counter script

Cisco Catalyst 3750 Software Configuration Manual page 438

Metro switch
Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Configuring SNMP
Beginning in privileged EXEC mode, follow these steps to configure the switch to send traps or informs
to a host:
Command
Step 1
configure terminal
Step 2
snmp-server engineID remote
ip-address engineid-string
Step 3
snmp-server user username
groupname remote host [udp-port
port] {v1 | v2c | v3 [auth {md5 | sha}
auth-password]} [encrypted] [access
access-list]
Step 4
snmp-server host host-addr
[traps | informs] [version {1 | 2c | 3
[auth | noauth | priv]}]
community-string [udp-port port]
[notification-type]
Step 5
snmp-server enable traps
notification-types
Step 6
snmp-server trap-source interface-id
Step 7
snmp-server queue-length length
Step 8
snmp-server trap-timeout seconds
Step 9
end
Catalyst 3750 Metro Switch Software Configuration Guide
24-12
Purpose
Enter global configuration mode.
Specify the engine ID for the remote host.
Configure an SNMP user to be associated with the remote host created in
Step 2.
Note
You cannot configure a remote user for an address without first
configuring the engine ID for the remote host. If you try to
configure the user before configuring the remote engine ID, you
receive an error message, and the command is not executed.
Specify the recipient of an SNMP trap operation.
For host-addr, specify the name or Internet address of the host (the
targeted recipient).
(Optional) Enter traps (the default) to send SNMP traps to the host.
(Optional) Enter informs to send SNMP informs to the host.
(Optional) Specify the SNMP version (1, 2c, or 3). SNMPv1 does
not support informs.
(Optional) For version 3, select authentication level auth, noauth, or
priv.
Note
The priv keyword is available only when the crypto software
image is installed.
For community-string, enter the password-like community string
sent with the notification operation.
(Optional) For udp-port port, enter the remote device UDP port.
(Optional) For notification-type, use the keywords listed in
Table 24-4 on page
24-11. If no type is specified, all notifications are
sent.
Enable the switch to send traps or informs and specify the type of
notifications to be sent. For a list of notification types, see
page
24-11, or enter this: snmp-server enable traps ?
To enable multiple types of traps, you must enter a separate snmp-server
enable traps command for each trap type.
(Optional) Specify the source interface, which provides the IP address for
the trap message. This command also sets the source IP address for
informs.
(Optional) Establish the message queue length for each trap host. The
range is 1 to 1000; the default is 10.
(Optional) Define how often to resend trap messages. The range is 1 to
1000; the default is 30 seconds.
Return to privileged EXEC mode.
Chapter 24
Configuring SNMP
Table 24-4 on
78-15870-01

Advertisement

Table of Contents
loading

Table of Contents