Reference Guide

Table Of Contents
(router1) #config
(router1) (Config)#interface 0/4/1
(router1) (Interface 0/4/1)#ip address 192.168.10.1 /31
no ip address
This command deletes an IP address from an interface. The value for ipaddr is the IP address of the
interface in a.b.c.d format where the range for a, b, c, and d is 1-255. The value for subnetmask is a 4-
digit dotted-decimal number which represents the Subnet Mask of the interface. To remove all of the IP
addresses (primary and secondary) configured on the interface, enter the command no ip address.
Format no ip address [{ipaddr subnetmask [secondary]}]
Mode Interface Config
ip address dhcp
This command enables the DHCPv4 client on an in-band interface so that it can acquire network
information, such as the IP address, subnet mask, and default gateway, from a network DHCP (Dynamic
Host Configuration Protocol) server. When DHCP is enabled on the interface, the system automatically
deletes all manually configured IPv4 addresses on the interface.
To enable the DHCPv4 client on an in-band interface and send DHCP client messages with the client
identifier option, use the ip address dhcp client-id configuration command in interface configuration
mode.
Default
disabled
Format ip address dhcp [client-id]
Mode Interface Config
In the following example, DHCPv4 is enabled on interface 0/4/1.
(router1) #config
(router1) (Config)#interface 0/4/1
(router1) (Interface 0/4/1)#ip address dhcp
no ip address dhcp
The no ip address dhcp command releases a leased address and disables DHCPv4 on an interface. The
no form of the ip address dhcp client-id command removes the client-id option and also disables the
DHCP
client on the in-band interface.
Format
no ip address dhcp [client-id]
Mode Interface Config
ip default-gateway
This command manually configures a default gateway for the switch. Only one default gateway can be
configured. If you invoke this command multiple times, each command replaces the previous value.
Routing Commands
ExtremeSwitching 200 Series: Command Reference Guide for version 01 .02.04.0007 507