Loopback address and network interface handling, general commands
U
SER
G
UIDE
162
In order to display the load the command is:
show interface load-avg <ifname>
For example:
load-avg interface eth0 period 30
and after 30 seconds:
show interface load-avg eth0
30 second input rate 2.71 Kbit/sec, 1 packets/sec
30 second output rate 3.44 Kbit/sec, 2 packets/sec
53 packets input, 10412 bytes
0 multicast, 0 input errors, 0 dropped
0 frame error, 0 overruns
62 packets output, 13212 bytes
0 output errors, 0 dropped, 0 carrier lost
0 frame error, 0 overruns, 0 collisions
In order to interrupt the measuring the command is:
no-load-avg
S
ET
-
INTERFACE COMMAND
The command
set interface
defines working parameters for a particular network interface. The
main options are:
set interface <ifname> bandwidth <1-1000000>
it sets the bandwidth associated with the interface. This value will be used by the OSPF protocol.
set interface <ifname> unnumbered
it sets the interface in unnumbered mode. This command is used together with the OSPF protocol in
particular in case of configurations on ISDN lines.
set interface <ifname> ipv6 nd
<options>
it configures IPv6 Network Discovery protocol. Options allow to specify different protocol
parameters, such as Router Advertisement lifetime, interval, etc.