OpenStack is a cloud operating system that controls large pools of compute, storage, and networking resources throughout a data center. This command is used to modify an interface to an OpenStack instance.

Syntax   openstack-interface-modify openstack-name name-string nic nic-string ip ip-address netmask netmask [assignment none|dhcp|dhcpv6] vlan vlan-id vxlan vxlan-id [if mgmt|dhcp|dhcpv6] alias-on alias-on-string exclusive|no-exclusive nic-enable|nic-disable vrrp-id id vrrp-primary vrrp-primary-string vrrp-priority vrrp-priority-number vrrp-adv-int mseconds secondary-macs secondary-macs-string

openstack-name name-string

Specify the name of the OpenStack instance to modify the interface.

Specify the following interface argument:

nic nic-string

Specify the interface NIC to modify/

Specify any of the following options:

ip ip-address

Specify the IP address for the interface.

netmask netmask

Specify the netmask.

assignment none|dhcp|dhcpv6

Specify the method of IP address assignment.

vlan vlan-id

Specify the VLAN assigned to the interface.

vxlan vxlan-id

Optionally, specify the VXLAN, from 0 to 16777215, assigned to the interface.

if mgmt|data|span

Specify the type of interface.

alias-on alias-on-string

Specify an alias if desired.


Specify if the interface is exclusive or not.



Specify if the NIC is enabled or disabled.

vrrp-primary vrrp-primary-string

Specify the primary interface for VRRP.

vrrp-priority vrrp-priority-number

Specify the VRRP priority for the interface.

vrrp-adv-int mseconds

Specify the VRRP advertisement interval in milliseconds. The range is 10 to 40950 with a default value of 1000.

secondary-macs secondary-macs-string

Specify a secondary MAC address for the interface.

if-nat-realm internal|external

Specify the NAT interface realm.

Defaults   None

Access   CLI


Version 2.0

Command introduced.

Version 2.1

The parameters, exclusive, and nic added.

Version 2.2.4

The parameter, secondary-macs, added.

Version 2.6.2

The parameter, if-nat-realm, added.

Usage   Use this command to modify an interface to an OpenStack instance.

Examples  To modify the interface to the OpenStack instance, Open-One, to IP address,, use the following command:

CLI network-admin@switch > openstack-interface-modify name Open-One ip

See Also