Basic Configuration 3

Using DHCP/BOOTP

If your network provides DHCP/BOOTP services, you can configure the switch to be dynamically configured by these services.

Web – Click System, IP Configuration. Specify the VLAN to which the management station is attached, set the IP Address Mode to DHCP or BOOTP. Click Apply to save your changes. Then click Restart DHCP to immediately request a new address. Note that the switch will also broadcast a request for IP configuration settings on each power reset.

Figure 3-8 IP Interface Configuration - DHCP

Note: If you lose your management connection, make a console connection to the switch and enter “show ip interface” to determine the new switch address.

CLI – Specify the management interface, and set the IP address mode to DHCP or BOOTP, and then enter the “ip dhcp restart client” command.

Console#config

 

 

Console(config)#interface vlan 1

4-125

Console(config-if)#ip address dhcp

4-206

Console(config-if)#end

 

 

Console#ip dhcp restart

 

4-207

Console#show ip interface

 

4-208

IP Address and Netmask: 192.168.1.58 255.255.255.0 on VLAN 1,

 

Address Mode:

DHCP

 

Console#

 

 

 

 

 

Renewing DCHP – DHCP may lease addresses to clients indefinitely or for a specific period of time. If the address expires or the switch is moved to another network segment, you will lose management access to the switch. In this case, you can reboot the switch or submit a client request to restart DHCP service via the CLI.

3-15