C
HAPTER
25
| Ethernet Interface Commands
– 195 –
COMMAND MODE
Interface Configuration (Ethernet)
COMMAND USAGE
â—† DHCP is enabled by default. To manually configure a new IP address,
you must first disable the DHCP client with the no ip dhcp command.
â—† You must assign an IP address to this device to gain management
access over the network or to connect the access point to existing IP
subnets. You can manually configure a specific IP address using this
command, or direct the device to obtain an address from a DHCP server
using the ip dhcp command. Valid IP addresses consist of four
numbers, 0 to 255, separated by periods. Anything outside this format
will not be accepted by the configuration program.
EXAMPLE
AP(config)#interface ethernet
Enter Ethernet configuration commands, one per line.
Enterprise AP(if-ethernet)#ip address 192.168.1.2 255.255.255.0 192.168.1.253
AP(if-ethernet)#
RELATED COMMANDS
ip dhcp
ip dhcp This command enables the access point to obtain an IP address from a
DHCP server. Use the no form to restore the default IP address.
SYNTAX
[no] ip dhcp
DEFAULT SETTING
Enabled
COMMAND MODE
Interface Configuration (Ethernet)
COMMAND USAGE
â—† You must assign an IP address to this device to gain management
access over the network or to connect the access point to existing IP
subnets. You can manually configure a specific IP address using the ip
address command, or direct the device to obtain an address from a
DHCP server using this command.
â—† When you use this command, the access point will begin broadcasting
DHCP client requests. The current IP address (i.e., default or manually
configured address) will continue to be effective until a DHCP reply is
received. Requests will be broadcast periodically by this device in an
effort to learn its IP address. (DHCP values can include the IP address,
subnet mask, and default gateway.)