HP-UX Reference (11i v2 03/08) - 1M System Administration Commands A-M (vol 3)

d
dhcpv6db2conf(1M) dhcpv6db2conf(1M)
NAME
dhcpv6db2conf - DHCPv6 client database converter
SYNOPSIS
/usr/bin/dhcpv6db2conf
[-a |
-c | -p][-d][-i][-n][-t][lan_interfaces]
DESCRIPTION
dhcpv6db2conf
provides a means of translating the DHCPv6 client database,
/etc/dhcpv6client.data
, into a set of standard configuration file variables. The client database
consists of a series of records. Each record represents a unique lan interface and a list of attributes,
which correspond to that interface. The attributes are configuration parameters like: host’s IP address,
NTP server address, address of the DHCPv6 server, NIS domain name etc for that interface. With
dhcpv6db2conf
, you can list the contents of the database to the screen, create a set of configuration
staging files, or execute direct edits on existing configuration files using the values contained in the client
database.
Options
dhcpv6db2conf
allows you to specify a list of lan interfaces on the command line (e.g.
lan0 lan1...)
whose data needs to be translated to a readable format. If no lan interface is specified,
dhcpv6db2conf
will process the entries of all interfaces which are UP. The attributes can be selected for processing by
specifying a combination of one or more filter flags on the command line. If no filter flag is specified, all
the attributes for that lan interface will be processed.
The following options are supported:
-a Using the results of the specified filter, directly apply the variable definitions to the exist-
ing configuration files (for example, /etc/rc.config.d/netconf-ipv6
).
-c Create a set of staging files using the results of the selected filter(s). Each variable pro-
cessed will be applied to its corresponding staging configuration file. Specifically,
dhcpv6db2conf will generate a copy of the existing configuration file. For example,
/etc/rc.config.d/netconf-ipv6
will be copied to
/etc/rc.config.d/netconf-ipv6.dhcpv6
. Once this staging file has been
created, the variable that is being processed will be applied to this newly created file.
-d Process the DNS variable set: [domain, nameserver ].
-i Process the INTERFACE variable set: [IPV6_SECONDARY_INTERFACE_NAME,
IPV6_ADDRESS, IPV6_PREFIXLEN, DHCPV6_ENABLE].
-n Process the NIS variable set: [NIS_DOMAIN, YPSET_ADDR].
-p Print results to the screen (stdout), this is the default action if neither
-c nor -a are
specified.
-t Process the NTPDATE_SERVER variable.
lan_interfaces lan interfaces such as
lan0, lan1, etc. whose data needs to be translated to a readable
format. If not specified, dhcpv6db2conf will process the entries of all interfaces which
are UP.
Configuration Files and Variable Names
The following files and variables can be processed:
/etc/rc.config.d/netconf-ipv6
IPV6_SECONDARY_INTERFACE_NAME
IPV6_ADDRESS
IPV6_PREFIXLEN
DHCPV6_ENABLE
/etc/rc.config.d/namesvrs
NIS_DOMAIN
YPSET_ADDR
/etc/rc.config.d/netdaemons
NTPDATE_SERVER
HP-UX 11i Version 2: August 2003 1 Hewlett-Packard Company Section 1M137