mac

55
Example: Get IP address through BootP.
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip bootp-client enable
Switch (Config-if-Vlan1)#exit
Switch(config)#
Relative command: ip address, ip dhcp-client enable
1.3.6 ip dhcp-client enable
Command: ip dhcp-client enable
no ip dhcp-client enable
Function: Enables the switch to be a DHCP client and obtain IP address and gateway
address through DHCP negotiation; the no ip dhcp-client enablecommand 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.