Use nettl to trace
traffic through IPv6 Subsystems, or use nettladm. Table 5-1 “Network Trace Subsystems” below
lists the subsystems available for IPv6 packet tracing.
Table 5-1 Network Trace Subsystems
| Description | Subsystem Name |
|---|
| IPv6 Packets | NS_LS_IPV6 |
| ICMPV6 Packets | NS_LS_ICMPV6 |
| IPv6 Loopback packets | NS_LS_LOOPBACK6 |
Use netfmt to format
trace records captured by nettl from the IPv6 subsystems. netfmt can also filter nettl output according to the following IPv6 criteria:
Table 5-2 IPv6 Network Filter Criteria
| Filter Description | Entry in the netfmt configuration file |
|---|
| IPv6 Packets | NS_LS_IPV6 |
| ICMPV6 Packets | NS_LS_ICMPV6 |
| IPv6 Source Address | filter ip6_saddr ::abcd where ::abcd is the source address |
| IPv6 Destination Address | filter ip6_daddr ::fedc where ::fedc is the destination address |
| Connection per port and IPv6 address | filter connection6 <local_IPv6addr> | <port> <remote_IPv6addr | port |