Mobile IP Administration Guide

How to Display Current Parameter Settings in the Configuration File

You can use the mipagentconfig get command to display current settings associated with parameter destinations.

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

  2. On a command line, type the following command for each parameter for which you want to display settings.


    # mipagentconfig get [<parameter> | <label>] 

For example, if you wanted to display the advertisement settings for the le0 device, use the following command.


# mipagentconfig get adv le0

This causes the following results to display (for example).


[Advertisements le0]
   HomeAgent = yes
   ForeignAgent = yes

The following example shows the results of using the mipagentconfig get command with other parameter destinations.


Example 3-9 Using the mipagentconfig get Command


# mipagentconfig get MaxClockSkew
      [GlobalSecurityParameters]
         MaxClockSkew=300

# mipagentconfig get HA-FAauth
      [GlobalSecurityParameters]
         HA-FAauth=no

# mipagentconfig get MN-FAauth
      [GlobalSecurityParameters]
         MN-FAauth=no

# mipagentconfig get Challenge
      [GlobalSecurityParameters]
         Challenge=no

# mipagentconfig get Pool 10
      [Pool 10]
         BaseAddress=192.168.1.1
         Size=100

# mipagentconfig get SPI 257
      [SPI 257]
         Key=11111111111111111111111111111111
         ReplayMethod=none

# mipagentconfig get SPI 258
      [SPI 258]
         Key=15111111111111111111111111111111
         ReplayMethod=none

# mipagentconfig get addr 10.1.1.1
      [Address 10.1.1.1]
         SPI=258
         Type=agent

# mipagentconfig get addr 192.168.1.200
      [Address 192.168.1.200]
         SPI=257
         Type=node