beautypg.com

Enabling snmp management access, Enabling snmp management access -9 – SMC Networks SMC TigerStack III SMC6824MPE User Manual

Page 45

background image

B

ASIC

C

ONFIGURATION

2-9

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

commands:

To obtain IP settings through DHCP, type “ip address dhcp” and
press .

To obtain IP settings through BOOTP, type “ip address bootp”
and press .

3. Type “end” to return to Priviledged Exec mode. Press .

4. Type “ip dhcp restart” to begin broadcasting service requests. Press

.

5. Wait a few minutes, and then check the IP configuration settings by

typing the “show ip interface” command. Press .

6. Save your configuration changes by typing “copy running-config

startup-config.” Enter the startup file name and press .

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

Console(config)#interface vlan 1
Console(config-if)#ip address dhcp
Console(config-if)#end
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#