Ip command

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 18:25, 18 May 2005 (edit)
Sveasoft (Talk | contribs)
(Initial Page)
← Previous diff
Current revision (19:17, 8 May 2010) (edit) (undo)
Glenn (Talk | contribs)
(catchg)
 
(28 intermediate revisions not shown.)
Line 1: Line 1:
-'''You are here: ''' '''[[Main Page]]'''/'''[[DD-WRT Docu (EN)]]'''/'''[[Telnet/SSH and the Command Line]]'''/'''[[ip command]]'''+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!
-Usage: ip [ OPTIONS ] OBJECT { COMMAND | help } 
-where OBJECT := { link | addr | route | rule | neigh | tunnel | 
- maddr | mroute | monitor } 
- OPTIONS := { -V[ersion] | -s[tatistics] | -r[esolve] -n[num tables]| 
- -f[amily] { inet | inet6 | ipx | dnet | link } | -o[neline] 
 +=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
 +=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
-----+=OPTIONS=
-'''You are here: ''' '''[[Main Page]]'''/'''[[DD-WRT Docu (EN)]]'''/'''[[Telnet/SSH and the Command Line]]'''/'''[[ip command]]'''+Options can either be the short or long version<br>
 +Ex: ''ip -V'' is the same as ''ip -Version''
 + -V[ersion]
 + -s[tatistics]
 + -r[esolve]
 + -n[num tables]|
 + -f[amily]
 + -o[neline]
 + 
 +==family==
 +Family itself can take additional options:
 + inet
 + inet6
 + ipx
 + dnet
 + link
 + 
 + 
 +[[Category:Command-line 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