ipdebug

命令功能

ipdebug是控制台命令,是一个调试ipv6信息非常有用的工具,它可以显示IPV6地址前缀,邻居条目信息,目的地缓存条目以及默认的路由条目。

命令格式

ipdebug

使用指南

输入命令ipdebug。

输出说明

ipdebug打印信息如下:

  1. OHOS # ipdebug
  2. =================
  3. ||PrefixList||
  4. =================
  5. Prefix validLifetime Flags
  6. ==============================================================================================
  7. 2001::863841
  8. ----------------------------------------------------------------------------------------------
  9. ============================
  10. ||NeighborCacheEntries||
  11. ============================
  12. 2001::1 dev eth0 lladr 44:39:C4:94:5D:44 STALE Router
  13. FE80::4639:C4FF:FE94:5D44 dev eth0 lladr 44:39:C4:94:5D:44 REACHABLE Router
  14. --------------------------------------------------------------------
  15. ===============================
  16. ||DestinationCacheEntries||
  17. ===============================
  18. 2001::12001::1 pmtu 1500 age 152
  19. FE80::4639:C4FF:FE94:5D44 FE80::4639:C4FF:FE94:5D44 pmtu 1500 age 6
  20. 2002::1 FE80::4639:C4FF:FE94:5D44 pmtu 1500 age 17
  21. :::: pmtu 0 age 219
  22. :::: pmtu 0 age 219
  23. :::: pmtu 0 age 219
  24. :::: pmtu 0 age 219
  25. :::: pmtu 0 age 219
  26. :::: pmtu 0 age 219
  27. :::: pmtu 0 age 219
  28. --------------------------------------------------------------------
  29. ============================
  30. ||DefaultRouterEntries||
  31. ============================
  32. FE80::4639:C4FF:FE94:5D44 invalidation_timer 1784 flags 0
  33. --------------------------------------------------------------------