ipdebug

命令功能

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

命令格式

ipdebug

使用指南

输入命令ipdebug。

输出说明

ipdebug打印信息如下:

  1. OHOS # ipdebug
  2. =================
  3. || Prefix List ||
  4. =================
  5. Prefix validLifetime Flags
  6. ==============================================================================================
  7. 2001:: 86384 1
  8. ----------------------------------------------------------------------------------------------
  9. ============================
  10. || Neighbor Cache Entries ||
  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. || Destination Cache Entries ||
  17. ===============================
  18. 2001::1 2001::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. || Default Router Entries ||
  31. ============================
  32. FE80::4639:C4FF:FE94:5D44 invalidation_timer 1784 flags 0
  33. --------------------------------------------------------------------