bootptodhcp Command

Purpose

To convert a BOOTP configuration file into a DHCP configuration file or to remove BOOTP configuration information for a particular host from the DHCP configuration file.

Syntax

To Convert a BOOTP Configuration File into a DHCP Configuration File

/usr/sbin/bootptodhcp-d DHCPFile ] [  -b BOOTPFile ]

To Remove a BOOTP Configuration Information From a DHCP Configuration File

/usr/sbin/bootptodhcp-d DHCPFile ]   -r HostName ]

Description

The bootptodhcp command has two functions. The first is to translate a BOOTP configuration file into a DHCP configuration. The default command with no arguments translates the /etc/bootptab file. The filenames may be changed by using the -b or -d flags to specify a different file names.

The second function of the bootptodhcp command is the removal of a BOOTP client's information from a DHCP configuration file. The -r flag specifies which client to remove from the file. If the -d flag is not used.

Flags

Item Description
-b BOOTPFile Specifies the BOOTP configuration file. The default is /etc/bootptab.
-d DHCPFile Specifies the DHCP configuration file.
-r HostName Specifies the hostname of a BOOTP section to delete from the DHCP configuration file.

Exit Status

This command returns the following exit values:

Item Description
0 Successful completion.
>0 An error occurred.

Security

Access Control: Any User

Files Accessed: Need appropriate access permissions for files

Files

Item Description
/usr/sbin/bootptodhcp Contains the bootptodhcp command.
/etc/bootptab Contains the default configuration file for bootpd.