ip route list
Display subcommand for IP Routing table management. More information: https://manned.org/ip-route.
- Display the
mainrouting table:
ip
- Display the main routing table (same as first example):
ip
- Display the local routing table:
ip
- Display all routing tables:
ip
- List routes from a given device only:
ip dev
- List routes within a given scope:
ip link
- Display the routing cache:
ip
- Display only IPv6 or IPv4 routes:
ip
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
