 |
» |
|
|
 |
Use the mip6admin commands described in this section to report
and reset mip6mod and rtradvd information. The following is a list
of the mip6admin commands described in this section: Reporting
Comprehensive mip6mod and rtradvd Information: report |  |
Use the report command to a comprehensive list of mip6mod and rtradvd
information. The report command simultaneously shows the results
of the following mip6admin commands: - Abbreviated:
re[port] - Syntax:
report - Example:
 |
mip6admin -report mip6mod CONFIGURATION ********************************************************************** (Version: A.01.00) Log Level: warn Num mip6mod Instances: 1 Max Bindings: 10000 Max Home Bindings: 10000 Max Binding Lifetime: 262140 Binding Refresh Advice Interval: 0 Binding Refresh Request Threshold: 0 Error Rate Threshold: 10 Max Error Rate: 100 Min Error Rate: 1000 rtradvd CONFIGURATION ********************************************************************** rtradvd Configuration File: /etc/rtradvd.conf mip6mod EVENTS ********************************************************************** Jan 20 18:36:05 mip6mod(U,1,6832): WARN: mip6_process_ioctl: Config is changed. New config is: Jan 20 18:36:05 mip6mod(U,1,6832): WARN: log_level = 5 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: max_binding_cache = 10000 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: max_home_binding_cache = 10000 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: max_binding_cache_life = 2621400 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: mcfg_rlimit_ntol = 10 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: mcfg_rlimit_k = 100 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: mcfg_rlimit_T = 1000 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: mcfg_bra_interval = 0 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: mcfg_brr_threshold = 0 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: mcfg_ipproto_mobility = 135 PREFIX INFORMATION ********************************************************************* Interface: lan1 Prefix: bbbb:bb:bb:0:0:0:0:0/64 (bbbb:bb:bb:0:0:0:0:0/64) Valid Time: 2592000 (2592000) Preferred Lifetime: 604800 (604800) Flags: H (H) Info: there are no Bindings Cache entries to report. GENERAL STATISTICS ********************************************************************** Total Mobility Header Packets Received: 4 Length < Mobility Header Minimum: 0 Bad Mobile IPv6 Mobility Header Type: 0 Bad Mobile Ipv6 Payload Protocol: 0 Drops by Rate Limit: 0 Messages Received (by type): Binding Request: 0 Home Test Init: 6 Care of Test Init: 4 Home Test: 0 Care of Test: 0 Binding Update: 4 Binding Acknowledgement: 0 Binding Error: 0 Messages Sent (by type): Binding Request: 0 Home Test Init: 0 Care of Test Init: 0 Home Test: 6 Care of Test: 6 Binding Update: 0 Binding Acknowledgement: 4 Binding Error: 0 BINDING UPDATES STATISTICS ********************************************************************** Total Binding Update Errors: 1 Bad Length: 0 No Home Address Option: 0 Invalid Care-of or Home Address: 0 Dropped due to Binding Update Disabled: 0 Bad Sequence Number: 1 Missing IPSec: 0 Failed Return Routablity: 0 Bad Mobility Option: 0 Home Agent Disabled: 0 Not Home Agent for Mobile Node: 0 No Binding to Delete: 0 Could not Add Binding: 0 Could not Update Binding: 0 Could not Delete Bindings: 0 Dropped due to Cache Limit: 0 Missing Alternative Care-of Address with ESP: 0 Binding Acknowledgement Messages (by status): Accepted (0): 3 Accepted, but Prefix Discovery Necessary (1): 0 Failed - Unspecified Reason (128): 0 Administratively Prohibited (129): 0 Insufficient Resources (130): 0 Home Registration Not Supported (131): 0 Not Home Subnet (132): 0 Not Home Agent for Mobile Node (133): 0 Duplicate Address Detection (DAD) failed (134): 0 Sequence Number out of Window (135): 1 Expired Home Nonce Index (136): 0 Expired Care-of Nonce Index (137): 0 Expired Nonces (138): 0 Registration Type Change Disallowed (139): 0 Binding Error Messages (by status): Unknown Binding for Home Address Option (0): 0 Unrecognized Mobility Header Type Value (1): 0 RETURN ROUTABILITY PROTOCOL STATISTICS ********************************************************************** Home Test Init Errors: 10 Bad Length: 5 Presence of Home Address Option: 5 Care-of Test Init Errors: 6 Bad Length: 3 Presence of Home Address Option: 3 HOME AGENT LIST ********************************************************************** Interface: lan1 Link Local Address: fe80:0:0:0:210:83ff:fefb:d95b (Local) Global Address(es): bbbb:bb:bb:0:0:0:0:bbbb Expires: Fri Feb 13 14:00:46 2004 Lifetime (secs): 400 Preference: 5 Interface: lan1 Link Local Address: fe80:0:0:0:20a:41ff:fef4:3ea2 (Remote) Global Address(es): bbbb:bb:bb:0:0:0:0:eeee Expires: Fri Feb 13 14:24:02 2004 Lifetime (secs): 1800 Preference: 0 ROUTER ADVERTISEMENT STATISTICS ********************************************************************** Interface Name: lan1 Advertisements Sent: 34 Advertisement Errors: 0 Inconsistent Advertisements: 0 Router Solicitations: 10 Router Solicitation Errors: 0 DHAAD Requests: 5 Prefix Solicitations: 10 DHAAD Failures: 1 Prefix Solicitation Failures: 1 |
 |
