24-Port Gigabit Layer 2 Switch w/ 4 Shared Mini-GBIC Slots
ip address
Command
Syntax
Description
Command Modes
User Guidelines
Example
Command History
ip address dhcp
Command
Command Modes
Example
Command History
debug ip dhcp client
Command
15-4
To configure the IP address of interface.
ip address <ip-address> <subnet-mask> <gw-address>
no ip address <ip-address>
IP address of the interface
ip-address
Subnet mask of the interface
subnet-mask
IP address of the gateway
gw-address
Interface Configuration Mode
The no form will delete the configured IP address.
switch(config-if)# ip address 20.0.0.1 255.0.0.0 20.0.0.254
Version
History
1.00.001
This command was introduced.
To set the IP address of interface to be assigned by DHCP server.
ip address dhcp
Interface Configuration Mode
switch(config-if)#ip address dhcp
Version
History
1.00.001
This command was introduced.
To enable the debug mode of DHCP client.
debug ip dhcp client { all | event | packets | errors | bind }
no debug ip dhcp client { all | event | packets | errors | bind }