4 commands for snmp, 1 debug snmp mib, Ommands for – PLANET WGSW-52040 User Manual

Page 89: Snmp -88, 1 debug snmp mib -88, 4 commands for snmp 1.4.1 debug snmp mib

Advertising
background image

1-88

Enables the switch to be a DHCP client and obtain IP address and gateway address through DHCP negotiation; the

no ip dhcp-client enable” command disables the DHCP client function and releases the IP address obtained in

DHCP. Note: To obtain IP address via DHCP, a DHCP server is required in the network.

Default:

the DHCP client function is disabled by default.

Command mode:

VLAN Interface Mode

Usage Guide:

Obtaining IP address by DHCP, Manual configuration and BootP are mutually exclusive, enabling any 2 methods for

obtaining an IP address is not allowed.

Example:

Getting an IP address through DHCP.

Switch(config)#interface vlan 1

Switch(Config-if-Vlan1)#ip dhcp-client enable

Switch(Config-if-Vlan1)#exit

Switch(config)#

1.4 Commands for SNMP

1.4.1 debug snmp mib

Command:

debug snmp mib

no debug snmp mib

Function:

Enable the SNMP mib debugging; the "no debug snmp mib” command disables the debugging.

Command Mode:

Admin Mode.

Usage Guide:

When user encounters problems in applying SNMP, the SNMP debugging is available to locate the problem causes.

Advertising