Configuring and managing IP interfaces and services 149
Nortel WLAN—Security Switch 2300 Series Configuration Guide
If the address is not in use, WSS Software configures the VLAN that has the DHCP client enabled
with the IP address received from the DHCP server. WSS Software then configures the other values
as follows:
Default router—WSS Software adds a default route for the gateway, with a metric of 10.
DNS domain name and DNS server IP address—If the default domain name and DNS server IP
address are already configured on the switch, and DNS is enabled, the configured values are
used. Otherwise, the values received from the DHCP server are used.
If the address offered by the DHCP server is already in use, WSS Software sends a DHCP Decline
message to the server and generates a log message.
If the address is in a subnet that is already configured on another VLAN on the switch, WSS
Software sends a DHCP Decline message to the server and generates a log message.
If the switch is powered down or restarted, WSS Software does not retain the values received from the DHCP server.
However, if the IP interface goes down but WSS Software is still running, WSS Software attempts to reuse the address
when the interface comes back up.

Configuring the DHCP client

To configure the DHCP client on a VLAN, use the following command:
set interface vlan-id ip dhcp-client {enable | disable}
The vlan-id can be the VLAN name or number.
The following command enables the DHCP client on VLAN corpvlan:
WSS# set interface corpvlan ip dhcp-client enable
success: change accepted.
You can configure the DHCP client on more than one VLAN, but the client can be active on only one VLAN.
To remove all IP information from a VLAN, including the DHCP client and user-configured DHCP server, use the
following command:
clear interface vlan-id ip
The IP interface table flags the address assigned by a DHCP server with an asterisk ( * ). In the following example,
VLAN corpvlan received IP address 10.3.1.110 from a DHCP server.
WSS# show interface
* = From DHCP
VLAN Name Address Mask Enabled State RIB
---- --------------- --------------- --------------- ------- ----- --------
4 corpvlan *10.3.1.110 255.255.255.0 YES Up ipv4

Displaying DHCP client information

To display DHCP client information, type the following command:
WSS# show dhcp-client
Interface: corpvlan(4)
Note. This command clears all IP configuration information from the interface.