You can enable or disable the L2 VPN path MTU (PMTU) discovery feature using CLI commands. By default L2 VPN PMTU discovery is enabled.
You must have the user name and password for the admin account to log in to the NSX Edge node.
- Log in with admin privileges to the CLI of the NSX Edge node .
- To check the status of the L2 VPN PMTU discovery feature, use the following command.
Nsxedge> get dataplane l2vpn-pmtu config
If the feature is enabled, you see the following output: l2vpn_pmtu_enabled : True.
If the feature is disabled, you see the following output: l2vpn_pmtu_enabled : False.
- To disable the L2 VPN PMTU discovery feature, use the following command.
nsxedge> set dataplane l2vpn-pmtu disabled