Enabling snmp management access, Enabling snmp management access -6 – Asus GigaX2024SX User Manual

Page 23

Advertising
background image

2. At the interface-configuration mode prompt, use one of the following

To obtain IP settings via DHCP, type “ip address dhcp” and press <Enter>.

and press <Enter>.

ress <Enter>.

commands:

• To obtain IP settings via BOOTP, type “ip address bootp”
3. Type “end” to return to the Privileged Exec mode. Press <Enter>.
4. Type “ip dhcp restart” to begin broadcasting service requests. Press <Enter>.
5. Wait a few minutes, and then check the IP configuration settings by typing the
“show ip interface” command. P
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 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

ameter), the switch provides the requested data or sets

to control management access to SNMP stations, as

information or to set a par
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
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

2-6

Advertising