Which Command Displays The Statistics For All Interfaces Configured On A Router?
Which Command Displays The Statistics For All Interfaces Configured On A Router?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Which command displays the statistics for all interfaces configured on a router?
We use the show interface command to display the statistics for all the interfaces that are configured on the router.
Now, let us learn some of the fast ethernet interfaces especially the show interface command that shows the settings like speed duplex and errors. Let us learn what is exactly each of the settings means. Let us take two routers that are running on the gns3. We can take any two routers unless it has fast ethernet interfaces and with the IP address 1.1.1.1/24 and 1.1.1.2/24 as shown in the below figure.
Now let’s set the hostname something as R1 and let go into the fast ethernet interface with an IP address 1.1.1.1 255.255.255.0 and no shut. Now let perform the same thing on another hostname r2. Now all the ethernet interfaces are coming up. Now, we should go back to the privileged mode and do the show interfaces.
It shows all the interfaces that are present, some of the IP addresses, physical data links. Here instead of doing the show interfaces that show everything. We can also do the show interface fast ethernet zero/zero which shows the information about the particular interface. Now we can see the fast/ethernet zero zero and an IP address, mac address, Mtu bandwidth. All this information is more for the documentation quality of service and helps in the routing protocols.
The bandwidth we see is mostly used for documentation purposes and quality of service purposes. The MTU of 1500 bytes is the maximum transmission unit, it defines how large a packet can get before it gets fragmented. We also have a delay, reliability. We can also see the half-duplex with the 10 megabits 100BaseTX/FX. The half-duplex represents is waiting to send the information i.e it doesn’t just send the information blindly. It looks at each line and checks whether everything is fine or not and then sends it.
The full-duplex represents that it can send and receive the information at the same time without any problem. We can also see the current speed of the line. The 100BaseTX/FX represents the actual wire type. We can also look at the maximum possible speed of the particular interface in which it is present.
So it says that we can move up to 100 megabits per second. It also shows the information that it last received and either from a frame or a packet. We can see the input/output queue, queuing strategy, last clearing of the show interface, five-minute input and output rates. We can also see the number of errors that a line has got or received.
If there are no errors, it is set as zero. We can see the collisions if any collisions have occurred. The collision is due to a duplex mismatch, if one is present in half and another one is present in full then will definitely collision gets occur. so we need to do a show interface and look at the counters if the counters are gone up. Another thing is we can clear the counters by using the command called “clear counters”.