How to change MTU on Windows using netsh command.

How to change MTU on Windows using netsh command.

77053
Created On 10/19/22 03:15 AM - Last Modified 01/15/24 07:35 AM


Objective


  • How to verify and change MTU size for the interface on PC.
  • This is used when MTU size need to match both on the management interface of Firewall / Panorama and remote device for the  ssh remote client  to work.


Environment


  • Palo Alto Firewall
  • Window OS


Procedure


The management interface MTU size can be verified from the web UI: Device > Management > Management Interface Settings > Edit > MTU
pix1a.png
  1. Using command line, Check the mtu size on Windows 10 devices.  Default MTU is 1500 bytes.
> netsh interface ipv4 show subinterface
pix1b.png
  1. To change mtu size to match remote at 1450 mtu.
>netsh interface ipv4 set interface "Ethernet" mtu=1450
 
  1. To verify the change.
> netsh interface ipv4 show subinterfaces     
pix1c.png
 
 


Additional Information


Can the MTU be Changed on the Management Interface?
How to set MTU size to 100 on Windows 10

Note: This article is written for informational purposes. The procedure may change when different patches/versions are installed on Windows. Palo Alto Networks does not support any third-party operating systems.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000kEbECAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language