Ip command

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 16:45, 9 February 2006 (edit)
68.106.158.232 (Talk)
(Reverted spam from 209.128.244.14)
← Previous diff
Current revision (19:17, 8 May 2010) (edit) (undo)
Glenn (Talk | contribs)
(catchg)
 
(24 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!
Line 41: Line 41:
- +[[Category:Command-line reference]]
-----+
-'''You are here: ''' '''[[Main Page]]'''/'''[[DD-WRT Docu (EN)]]'''/'''[[Telnet/SSH and the Command Line]]'''/'''[[ip command]]'''+

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