Ip command

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 15:34, 9 July 2006 (edit)
219.240.12.173 (Talk)
(Basic Usage)
← Previous diff
Current revision (19:17, 8 May 2010) (edit) (undo)
Glenn (Talk | contribs)
(catchg)
 
(4 intermediate revisions not shown.)
Line 1: Line 1:
 +You are here: '''[[Main_Page|DD-WRT wiki mainpage]] / [[Index:Scripting|Scripting]] / [[Telnet/SSH_and_the_Command_Line|SSH/Telnet & The CLI]] / ip command '''
 +
This is an infant page. Clean it up and fill it with content! This is an infant page. Clean it up and fill it with content!
Line 7: Line 9:
Ex: To get help on the ''link'' object, one would enter Ex: To get help on the ''link'' object, one would enter
ip link help ip link help
-781342388830288733115714 
=OBJECTs= =OBJECTs=
Line 40: 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