mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-14 05:35:40 +02:00
ip-route-*: add page (#9311)
This commit is contained in:
parent
e5b51964ca
commit
7294aeffb5
4 changed files with 86 additions and 0 deletions
7
pages.fr/linux/ip-route-list.md
Normal file
7
pages.fr/linux/ip-route-list.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# ip route list
|
||||
|
||||
> Cette commande est un alias de `ip route show`.
|
||||
|
||||
- Voir la documentation de la commande originale :
|
||||
|
||||
`tldr ip-route-show`
|
36
pages.fr/linux/ip-route-show.md
Normal file
36
pages.fr/linux/ip-route-show.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
# ip route show
|
||||
|
||||
> Sous commande de gestion de l'affichage des tables de routage.
|
||||
> Plus d'information : <https://manned.org/ip-route>.
|
||||
|
||||
- Affiche la table de routage :
|
||||
|
||||
`ip route show`
|
||||
|
||||
- Affiche la table de routage principale (identique au premier exemple) :
|
||||
|
||||
`ip route show {{main|254}}`
|
||||
|
||||
- Affiche la table de routage locale :
|
||||
|
||||
`ip route show table {{local|255}}`
|
||||
|
||||
- Affiche l'ensemble des tables de routage :
|
||||
|
||||
`ip route show table {{all|unspec|0}}`
|
||||
|
||||
- Affiche les routes d'un périphérique donné :
|
||||
|
||||
`ip route show dev {{eth0}}`
|
||||
|
||||
- Affiche les routes d'une portée donnée :
|
||||
|
||||
`ip route show scope link`
|
||||
|
||||
- Affiche le cache de routage :
|
||||
|
||||
`ip route show cache`
|
||||
|
||||
- N'affiche que les routes IPv6 ou IPv4 :
|
||||
|
||||
`ip {{-6|-4}} route show`
|
7
pages/linux/ip-route-list.md
Normal file
7
pages/linux/ip-route-list.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# ip route list
|
||||
|
||||
> This command is an alias of `ip route show`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr ip-route-show`
|
36
pages/linux/ip-route-show.md
Normal file
36
pages/linux/ip-route-show.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
# ip route show
|
||||
|
||||
> Display subcommand for IP Routing table management.
|
||||
> More information: <https://manned.org/ip-route>.
|
||||
|
||||
- Display the routing table:
|
||||
|
||||
`ip route show`
|
||||
|
||||
- Display the main routing table (same as first example):
|
||||
|
||||
`ip route show {{main|254}}`
|
||||
|
||||
- Display the local routing table:
|
||||
|
||||
`ip route show table {{local|255}}`
|
||||
|
||||
- Display all routing tables:
|
||||
|
||||
`ip route show table {{all|unspec|0}}`
|
||||
|
||||
- List routes from a given device only:
|
||||
|
||||
`ip route show dev {{eth0}}`
|
||||
|
||||
- List routes within a given scope:
|
||||
|
||||
`ip route show scope link`
|
||||
|
||||
- Display the routing cache:
|
||||
|
||||
`ip route show cache`
|
||||
|
||||
- Display only IPv6 or IPv4 routes:
|
||||
|
||||
`ip {{-6|-4}} route show`
|
Loading…
Add table
Reference in a new issue