Displaying Mobility Agent Status
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.
How to Display Mobility Agent Status
- Become superuser or assume an equivalent role on the system where you are
enabling Mobile IP.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
- Display the mobility agent status.
# mipagentstat 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.
Example 28-10 Displaying Mobility Agent Status
This example shows how to display the visitor list for all mobile
nodes that are registered with a foreign agent.
# mipagentstat -f
As a result, output similar to the following is displayed:
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.
This example shows how to display foreign agent security associations.
# mipagentstat -p
As a result, output similar to the following is displayed:
Foreign ..... Security Association(s).....
Agent Requests Replies FTunnel RTunnel
---------------------- -------- -------- -------- --------
forn-agent.eng.sun.com AH AH ESP ESP
This example shows how to display home agent security associations.
# mipagentstat -fp
As a result, output similar to the following is displayed:
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