Mobile IP Administration Guide

How to Modify the Advertisements Section

  1. Become superuser on the system where you want to enable Mobile IP.

  2. On a command line, type the following command for each label that you want to modify in the Advertisements section.


    # mipagentconfig change adv device-name <label> <value>

For example, if you wanted to change the agent's advertised lifetime to 300 seconds for device le0, use the following command to make this change.


# mipagentconfig change adv le0 AdvLifetime 300

The following example shows how you might change other parameters in the configuration file's Advertisements section.


Example 3-2 Changing Parameters in the Advertisements Section


# mipagentconfig change adv le0 HomeAgent yes
# mipagentconfig change adv le0 ForeignAgent no
# mipagentconfig change adv le0 PrefixFlags no
# mipagentconfig change adv le0 RegLifetime 300
# mipagentconfig change adv le0 AdvFrequency 4