Cisco Catalyst 2000 Configuration Handbook page 224

Catalyst series lan switching
Table of Contents

Advertisement

Specify the TFTP server operations controlled by SNMP:
(global) snmp-server tftp-server-list acc-list
You can use SNMP to cause the switch to save or load its configuration file to
a TFTP server. You can use the standard IP access list acc-list to permit only a
limited set of TFTP server IP addresses.
(Optional) Configure SNMP notifications.
3.
a. Define a global list of notifications to send:
(global) snmp-server enable {traps [type] [option] | informs}
Notifications (both traps and informs) are enabled for the types specified.
Because only one type can be given with this command, you can issue the com-
mand as many times as necessary. If the type keyword is not specified, all avail-
able notifications are enabled. In addition, if this command is not issued at least
once, none of the notifications that it controls are enabled.
The possible choices for type are c2900 (notifications based on the Catalyst
2900 series), cluster (cluster management changes), config (configuration
changes), entity (entity MIB changes), hsrp (HSRP state changes), vlan-member-
ship (changes in a port's VLAN membership), and vtp (VLAN Trunking Protocol
events). For the type snmp (basic router status changes), the option keyword can
also be given as authentication (authentication failures), linkup (interface has
come up), linkdown (interface has gone down), or coldstart (router is reinitializ-
ing). If none of these keywords are given, all of them are enabled.
b. Define recipients of notifications:
(global) snmp-server host host [traps | informs] [version {1 | 2c | 3 [auth
| noauth]}] community-string [udp-port port] [type]
A single host (host is either IP address or hostname) is specified to receive
SNMP notifications (either traps or informs). The SNMP version can optionally
be given as SNMPv1 (1, the default), SNMPv2c (2c), or SNMPv3 (3). If
SNMPv3, a keyword can be given to select the type of security: auth (use MD5
and SHA authentication) or noauth (no authentication or privacy; the default).
The community-string keyword specifies a "password" that is shared between
the SNMP agent and SNMP manager. The UDP port used can be given as port
(default 162).
The possible choices for type are c2900 (notifications based on the Catalyst
2900 series), cluster (cluster management changes), config (configuration
changes), entity (entity MIB changes), hsrp (HSRP state changes), vlan-member-
ship (changes in a port's VLAN membership), and vtp (VLAN Trunking Protocol
events). For the type snmp (basic switch status changes), the option keyword
can also be given as authentication (authentication failures), linkup (interface has
come up), linkdown (interface has gone down), or coldstart (switch is reinitializ-
ing). If none of these keywords are given, all of them are enabled.
Chapter 12: Switch Management 203

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents