| ES4710BD 10 Slots L2/L3/L4 Chassis Switch | |
3.DHCP |
|
|
Command |
| Explanation |
ip |
| Enables the switch to be a DHCP client and |
no ip |
| obtain IP address and gateway address through |
|
| DHCP negotiation; the “no ip |
|
| enable” command disables the DHCP client |
|
| function. |
5.3.2Commands for Configuring Switch IP Addresses
5.3.2.1ip address
Command: ip address
Function: Sets 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.
Parameters:
Default: No IP address is configured upon switch shipment.
Command mode: VLAN Interface Mode
Usage Guide: A VLAN interface must be created first before the user can assign an IP address to the switch.
Example: Set 10.1.128.1/24 as the IP address of VLAN1 interface. Switch(Config)#interface vlan 1
Switch(Config)#
Related command: ip
5.3.2.2ip bootp-client enable
Command: ip bootp-client enable no ip bootp-client enable
Function: Enable the switch to be a BootP client and obtain IP address and gateway address through BootP negotiation; the “no ip
Default: BootP client function is disabled by default.
Command mode: VLAN Interface Mode
Usage Guide: Obtaining IP address through BootP, Manual configuration and DHCP are mutually
exclusive, enabling any 2 methods for obtaining IP address is not allowed. Note: To obtain IP address via DHCP, a DHCP server or a BootP server is required in the network.
Example: Get IP address through BootP.
109