1# ipdebug 2 3 4## 命令功能 5 6ipdebug是控制台命令,是一个调试ipv6信息非常有用的工具,它可以显示IPV6地址前缀,邻居条目信息,目的地缓存条目以及默认的路由条目。 7 8 9## 命令格式 10 11ipdebug 12 13 14## 使用示例 15 16举例:输入命令ipdebug。 17 18 19## 输出说明 20 21**示例** ipdebug打印信息如下: 22 23``` 24OHOS # ipdebug 25================= 26|| Prefix List || 27================= 28Prefix validLifetime Flags 29============================================================================================== 302001:: 86384 1 31---------------------------------------------------------------------------------------------- 32============================ 33|| Neighbor Cache Entries || 34============================ 352001::1 dev eth0 lladr 44:39:C4:94:5D:44 STALE Router 36FE80::4639:C4FF:FE94:5D44 dev eth0 lladr 44:39:C4:94:5D:44 REACHABLE Router 37-------------------------------------------------------------------- 38=============================== 39|| Destination Cache Entries || 40=============================== 412001::1 2001::1 pmtu 1500 age 152 42FE80::4639:C4FF:FE94:5D44 FE80::4639:C4FF:FE94:5D44 pmtu 1500 age 6 432002::1 FE80::4639:C4FF:FE94:5D44 pmtu 1500 age 17 44:: :: pmtu 0 age 219 45:: :: pmtu 0 age 219 46:: :: pmtu 0 age 219 47:: :: pmtu 0 age 219 48:: :: pmtu 0 age 219 49:: :: pmtu 0 age 219 50:: :: pmtu 0 age 219 51-------------------------------------------------------------------- 52============================ 53|| Default Router Entries || 54============================ 55FE80::4639:C4FF:FE94:5D44 invalidation_timer 1784 flags 0 56-------------------------------------------------------------------- 57``` 58