Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Change MTU Size For Existing Network Using OpenStack CLI/API
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
The need exists to increase MTU size for an existing Network in OpenStack such that the new instances created on that network will have Jumbo frames enabled on the network interface.
Environment
- Platform9 Managed OpenStack - All Versions
- OpenStack CLI - v4.0.0 and Higher
Procedure
Network MTU can be increased via OpenStack CLI( latest version - 4.0.0 ) or via API call.
- To increase the MTU size via CLI OpenStack CLI, run:
xxxxxxxxxx# openstack network set --mtu 8950 [network id ]Note: MTU option in the command is only available in the OpenStack CLI version 4.0.0 and higher.
- To increase the MTU using the OpenStack API, run:
# curl -s -H "X-Auth-Token: $TOKEN" -H "Content-Type: application/json" -H "Accept: application/json" -X PUT -d '{"network": {"mtu": 8950}}' http://[Management Plane FQDN]:9696/v2.0/networks/[networkid] |jqAdditional Information
- To check the version of Openstack CLI, use the following command.
xxxxxxxxxx# pip show python-openstackclient- To upgrade the OpenStack CLI version to the latest, run the following command.
xxxxxxxxxx# pip install --upgrade python-openstackclient- To obtain a token for API calls use the following command.
xxxxxxxxxx# TOKEN=$(openstack token issue -c id -f value)VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message