S
WITCH

M

ANAGEMENT

1-10

6. Then save your configuration changes by typing “copy
running-config startup-config.” Enter the startup file name and
press <Enter>.

Enabling SNMP Management Access

The switch can be configured to accept management commands
from Simple Network Management Protocol (SNMP) applications.
You can configure the switch to (1) respond to SNMP requests or
(2) generate SNMP traps.
When SNMP management stations send requests to the switch
(either to return information or to set a parameter), the switch
provides the requested data or sets the specified parameter. The
switch can also be configured to send information to SNMP
managers (without being requested by the managers) through trap
messages, which inform the manager that certain events have
occurred.
Community Strings
Community strings are used to control management access to
SNMP stations, as well as to authorize SNMP stations to receive
trap messages from the switch. You therefore need to assign
community strings to specified users or user groups, and set the
access level.
Console(config)#interface vlan 1
Console(config-if)#ip address dhcp
Console(config-if)#exit
Console#ip dhcp restart
Console#show ip interface
IP interface vlan
IP address and netmask: 10.1.0.54 255.255.255.0 on VLAN 1,
and address mode: User specified.
Console#copy running-config startup-config
Startup configuration file name []: startup
Console#
b_mgmt.book Page 10 Tuesday, July 8, 2003 5:24 PM