Follow

config.ethernet.interface.add_port 

ROLE: Admin 

Description

Add ethernet port to a network interface.

You can add several ports at once. The command returns success and error messages per port.   

Syntaxconfig.ethernet.interface.add_port interface=PHYSICALINTERFACE port=PORT[,PORT,...] [node=NODE] 
Argumentsinterface Name of an existing physical network interface 
port Ethernet port index, e.g: ETH2 (multiple values, separated by commas) 
node Node name 
Exampleconfig.ethernet.interface.add_port name=interface port=N1ETH1 
Port added: N1ETH1 



config.ethernet.interface.create 

ROLE: Admin 

Description

Create a network interface. 

Syntaxconfig.ethernet.interface.create ports=PORT[,PORT,...] name=NETWORKINTERFACENAME [type=TYPE] [node=NODE] 
Argumentsnode Node name 
type Only one value: PORT_GROUP 
name A maximum of 5 Latin characters, numbers, spaces, and the following symbols: "^&'@()[]$=!-#{}%.+~_" (excluding quotation marks). Leading and trailing whitespace characters are stripped.
ports Ethernet port index, e.g: ETH2 (multiple values, separated by commas) 
Exampleconfig.ethernet.interface.create name=interface1 type=PORT_GROUP ports=N1ETH3 repeat_on_all_nodes=yes 
interface interface1: created on node_1
interface interface1: created on node_2
interface interface1: created on node_3



config.ethernet.interface.create_vlan 

ROLE: Admin 

Description

Create network interface of type VLAN. 

Syntaxconfig.ethernet.interface.create_vlan physical_interface=PHYSICALINTERFACE vlan_id=INT [node=NODE] 
Argumentsnode Node name 
vlan_id An integer number 
physical_interface Name of an existing physical network interface 



config.ethernet.interface.delete 

ROLE: Admin 

Description

Delete network interface.

The interface has to be diabled in order for this command to take effect.

Syntaxconfig.ethernet.interface.delete interface=INTERFACE [node=NODE]
Argumentsinterface Name of an existing network interface 
node Node name 
Exampleconfig.ethernet.interface.delete name=interface1 
Network interface n1eth deleted 



config.ethernet.interface.disable 

ROLE: Admin 

Description

Disable network interface. 

Syntaxconfig.ethernet.interface.disable interface=INTERFACE [node=NODE] 
Argumentsinterface Name of an existing network interface 
node Node name 
Exampleconfig.ethernet.interface.disable name=interface1 
Network interface n1eth disabled 



config.ethernet.interface.enable 

ROLE: Admin 

Description

Enable network interface. 

Syntaxconfig.ethernet.interface.enable interface=PHYSICALINTERFACE [node=NODE] 
Argumentsinterface Name of an existing physical network interface 
node Node name 
Exampleconfig.ethernet.interface.enable name=interface1 
Network interface n1eth enabled 



config.ethernet.interface.query 

ROLE: All Roles 

Description

List existing network interfaces. 

Syntaxconfig.ethernet.interface.query [interface=INTERFACE[,INTERFACE,...]] [node=NODE] 
Argumentsinterface Name of an existing network interface (multiple values, separated by commas) 
node Node name 
Exampleconfig.ethernet.interface.query 
NAME         TYPE   NODE  PORTS   NETWORK STATE
                                  SPACE 
n1eth-data1  PORT   1     N1ETH1  ns1     OK
n2eth-data1  PORT   2     N2ETH1  ns1     OK
n3eth-data1  PORT   3     N3ETH1  ns1     OK 



config.ethernet.interface.remove_port 

ROLE: Admin 

Description

Remove ethernet port from network interface. 

Syntaxconfig.ethernet.interface.remove_port interface=PHYSICALINTERFACE port=PORT[,PORT,...] [node=NODE] 
ArgumentsportEthernet port index, e.g: ETH2 (multiple values, separated by commas)
interfaceName of an existing physical network interface 
nodeNode name 
Exampleconfig.ethernet.interface.remove_port name=interface1 port=N1ETH1 
Port removed: N1ETH1 



config.ethernet.interface.rename 

ROLE: Admin 

Description

Rename network interface. 

Syntaxconfig.ethernet.interface.rename interface=PHYSICALINTERFACE new_name=NETWORKINTERFACENAME [node=NODE] 
Argumentsnew_name A maximum of 5 Latin characters, numbers, spaces, and the following symbols: "^&'@()[]$=!-#{}%.+~_" (excluding quotation marks). Leading and trailing whitespace characters are stripped. 
interfaceName of an existing physical network interface 
nodeNode name 
Exampleconfig.ethernet.interface.rename name=interface1 new_name=N1ETH1 
Interface n1eth renamed to n1eth1 
Was this article helpful?
0 out of 0 found this helpful

0 out of 0 found this helpful

Last edited: 2022-08-06 08:34:35 UTC

Comments