Loopback address and network interface handling, general commands
10.10.254.254 dev eth0 lladdr 00:0d:5a:0e:ce:fe REACHABLE
10.10.10.10 dev eth0 lladdr 52:54:40:26:79:ac STALE
10.10.100.18 dev eth0 lladdr 00:0d:5a:8e:f8:81 STALE
192.168.22.23 dev eth1 lladdr 02:60:8c:01:22:45 REACHABLE
It is possible to display the entries associated to a single one interface:
root@ROOT> show arp eth0
10.10.254.254 dev eth0 lladdr 00:0d:5a:0e:ce:fe REACHABLE
10.10.10.10 dev eth0 lladdr 52:54:40:26:79:ac STALE
10.10.100.18 dev eth0 lladdr 00:0d:5a:8e:f8:81 STALE
You can delete the content with:
clear-arp-cache <interface-name>
To display all the current network interfaces and their status:
root@ROOT> show ip interface brief
show interface brief
Interface Status Protocol IP Address(s)/Description
--------- ------ -------- -------------------------
dummy0 up up 10.10.0.7/32 Loopback Interface
dummy1 up up 10.10.1.7/32
eth0 up up 10.10.7.11/16 100.100.113.1/24
eth1 up up 192.168.22.254/24
eth1.10 up up 192.168.10.1/24
eth2 up down
eth3 up down
eth4 up down
eth5 up down
ethip0 down down
gprs up up Mobile Physical Status
pseth0 up up 100.100.8.2/24
while for the single interface you can use:
root@ROOT> show ip interface eth0
show interface eth0
Interface eth0 is up, line protocol is up
flags: <UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
HWaddr: 00:0d:5a:0e:f8:b0
inet 10.10.7.11/16 broadcast 10.10.255.255
inet 100.100.113.1/24 broadcast 100.100.113.255 eth0:0
inet6 fe80::20d:5aff:fe0e:f8b0/64
The command
show interface
is used to show the status of the physical components of the router, and it comes as below:
show interface adsl status
show interface gprs status