67
2.3.1 Switch IP Addresses Configuration Task List
1. Manual configuration
2. BootP configuration
3. DHCP configuration
1. Manual configuration
Command Explanation
ip address
<ip_address>
<mask>
[secondary]
no ip address <ip_address> <mask>
[secondary]
Configure the VLAN interface IP address;
the “
no ip address <ip_address> <mask>
[secondary]”
command deletes VLAN
interface IP address.
2. BootP configuration
Command Explanation
ip address bootp-client
no ip address bootp-client
Enable the switch to be a BootP client and
obtain IP address and gateway address
through BootP negotiation; the “
no ip
address
bootp-client
” command
disables the BootP client function.
3.DHCP
Command Explanation
ip address dhcp-client
no ip address dhcp-client
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.
2.3.2 Commands For Configuring Switch IP
2.3.2.1 ip address
Command: ip address <ip-address> <mask> [secondary]
no ip address [
<ip-address> <mask>
] [secondary]
Function:
Set the IP address and mask for the specified VLAN interface; the “
no ip
address <ip address> <mask> [secondary]”
command deletes the specified IP
address setting.
Parameter: <ip-address>
is the IP address in dot decimal format;
<mask>
is the subnet
mask in dot decimal format;
[secondary]
indicates the IP configured is a secondary IP