Alcatel Carrier Internetworking Solutions 350I manual dhcp add, Syntax, Example, Related Commands

Models: 350I

1 138
Download 138 pages 18.92 Kb
Page 40
Image 40
dhcp add

3 DHCP Commands

dhcp add

Assign a static IP address to a host in the local network. This address is allocated on a permanent basis, and is excluded from the pool of addresses used by the SpeedToucht350i DHCP server.

SYNTAX:

dhcp add

clientid = <client￿id>

 

 

addr = <ip￿address>

 

 

[leasetime = <number>]

 

 

[hostname = <hostname>]

 

 

 

 

clientid

The DHCP client's MAC address.

REQUIRED

addr

The IP address for this DHCP host.

REQUIRED

[leasetime]

A number between 0 and 1814400 (seconds).

OPTIONAL

 

Represents the preferred time the client wants to use an address.

 

 

By default the leasetime is 7200 seconds (2 hours).

 

 

Specifying -1 makes the lease permanent.

 

[hostname]

The hostname to add to the local DNS table for this host.

OPTIONAL

EXAMPLE:

=>dhcp list

 

 

 

 

Leases:

 

 

 

 

 

Lease

0:

01:00:A0:24:AE:66:E1

 

Hostname

 

=

Default

 

ip address :

10.0.0.8

 

expires in : 1 h, 16 min, 20 sec

 

lease is

being used.

Total size of table: 36, in use: 1 free: 97 %

=>dhcp add clientid=01:23:45:67:89:ab addr=10.0.0.1 leastime=60 hostname=NewLease

=>dhcp list

 

 

 

 

Leases:

 

 

 

 

 

Lease

0:

01:00:A0:24:AE:66:E1

 

Hostname

 

=

Default

 

ip address :

10.0.0.8

 

expires in : 1 h, 15 min, 32 sec

 

lease is

being used.

Lease

1:

01:23:45:67:89:AB

 

Hostname

 

=

NewLease

 

ip address :

10.0.0.1

 

expires in : 23 sec

 

lease is

being used.

Total size of table: 36, in use: 2 free: 94 %

=>

 

 

 

 

 

 

 

 

 

 

 

RELATED COMMANDS:

 

dhcp delete

Delete a DHCP lease.

dhcp list

Show current DHCP leases.

40 / 138

 

3EC 16982 AGAA TCZZA Ed. 01

 

 

 

Page 40
Image 40
Alcatel Carrier Internetworking Solutions 350I manual dhcp add, Syntax, Example, Related Commands, dhcp delete, dhcp list