Initial Configuration

2-6

2
4. If network connections are normally slow, type “ip dhcp restart” to re-start
broadcasting service requests. Press <Enter>.
5. Wait a few minutes, and then check the IP configuration settings by typing the
“show ip interface” command. Press <Enter>.
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 such as SMC EliteView. 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.
The switch includes an SNMP agent that supports SNMP version 1, 2c, and 3
clients. To provide management access for version 1 or 2c clients, you must specify
a community string. The switch provides a default MIB View (i.e., an SNMPv3
construct) for the default “public” community string that provides read access to the
entire MIB tree, and a default view for the “private” community string that provides
read/write access to the entire MIB tree. However, you may assign new views to
version 1 or 2c community strings that suit your specific security requirements (see
page 3-52).

Community Strings (for SNMP version 1 and 2c clients)

Community strings are used to control management access to SNMP version 1
and 2c 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,
and set the access level.
Console(config)#interface vlan 1 4-155
Console(config-if)#ip address dhcp 4-297
Console(config-if)#end
Console#ip dhcp restart
Console#show ip interface 4-299
IP address and netmask: 192.168.1.54 255.255.255.0 on VLAN 1,
and address mode: User specified.
Console#copy running-config startup-config 4-25
Startup configuration file name []: startup
\Write to FLASH Programming.
\Write to FLASH finish.
Success.