System Administration Guide: IP Services

ProcedureHow to Add or Delete Configuration File Parameters

  1. Assume the Primary Administrator role, or become superuser, on the system where you want to enable Mobile IP.

    The Primary Administrator role includes the Primary Administrator profile. To create the role and assign the role to a user, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.

  2. 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 the foreign agent and the 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 | IP-address | node-default] \
      <label> <value>

    Note –

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



Example 28–7 Modifying File Parameters

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.


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


Example 28–8 Deleting SPI

The following example shows how to delete the SPI security parameter SPI 257.


# mipagentconfig delete SPI 257