How to change MTU on Windows using netsh command.
177213
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
- Using command line, Check the mtu size on Windows 10 devices. Default MTU is 1500 bytes.
> netsh interface ipv4 show subinterface
- To change mtu size to match remote at 1450 mtu.
>netsh interface ipv4 set interface "Ethernet" mtu=1450
- To verify the change.
> netsh interface ipv4 show subinterfaces
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.