You can use the mipagentstat command to display a foreign agent's visitors list and a home agent's binding table. Mobile IP Mobility Agent Status provides a conceptual description of the mipagentstat command. You can also review the mipagentstat(1M) man page.
Become superuser on the system where you are enabling Mobile IP.
On a command line, type the following command.
# mipagentstat <option> |
You can use the following options:
-f |
Shows the list of active mobile nodes in the foreign agent's visitor list |
-h |
Shows the list of active mobile nodes in the home agent's binding table |
-p |
Shows the list of security associations with an agent's mobility agent peers |
For example, to show the visitor list for all mobile nodes that are registered with the foreign agent, use the following command.
# mipagentstat -f |
This command causes the following results to be displayed (for example).
Mobile Node Home Agent Time (s) Time (s) Flags Granted Remaining --------------- -------------- ------------ --------- ----- foobar.xyz.com ha1.xyz.com 600 125 .....T. 10.1.5.23 10.1.5.1 1000 10 .....T. |
To show the foreign agent security associations, use the following command.
# mipagentstat -p |
This command causes the following results to be displayed (for example).
Foreign ..... Security Association(s)..... Agent Requests Replies FTunnel RTunnel ---------------------- -------- -------- -------- -------- forn-agent.eng.sun.com AH AH ESP ESP |
To show the home agent security associations, use the following command.
# mipagentstat -fp |
This command causes the following results to be displayed (for example).
Home ..... Security Association(s) ..... Agent Requests Replies FTunnel RTunnel ---------------------- -------- -------- -------- -------- home-agent.eng.sun.com AH AH ESP ESP ha1.xyz.com AH,ESP AH AH,ESP AH,ESP |