User`s manual

28 Asanté IntraCore 36000 Series
4. Then save your configuration changes by typing “copy running-config startup-config.” Enter the startup
file name and press Enter.
Console(config)#interface vlan 1
Console(config-if)#ip address dhcp
Console(config-if)#end
Console#ip dhcp restart
Console#show ip interface
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
Startup configuration file name []: startup
\Write to FLASH Programming.
\Write to FLASH finish.
Success.
2.5 Enabling SNMP Management Access
You can configure the switch to accept management commands from Simple Network Management
Protocol (SNMP) applications such as HP OpenView. 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. You can also configure
the switch to send information to SNMP managers (without being requested by the managers) through trap
messages, which inform the manager that certain events have occurred.
2.5.1 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.
The default strings are:
public - with read-only access. Authorized management stations are only able to retrieve MIB objects.
private - with read-write access. Authorized management stations are able to both retrieve and modify MIB
objects.
Note: If you do not intend to utilize SNMP, delete both of the default community strings. If there are no
community strings, then SNMP management access to the switch is disabled.
To prevent unauthorized access to the switch using SNMP, change the default community strings.
To configure a community string, complete the following steps:
1. From the Privileged Exec level global configuration mode prompt, type “snmp-server community string
mode,” where “string” is the community access string and “mode” is rw (read/write) or ro (read only).
Press <Enter>. (Default: read only)
2. To remove an existing string, simply type “no snmp-server community string,” where “string” is the
community access string to remove. Press <Enter>.
Console(config)#snmp-server community admin rw