Linux IP command is used to show the information about routing, device policy, and routing tunnel. We can use the following option
-V, -Version is use to show the version of the ip utility
-s, -stats, -statistics these option in ip command to show output to provide with additional more information. It will display some times values.
-link refers to the network device.
ip neighbour show – list out neighbours entries in red hat rhel5
ip neighbour add – it will add a new neighbour
ip neighbour change –these command edit an old or existing entry
ip neighbour replace – it will add new entry or edit an existing or old one
ip route add ->add new route
ip route change – it will edit route
ip route replace - edit or add fresh one
ip rule – refers to the routing policy database management
ip rule add – stands for insert a fresh rule
ip rule delete – these Linux command remove a rule
When you run the command if it is display Device and destination are required arguments. Arguments then it is need these device
[root@localhost ~]# ip -s link show eth0
2: eth0: mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0c:29:4c:46:a1 brd ff:ff:ff:ff:ff:ff
RX: bytes packets errors dropped overrun mcast
199055 1571 0 0 0 0
TX: bytes packets errors dropped carrier collsns
136618 1687 0 0 0 0
[root@localhost ~]# ip addr show eth0
2: eth0: mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0c:29:4c:46:a1 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.4/24 brd 192.168.0.255 scope global eth0
inet6 fe80::20c:29ff:fe4c:46a1/64 scope link
valid_lft forever preferred_lft forever
ip neighbour delete - delete a neighbour entry
[root@localhost ~]# ip neighbour replace
If device and destination is not present in the Linux OS then it will display
Device and destination are required arguments
Friday, May 14, 2010
Linux Use IP Command How to Show routing, device policy routing tunnels Rhel5
Subscribe to:
Post Comments (Atom)
Labels
3D-2D Translation
Algorithms
Batch Programming
C language
C world
C++
DBMS
Ebook
Games
JAVA
Java Programs
JNTU MATERIALS
JNTU PREVIOUS QUESTION PAPERS
JNTU SYLLABUS BOOKS
LAB MANUALS
Linux
Mobile softwares
Networking
Online Programs
PC TIPS
Software Diagrams
Software Engineering
Softwares
System Software
Visual Basic
0 comments:
Post a Comment