Ip command

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 07:17, 13 February 2009 (edit)
Alvin (Talk | contribs)
m
← Previous diff
Current revision (19:17, 8 May 2010) (edit) (undo)
Glenn (Talk | contribs)
(catchg)
 
(One intermediate revision not shown.)
Line 41: Line 41:
-[[Category:English documentation]]+[[Category:Command-line reference]]
- +
-[[Category:commandline command reference]]+

Current revision

You are here: DD-WRT wiki mainpage / Scripting / SSH/Telnet & The CLI / ip command

This is an infant page. Clean it up and fill it with content!


Contents

[edit] Basic Usage

As always, things in [ ] are optional and | means or

ip [ OPTIONS ] OBJECT { COMMAND | help }

Ex: To get help on the link object, one would enter

ip link help

[edit] OBJECTs

Objects can be any of the following. (A short description of each should be added)

link 
kkl
route
rule
neigh 
tunnel
maddr
mroute
monitor

[edit] OPTIONS

Options can either be the short or long version
Ex: ip -V is the same as ip -Version

-V[ersion]
-s[tatistics]
-r[esolve]
-n[num tables]|
-f[amily]
-o[neline]

[edit] family

Family itself can take additional options:

 inet
 inet6
 ipx
 dnet
 link