|
|
HP-UX Reference > Bbootpquery(1M)HP-UX 11i Version 2: December 2007 Update |
|
NAMEbootpquery — send BOOTREQUEST to BOOTP server DESCRIPTIONbootpquery is a diagnostic function used to check the configuration of the Internet Bootstrap Protocol (BOOTP) server, bootpd(1M). This function can only be run by the superuser, since it uses reserved ports. bootpquery constructs a boot request with the supplied parameters to send to the BOOTP server, and prints the contents of the BOOTP server reply (as shown in EXAMPLES below). Note that bootpquery formats and prints RFC-1048 or CMU-style vendor information included in the BOOTREPLY. The BOOTREQUEST packet is broadcast on the BOOTP server port, bootps. If a BOOTP server is configured to respond to the request, it returns a BOOTREPLY packet on the BOOTP client port, bootpc. bootpquery can only display BOOTREPLY packets when the BOOTP server broadcasts the reply on the client port or when the hardware address and IP address supplied in the BOOTREQUEST are those of the host on which bootpquery is run. The following options provide the information for the BOOTREQUEST:
EXAMPLES/usr/sbin/bootpquery 02608cee018e ether -s hpserver Received BOOTREPLY from hpserver.hp.com (15.9.18.119) Hardware Address: 02:60:8c:ee:01:8e Hardware Type: ethernet IP Address: 15.9.18.113 Boot file: /export/tftpdir/hp-gw2-confg RFC 1048 Vendor Information: Subnet Mask: 255.255.248.0 Bootfile Size: 6 512 byte blocks Domain Name Server: 15.9.18.119 Host Name: hp-gw2 SEE ALSObootpd(1M), tftp(1), tftpd(1M). DARPA Internet Request For Comments RFC951, RFC1048, RFC1084, RFC1395, RFC1542 Assigned Numbers. |
|