HP-UX Mobile IPv4 A.03.01 Administrator's Guide

OKREQPHKICPFOKRTQEQPHKI
7UKPIOKREQPHKICPFOKRTQEQPHKI
Chapter 9
118
Services provided on the interface:
HA: Home agent services only
FA: Foreign agent services only
HA/FA, HA-FA, FAHA or FA-HA: Provide both HA and FA services.
Input is required.
:
:
Expert Mode
If you enter a command and specify any optional parameters, mipconfig or
miproconfig will operate in expert mode and not prompt you for any other parameters
for that command. mipconfig or miproconfig will flag any required parameters that
you omit as errors and use the default values for any optional parameters you omit.
Batch Mode
In batch mode, mipconfig and miproconfig read commands from a text file. This is
useful when you have a lot of configuration data to enter, such as the security keys for
numerous Mobile Nodes. To use batch mode, create an input file with the mipconfig or
miproconfig commands you want to execute. Each command must start on a new line.
Do not include the mipconfig and miproconfig commands to write the configuration
data and exit since these commands may require additional interaction, such as when
you are replacing the contents of an existing file.
To operate in batch mode, start mipconfig or miproconfig and enter the following
command:
configure file input_file
where input_file is the name of your file.
Example:
The file my_mipconf contains the following text:
config interface lan0 -s ha
config node 15.1.1.1 -spi 1024 -key 11 22 33 44 55 66 77 88 99 aa bb \
cc dd ee ff
config node 15.1.1.2 -spi 1025 -key 22 33 44 55 66 77 88 99 aa bb cc \
dd ee ff 00 11
config node 15.1.1.3 -spi 1026 -key 33 44 55 66 77 88 99 aa bb cc dd \
ee ff 00 11 22
The user runs mipconfig and uses my_mipconf for batch mode:
# mipconfig
Creating /var/adm/mip/mipd.conf
mipconfig> configure file my_mipconf
The mipconfig utility will echo each command in the file and print any informational
messages:
COMMAND: config interface lan0 -s ha
COMMAND: config node 15.1.1.1 -spi 1024 -key 11 22 33 44 55 66 77 88 99 aa
bb cc dd ee ff 00