Reporting
mip6mod and rtradvd Configuration Information: getconfiguration |  |
Use the getconfigration command to list general mip6mod and rtradvd information,
for example; if the node is a Home Agent and the name of rtradvd
configuration file. - Abbreviated:
g[etconfiguration] - Syntax:
getconfiguration - Example:
mip6admin -getconfiguration mip6mod CONFIGURATION ********************************************************************** (Version: A.01.00) Log Level: error Num mip6mod Instances: 1 Max Bindings: 10000 Max Home Bindings: 10000 Max Binding Lifetime: 262140 Binding Refresh Advice Interval: 0 Binding Refresh Request Threshold: 0 Error Rate Threshold: 10 Max Error Rate: 100 Min Error Rate: 1000 rtradvd CONFIGURATION ********************************************************************** rtradvd Configuration File: /etc/rtradvd.conf |
Reporting
mip6mod and rtradvd Prefix Information: prefixes |  |
Use the prefixes command to list prefix information from mip6mod and rtradvd
displayed in a side-by-side format. For each prefix, the list displays
mip6mod information followed by rtradvd information in parenthesis.
The list will display the entry as unknown if the entity does not
report it. The following is a list of prefix information reported
for prefix: interface name and address preferred and valid lifetimes
- Abbreviated:
p[refixes] - Syntax:
prefixes - Example:
mip6admin -prefixes PREFIX INFORMATION ********************************************************************* Interface: lan1 Prefix: bbbb:bb:bb:0:0:0:0:0/64 (bbbb:bb:bb:0:0:0:0:0/64) Valid Time: 2592000 (2592000) Preferred Lifetime: 604800 (604800) Flags: H (H) |
Reporting or
Reset mip6mod Binding Cache Information: bindings |  |
Use the bindings command to view or delete the mip6mod binding cache entries.
The bindings command displays the following information for each
binding cache entry mip6mod maintains: Mobile Node care-of address
- Abbreviated:
b[indings] - Syntax:
bindings [-list home_address] [-delete home_address] - Options:
- Example:
mip6admin bindings -l bbbb:bb:bb:0:0:0:0:2 Binding Cache Entry ********************************************************************** Home Address: bbbb:bb:bb:0:0:0:0:2 Care-of Address: 8888:88:0:0:0:0:0:2 Binding Update Sequence Number: 2750 Lifetime (secs): 295 Binding Update Flags: A H K |
Resetting
mip6mod Prefix and Binding Cache Lists: flush |  |
Use the flush command to reset (clear) mip6mod prefix and binding cache
lists. Use an option to specify which list to reset. mip6mod resets
both lists if you do not specify which list to reset. mip6admin
requires you to confirm this command before resetting the mip6mod
prefix and binding cache lists.  |  |  |  |  | CAUTION: Use the flush command with caution, as resetting the mip6mod prefix
and binding cache lists on a Home Agent will severley effect Mobile
IPv6 operation. |  |  |  |  |
- Abbreviated:
f[lush] - Syntax:
flush [-force] [-bindings] [-prefixes] - Options:
- -f[orce]
Forces the flush command and resets the specified
mip6mod list without prompting you to confirm. You must specify
which mip6mod list to reset, and force must be the first option
used. mip6admin will not reset either list if you do not specify
a list with the force option. - -b[indings]
Resets all mip6mod binding cache entries. - -p[refixes]
Resets mip6mod prefix lists for all interfaces.
- Example:
mip6admin -flush -prefixes Delete all prefix list entries? (no): y |
Reporting
rtradvd Home Agent Lists: halist |  |
Use the halist command to report rtradvd Home Agent lists, including
location, lifetime, and global and link-level local addresses. The
halist command reports the Home Agent lists for all interfaces in
rtradvd if no options are used. - Abbreviated:
h[alist] - Syntax:
halist [-i interface_name] - Options:
- -i interface_name
The interface name to report Home Agent
list for. Repeat this option to simultaneously report multiple interfaces.
- Example:
mip6admin -halist HOME AGENT LIST ********************************************************************** Interface: lan1 Link Local Address: fe80:0:0:0:210:83ff:fefb:d95b (Local) Global Address(es): bbbb:bb:bb:0:0:0:0:bbbb Expires: Fri Feb 13 14:00:46 2004 Lifetime (secs): 400 Preference: 5 Interface: lan1 Link Local Address: fe80:0:0:0:20a:41ff:fef4:3ea2 (Remote) Global Address(es): bbbb:bb:bb:0:0:0:0:eeee Expires: Fri Feb 13 14:24:02 2004 Lifetime (secs): 1800 Preference: 0 |
Reporting
and Resetting mip6mod Statistical Counters: statistics |  |
Use the statistics command to report and reset (clear) the mip6mod General,
Binding, and Return Routability statistics. The statistics command
reports mip6mod statistics if the -reset option is not used. To report
or reset on all counters, do not specify any of the individual mip6mod
counters. - Abbreviated:
stat[istics] - Syntax:
statistics [-reset] [-general] [-bindings] [-rr] - Options:
- -re[set]
Resets the mip6mod statistic counters. This must
be the first option used. The statistic command performs reports
mip6mod statistic counters in -reset is not used. - -g[eneral]
General Mobility Header statistic counters including
the number and types of messages sent and received, etc. - -b[indings]
Binding Update statistic counters including the
number and type of Binding Error and Acknowledgement messages sent,
etc. - -rr
Return Routability statistic counters including
Home and Care-of Test messages, and Home and Care-of Test Init messages.
- Example:
Reporting mip6mod Return Routability Statisticsmip6admin -statistics -rr RETURN ROUTABILITY PROTOCOL STATISTICS ********************************************************************* Home Test Init Errors: 10 Bad Length: 5 Presence of Home Address Option: 5 Care-of Test Init Errors: 6 Bad Length: 3 Presence of Home Address Option: 3
|
Resetting mip6mod Return Routability Statisticsmip6admin -statistics -reset -rr |
Reporting
rtradvd Statistical Counters: rtradvstatistics |  |
Use
the rtradvdvstatistics command to report and reset (clear) the rtradvd statistics,
including the total count and errors for Router Advertisement, Dynamic
Home Agent Address Discovery, and Prefix solicitations—on
an interface by interface basis. The statistics command reports
mip6mod statistics if the -reset option is not used. Do not specify
an interface_name to report or reset statistics for all rtradvd interface. - Abbreviated:
rt[radvstatistics] - Syntax:
rtradvstatistics [-reset] [-i interface_name] - Options:
- -re[set]
Resets the mip6mod statistic counters. This must
be the first option used. The statistic command performs reports
mip6mod statistic counters in -reset is not used. - -i interface_name
The interface name to report or reset
statistics for. Repeat this option to simultaneously report multiple
interfaces.
- Example:
mip6admin -rtradvstatistics ROUTER ADVERTISEMENT STATISTICS ********************************************************************** Interface Name: lan1 Advertisements Sent: 34 Advertisement Errors: 0 Inconsistent Advertisements: 0 Router Solicitations: 10 Router Solicitation Errors: 0 DHAAD Requests: 5 Prefix Solicitations: 10 DHAAD Failures: 1 Prefix Solicitation Failures: 1
|
Viewing
syslogd Events Logged by mip6mod: logevents |  |
Use the logevents command to view syslogd events logged by mip6mod. The
logevents command will display the events when mip6mod is running,
and also when it is not running. - Abbreviated:
l[ogevents] - Syntax:
logevents [-file log_file] [-level log_level] - Options:
- -f[ile] log_file
The fully-qualified (absolute) path of
the syslogd logfile to view. If the -f option is not used, the logevents
command displays /var/adm/syslog/syslog.log by default.
- -l[evel] log_level
Indicates a specific level of the events
to display. Repeat this option to view multiple levels of events.
If the -l option is not used, the logevents command displays the
events logged for all levels. The following is a list of the levels
in the mip6mod logging hierarchy:
- a[lert]
Logs messages for critical conditions requiring immediate
attention, for example, exceeding memory space. - e[rror]
Logs messages for error conditions, for example,
when the binding cache reaches maximum capacity. - w[arn]
Logs messages for warning conditions, for example, when
dynamic configuration occurs. - i[nfo]
Logs messages for informational conditions, for
example, when a binding cache entry is created. - d[ebug]
Logs messages for debugging and troubleshooting conditions,
for example, when a mobility route is added.
- Example:
mip6admin -logevents -l warn mip6mod EVENTS ************************************************************************************ Jan 20 18:36:05 mip6mod(U,1,6832): WARN: mip6_process_ioctl: Config is changed. New config is: Jan 20 18:36:05 mip6mod(U,1,6832): WARN: log_level = 5 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: max_binding_cache = 10000 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: max_home_binding_cache = 10000 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: max_binding_cache_life = 20300 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: mcfg_rlimit_ntol = 10 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: mcfg_rlimit_k = 100 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: mcfg_rlimit_T = 1000 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: mcfg_bra_interval = 0 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: mcfg_brr_threshold = 0 Jan 20 18:36:05 mip6mod(U,1,6832): WARN: mcfg_ipproto_mobility = 135
|
|