System Administration Guide: IP Services

How to Add or Delete Configuration File Parameters

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

  2. On a command line, type the appropriate command for each label that you want to add or delete for the designated section.

    For the General section use the following:


    # mipagentconfig [add | delete] <label> <value>

    For the Advertisements section use the following:


    # mipagentconfig [add | delete] adv device-name <label> <value>

    Note –

    You can add an interface by typing the following:


    # mipagentconfig add adv device-name
    

    In this instance, default values are assigned to the interface (for both foreign agent and home agent).


    For the GlobalSecurityParameters section use the following:


    # mipagentconfig [add | delete] <label> <value>

    For the Pool section use the following:


    # mipagentconfig [add | delete] Pool Pool-identifier <label> <value>

    For the SPI section use the following:


    # mipagentconfig [add | delete] SPI SPI-identifier <label> <value>

    For the Address section use the following:


    # mipagentconfig [add | delete] addr [NAI | IPaddr | node-default] \
    <label> <value>

Note –

Do not create identical Advertisements, Pool, SPI, and Address sections.


For example, to create a new address pool, Pool 11, that has a base address of 192.167.1.1 and a size of 100, use the following commands.


Example 24–7 Adding a New Pool and Parameters


# mipagentconfig add Pool 11 BaseAddress 192.167.1.1 
# mipagentconfig add Pool 11 size 100

Or you might want to delete a particular security parameter. The following example shows you how to delete SPI 257.


Example 24–8 Deleting an SPI


# mipagentconfig delete SPI 257