Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ARM network protocols command-line interface reference guide.Ver 1.6.pdf
Скачиваний:
29
Добавлен:
23.08.2013
Размер:
1.61 Mб
Скачать

Protocol-specific Commands

4.1.5dhdelete

The dhdelete command deletes an entry from the DHCP database.

Syntax

dhdelete index_number

where:

 

 

 

 

index_number

Is the number that identifies the IP address in the database.

Example

 

 

 

 

INET> dhlist

 

 

 

 

 

IP addr

client ID

type

status

lease

1

10.0.1.95 00:20:AF:CA:0A:AE

dbase

Unassigned N/A

2

10.0.1.98 00:60:08:4D:C3:AA

dbase

Assigned via DHCP 60

2

Entries

 

 

 

 

INET> dhdelete 1

 

 

 

deleted

 

 

 

 

INET> dhlist

 

 

 

 

 

IP addr

client ID

type

status

lease

1

10.0.1.98 00:60:08:4D:C3:AA

dbase

Assigned via DHCP 60

1

Entries

 

 

 

 

INET>

 

 

 

 

Usage

Use dhlist to get information about a DHCP entry and then use dhdelete to delete that entry from the DHCP database.

Note

This command only affects the DHCP database. The DHCP Server cannot stop the remote device/computer using the IP address that would be freed by this call.

4-6

Copyright © 2000-2001 ARM Limited. All rights reserved.

ARM DUI 0145B

Protocol-specific Commands

4.1.6dhpools

The dhpools command displays a list of pools of free IP addresses. The DHCP server can dynamically assign an address taken from these pools to a client.

Syntax

dhpools

Example

INET> dhpools

Free DHCP address pools:

range: 10.0.3.1 - 10.0.3.99, iface: 0 range: 10.0.3.101 - 10.0.3.199, iface: 0

INET>

ARM DUI 0145B

Copyright © 2000-2001 ARM Limited. All rights reserved.

4-7