HP-UX Mobile IPv6 includes
a command line tool, mip6config, to create, edit, and verify mip6mod Mobile IPv6 configuration
files. Using mip6config can help avoid common errors that occur
when manually editing files, such as “typos” that
create invalid entries. The mip6config tool verifies the mip6mod
configuration parameters you enter and displays error messages after
detecting invalid syntax or values. The mip6config tool requires
super-user permissions and interfaces with /etc/mip6.conf by default.
 |
 |  |
 |
 | NOTE: Use the man mip6config command to view the mip6config (1M) manpage. |
 |
 |  |
 |
To use the mip6config tool, start a mip6config session from
the command line and use mip6config commands. The mip6config tool
offers the following two types of commands:
commands for managing mip6config sessions
commands for configuring mip6mod parameters in configuration
files
The mip6config session commands are for managing the mip6config
session, for example; writing mip6config session information to
a configuration file, or getting help information on mip6config
commands. The mip6mod parameter commands are for configuring mip6mod
parameters in configuration files. The following is a list of the
groups of mip6mod parameters:
mip6mod General Parameters
mip6mod Binding Cache Parameters
mip6mod Error Rate Parameters
The mip6config tool offers the following three commands for
configuring each group of mip6mod parameters:
all commands (to configure, list, and delete all mip6mod parameters simultaneously)
 |
 |  |
 |
 | NOTE: Use mip6config commands exclusively—do not combine or execute
multiple mip6config commands simulatenously. |
 |
 |  |
 |
For each of the configure commands, the mip6config tool offers an interactive Novice
Mode interface. The Novice Mode interface prompts you to configure
each parameter individually and also displays the current value
of each parameter in parenthesis. Omit arguments when using configure commands to enter the Novice Mode interface, for example:
mip6config> configure error-rates Error Rate Threshold (25): Max Error Rate (5000): Min Error Rate (7550): |
 |
 |  |
 |
 | NOTE: Use
the ! character to set any of the mip6mod configuration parameters
as unconfigured (i.e., empty) when using mip6config configure commands and prompted for input. |
 |
 |  |
 |
mip6config
Return Values |
 |
Review the mip6config return values before using mip6config
to verify mip6mod configuration files with scripts. The following
table lists and defines the values mip6config returns after executing:
Table 4-1 mip6config Return Values
Return Value | Definition |
|---|
0 | No errors encountered while reading,
writing, or verifying the mip6mod configuration file. |
1 | Errors encountered while reading, writing,
or verifying the mip6mod configuration file. |