openvswitch-interface-add
Open vSwitch is a multilayer virtual switch licensed by Apache 2.0. It is designed to enable massive network automation through programmable extensions. This command adds an Open vSwitch interface to the switch.
Syntax openvswitch-interface-add
name name-string |
This parameter is not configurable. It defaults to the name that you used to create the Open vSwitch service. |
Specify one or both of the following options: |
|
ipaddr ip-address |
Specify the IP address for the interface. |
netmask netmask |
Specify the netmask. |
assignment none|static|dhcp| |
Specify the method of IP address assignment. |
scope local|fabric |
Specify the VLAN assigned to the interface. |
vlan vlan-id |
Optionally, specify the VXLAN assigned to the interface. |
vlan-type public|private |
Specify the type of VLAN for the interface. |
if mgmt|data|span |
Specify an alias if desired. |
alias-on alias-on-string |
Specify if the interface is exclusive or not. |
exclusive|no-exclusive |
Specify if the NIC is enabled or disabled. |
nic-enable|nic-disable |
Specify the ID assigned by VRRP. |
vrrp-id id |
Specify the primary interface for VRRP. |
vrrp-primary vrrp-primary-string |
Specify the VRRP priority for the interface. |
vrrp-adv-int milliseconds |
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. |
priority-tag| |
Specify the VLAN 0 priority tag on forwarded traffic. |
Defaults None
Access CLI
History .
Version 2.4 |
Command introduced. |
Version 2.4.1 |
The parameter, vxlan, deprecated. The parameter, vlan-type, added. |
Version 2.6.2 |
The parameter, if-nat-realm, added. |
Version 3.1.0 |
The parameter, priority-tag|no-priority-tag, added. |
Usage Use this command to add an Open vSwitch interface.
Examples To add an Open vSwitch controller, openvswitch-1, use the following command:
CLI network-admin@switch > openvswitch-controller-add name openvswitch-1
openvswitch-interface-modify
Open vSwitch is a multilayer virtual switch licensed by Apache 2.0. It is designed to enable massive network automation through programmable extensions. This command modifies an Open vSwitch interface to the switch.
Syntax openvswitch-interface-modify
name name-string |
This parameter is not configurable. It defaults to the name that you used to create the Open vSwitch service. |
Specify one or both of the following options: |
|
ipaddr ip-address |
Specify the IP address for the interface. |
netmask netmask |
Specify the netmask. |
assignment none|static|dhcp| |
Specify the method of IP address assignment. |
scope local|fabric |
Specify the VLAN assigned to the interface. |
vlan vlan-id |
Optionally, specify the VXLAN assigned to the interface. |
vlan-type public|private |
Specify the type of VLAN for the interface. |
if mgmt|data|span |
Specify an alias if desired. |
alias-on alias-on-string |
Specify if the interface is exclusive or not. |
exclusive|no-exclusive |
Specify if the NIC is enabled or disabled. |
nic-enable|nic-disable |
Specify the ID assigned by VRRP. |
vrrp-id id |
Specify the primary interface for VRRP. |
vrrp-primary vrrp-primary-string |
Specify the VRRP priority for the interface. |
vrrp-adv-int milliseconds |
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. |
priority-tag| |
Specify the VLAN 0 priority tag on forwarded traffic. |
Defaults None
Access CLI
History .
Version 2.4 |
Command introduced. |
Version 2.4.1 |
The parameter, vxlan, deprecated. The parameter, vlan-type, added. |
Version 2.6.2 |
The parameter, if-nat-realm, added. |
Version 3.1.0 |
The parameter, priority-tag|no-priority-tag, added. |
Usage Use this command to modify an Open vSwitch interface.
Examples To modify an Open vSwitch interface and enable the NIC, openvswitch-1, use the following command:
CLI network-admin@switch > openvswitch-controller-modify name openvswitch-1 nic-enable
openvswitch-interface-remove
Open vSwitch is a multilayer virtual switch licensed by Apache 2.0. It is designed to enable massive network automation through programmable extensions. This command removes an Open vSwitch interface to the switch.
Syntax openvswitch-interface-remove ovs-name name-string nic nic-string
name name-string |
This parameter is not configurable. It defaults to the name that you used to create the Open vSwitch service. |
Specifythe following interface option: |
|
nic nic-string |
Specify the NIC to remove from the interface. |
Defaults None
Access CLI
History Command introduced in Version 2.4.
Usage Use this command to remove an Open vSwitch interface.
Examples To add an Open vSwitch controller, openvswitch-1, use the following command:
CLI network-admin@switch > openvswitch-controller-remove name openvswitch-1
openvswitch-interface-show
Open vSwitch is a multilayer virtual switch licensed by Apache 2.0. It is designed to enable massive network automation through programmable extensions. This command displays information about an Open vSwitch interface to the switch.
Syntax openvswitch-interface-show
name name-string |
This parameter is not configurable. It defaults to the name that you used to create the Open vSwitch service. |
Specify one or more of the following options: |
|
ipaddr ip-address |
Specifies the IP address for the interface. |
netmask netmask |
Specifies the netmask. |
assignment none|static|dhcp| |
Specifies the method of IP address assignment. |
scope local|fabric |
Specifies the VLAN assigned to the interface. |
vlan vlan-id |
Specifies the VXLAN assigned to the interface. |
vlan-type public|private |
Specifies the type of VLAN for the interface. |
public-vlan vlan-id |
Specifies the public VLAN ID. |
if mgmt|data|span |
Specifies an alias if desired. |
alias-on alias-on-string |
Specifies if the interface is exclusive or not. |
exclusive|no-exclusive |
Specifies if the NIC is enabled or disabled. |
nic-enable|nic-disable |
Specifies the ID assigned by VRRP. |
vrrp-id id |
Specifies the primary interface for VRRP. |
vrrp-primary vrrp-primary-string |
Specifies the VRRP priority for the interface. |
vrrp-adv-int milliseconds |
Specifies the VRRP advertisement interval in milliseconds. The range is 10 to 40950 with a default value of 1000. |
secondary-macs secondary-macs-string |
Specifies a secondary MAC address for the interface. |
if-nat-realm internal|external |
Specify the NAT interface realm. |
priority-tag| |
Specify the VLAN 0 priority tag on forwarded traffic. |
Defaults None
Access CLI
History .
Version 2.4 |
Command introduced. |
Version 2.4.1 |
The parameter, vxlan, deprecated. The parameter, vlan-type, added. |
Version 2.6.2 |
The parameter, if-nat-realm, added. |
Version 3.1.0 |
The parameter, priority-tag|no-priority-tag, added. |
Usage Use this command to display interface information about an Open vSwitch interface.
Examples To display information about an Open vSwitch interface, openvswitch-1, use the following command:
CLI network-admin@switch > openvswitch-controller-show name openvswitch-1