Saturday, 17 March 2012

Command: How to know MTU of Windows System

Command: How to know MTU of Windows System


For Linux it is very easy to know the MTU of the interface . We have to give command ifconfig and the interface name and it will show the mtu of the interface as well .

To know MTU in windows there is one command  "netsh" , basically its an interesting command to know various parameters.

To know MTU we can use below command but Routing and remote access service should be started otherwise you will get below error:



C:\>netsh interface ip show interface

The Routing and Remote Access Service is not currently running on the local mach
ine.
Please use 'net start remoteaccess' on the machine to start the service.


C:\>net start remoteaccess


C:\>netsh interface ip show interface

MIB-II Interface Information
------------------------------------------------------
Index:                              1
User-friendly Name:                 Loopback
GUID Name:                          Loopback
Type:                               Loopback
MTU:                                32768
Speed:                              10000000
Physical Address:
Admin Status:                       Up
Operational Status:                 Operational
Last Change:                        0
In Octets:                          0
In Unicast Packets:                 0
In Non-unicast Packets:             0
In Packets Discarded:               0
In Erroneous Packets:               0
In Unknown Protocol Packets:        0
Out Octets:                         0
Out Unicast Packets:                0
Out Non-unicast Packets:            0
Out Packets Discarded:              0
Out Erroneous Packets:              0
Output Queue Length:                0
Description:                        Internal loopback interface for 127.0.0 netw
ork

Index:                              2
User-friendly Name:                 Local Area Connection
GUID Name:                          {2E2515A4-6473-4502-B718-5A6A2FEC516B}
Type:                               Ethernet
MTU:                                1500
Speed:                              100000000
Physical Address:                   00-11-11-5C-EB-88
Admin Status:                       Up
Operational Status:                 Operational
Last Change:                        3753568741
In Octets:                          332340138
In Unicast Packets:                 330402
In Non-unicast Packets:             451241
In Packets Discarded:               0
In Erroneous Packets:               0
In Unknown Protocol Packets:        9747
Out Octets:                         50853810
Out Unicast Packets:                265788
Out Non-unicast Packets:            5886
Out Packets Discarded:              0
Out Erroneous Packets:              0
Output Queue Length:                0
Description:                        Intel(R) PRO/100 VE Network Connection - Pac
ket Scheduler Miniport

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...