Nortel Networks 2300 Switch User Manual


 
Appendix A:DHCP server 707
Nortel WLAN—Security Switch 2300 Series Configuration Guide
The following command enables the DHCP server on VLAN red-vlan to serve addresses from the 192.168.1.5 to
192.168.1.25 range:
WSS# set interface red-vlan ip dhcp-server enable start 192.168.1.5 stop 192.168.1.25
success: change accepted.
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
Displaying DHCP server information
To display information about the WSS Software DHCP server, use the following command:
show dhcp-server [interface vlan-id] [verbose]
If you enter the command without the interface or verbose option, the command displays a table of all the IP addresses
leased by the server. You can use the interface option to display addresses leased by a specific VLAN.
If you use the verbose option, configuration and status information is displayed instead.
The following command displays the addresses leased by the DHCP server:
WSS# show dhcp-server
VLAN Name Address MAC Lease Remaining (sec)
---- -------------- --------------- ----------------- --------------------
1 default 10.10.20.2 00:01:02:03:04:05 12345
1 default 10.10.20.3 00:01:03:04:06:07 2103
2 red-vlan 192.168.1.5 00:01:03:04:06:08 102
2 red-vlan 192.168.1.7 00:01:03:04:06:09 16789
The following command displays configuration and status information for each VLAN on which the DHCP server is
configured:
WSS# show dhcp-server
Interface: 0 (Direct AP)
Status: UP
Address Range: 10.0.0.1-10.0.0.253
Interface: default(1)
Status: UP
Address Range: 10.10.20.2-10.10.20.254
Hardware Address: 00:01:02:03:04:05
State: BOUND
Lease Allocation: 43200 seconds
Lease Remaining: 12345 seconds
Note. This command clears all IP configuration information from the interface.