DHCP server, and dynamically assign network parameters such as IP addresses,
gateway addresses and DNS server addresses to DHCP clients DHCP Server
configuration is detailed in later chapters.
2.3.1 Switch IP Addresses Configuration Task List
1. Manual configuration
2. BootP configuration
3. DHCP configuration
1. Manual configuration
Command
ip
address
<ip_address>
[secondary]
no ip address <ip_address> <mask>
[secondary]
2. BootP configuration
Command
ip address bootp
no ip address bootp
3.DHCP
Command
ip address dhcp
no ip address dhcp
2.3.2 Commands For Configuring Switch IP
2.3.2.1 ip address
Explanation
Configure the VLAN interface IP address;
<mask>
the "no ip address <ip_address> <mask>
[secondary]" command deletes VLAN
interface IP address.
Explanation
Enable the switch to be a BootP client and
obtain IP address and gateway address
through BootP negotiation; the "no ip
address bootp" command disables the
BootP client function.
Explanation
Enable the switch to be a DHCP client and
obtain IP address and gateway address
through DHCP negotiation; the "no ip
address dhcp-client" command disables
the DHCP client function.
69