Follow

config.net_space.create 

ROLE: Admin 

Description

Create network space. 

Syntaxconfig.net_space.create name=NAME service=[NAS|ISCSI|REPLICATION|INFINISYNC] interface=INTERFACE[,INTERFACE,...] network=IPADDRESS/CIDR [default_gateway=IPADDRESS] [mtu=MTU] [rate_limit=LIMIT] [replication_async_only=YES|NO|Y|N}
Argumentsname A maximum of 65 Latin characters, numbers, spaces, and the following symbols: "^&'@()[]$=!-#{}%.+~_" (excluding quotation marks). Leading and trailing whitespace characters are stripped. 
service NAS, ISCSI, INFINISYNC or REPLICATION 
interface Name of an existing network interface (multiple values, separated by commas) 
replication_async_onlyEither yes or no 
mtuMaximum transmission unit. An integer number between 1280 and 9000 (inclusive)
default_gatewayA valid IPv4 address
networkA valid IPv4 network address in CIDR notation, e.g. 192.168.1.0/24
rate_limitNONE, or an amount of megabits per second
Exampleconfig.net_space.create name=netspace1 interface=n1eth-data1 default_gateway=172.16.95.254 service=REPLICATION network=172.16.64.0/19 
Net_space netspace1 created 



config.net_space.delete 

ROLE: Admin 

Description

Delete network space.  

Syntaxconfig.net_space.delete net_space=NETWORKSPACE 
Argumentsnet_space Name of an existing network space 
Exampleconfig.net_space.delete name=netspace1 
Net_space netspace1 deleted 



config.net_space.params.query  

ROLE: All Roles 

Description

List network space service parameters. 

Syntaxconfig.net_space.params.query [net_space=NETWORKSPACE] [service=(NAS|ISCSI|INFINISYNC|REPLICATION)] 
Argumentsnet_space Name of an existing network space 
serviceNAS, ISCSI, INFINISYNC or REPLICATION
Exampleconfig.net_space.params.query net_space=iscsi-data1 
NAME         IQN                                                 TCP   UNKNOWN     AUTH     ISNS
                                                                 PORT  HOST        TYPE     SERVERS
iscsi-data1  iqn.2009-11.com.infinidat:storage:infinibox-sn-3009 3260  None                 172.16.64.96



config.net_space.params.set_iscsi 

ROLE: Admin, Pool Admin

Description

Set network space iSCSI parameters. 

Syntaxconfig.net_space.params.set_iscsi net_space=NETWORKSPACE [tcp_port=TCPPORT] [isns_servers=HOSTNAME[,HOSTNAME,...]] 
Argumentsisns_servers NONE, or a valid hostname or IPv4 address (multiple values, separated by commas) 
tcp_portAn integer number between 1 and 65535 (inclusive) 
net_space Name of an existing network space 
Exampleconfig.net_space.params.set_iscsi net_space=iscsi-data1 tcp_port=3260 
Network space "iscsi-data1" updated 



config.net_space.query 

ROLE: All Roles

Description

List existing network spaces. 

Syntaxconfig.net_space.query [net_space=NETWORKSPACE] [service=(NAS|ISCSI|INFINISYNC|REPLICATION)
Argumentsnet_space Name of an existing network space 
service NAS, ISCSI, INFINISYNC or REPLICATION 
ExampleNon-filtered query 
config.net_space.query 
NAME   SERVICE      NETWORK        MTU   RATE LIMIT  GATEWAY  IPS  INTERFACES 
rmr_ns REPLICATION  172.16.32.0/19 1500  1000 Mbps   -        7    LAG-1,LAG-2,LAG-3 
ExampleFiltered by service query. 
config.net_space.query service=NAS 
NAME              SERVICE NETWORK        MTU  RATE  GATEWAY IPS  INTERFACES 
                                              LIMIT
default_nas_space NAS     172.16.32.0/19 9000 -     -       7    n1eth-data1,n2eth-data1,n3eth-data1 



config.net_space.rename 

ROLE: Admin

Description

Rename network space. 

Syntaxconfig.net_space.rename net_space=NETWORKSPACE new_name=NAME 
Argumentsnew_name A maximum of 65 Latin characters, numbers, spaces, and the following symbols: "^&'@()[]$=!-#{}%.+~_" (excluding quotation marks). Leading and trailing whitespace characters are stripped. 
net_space Name of an existing network space 
Exampleconfig.net_space.rename name=rmr_ns new_name=rmr_ns_1 
Network space rmr_ns renamed to rmr_ns_1 



config.net_space.route.add 

ROLE: Admin

Description

Add route to network space. 
The routing table is automatically created by InfiniBox to each network space that has a default gateway definition.

Syntaxconfig.net_space.route.add net_space=NETWORKSPACE destination=IPADDRESS netmask=NETMASK gateway=IPADDRESS 
Argumentsgateway A valid IPv4 address 
netmask An IPv4 netmask 
destinationA valid IPv4 address
net_spaceName of an existing network space
Exampleconfig.net_space.route.add name=Replication destination=192.168.10.0 netmask=255.255.255.0 gateway=10.68.65.254 metric=20 
Route added to Network Space Replication 



config.net_space.route.query 

ROLE: All Roles

Description

Query network space routes. 

Syntaxconfig.net_space.route.query [net_space=NETWORKSPACE] [destination=IPADDRESS] 
Argumentsnet_space Name of an existing network space 
destination A valid IPv4 address 
Exampleconfig.net_space.route.query net_space=Replication 

Destination     Netmask          Gateway
0.0.0.0         0.0.0.0          172.25.172.254
10.0.0.192      255.255.255.240  172.25.172.1
192.168.0.0     255.255.0.0      172.25.172.1
172.25.172.255  172.25.172.3     172.25.172.254  

Exampleconfig.net_space.route.query --detailed
Name            Replication
Service         SYNC Replication
Network         172.16.32.0/19
MTU             1500
Rate Limit      -
Gateway         172.16.63.254
IPs             16
Interfaces      PG1
VMAC Addresses
                addresses            role
                74:2b:0f:4e:56:f8 :  DATA
                74:2b:0f:4e:56:f9 :  DATA
                74:2b:0f:4e:56:f4 :  DATA
                74:2b:0f:4e:56:f5 :  DATA
                74:2b:0f:4e:56:f6 :  DATA
                74:2b:0f:4e:56:f7 :  DATA



config.net_space.route.remove 

ROLE: Admin

Description

Remove network space route. 

Syntaxconfig.net_space.route.remove net_space=NETWORKSPACE destination=IPADDRESS netmask=NETMASK gateway=IPADDRESS 
Argumentsgateway A valid IPv4 address 
netmask An IPv4 netmask 
destinationA valid IPv4 address
net_spaceName of an existing network space
Exampleconfig.net_space.route.remove net_space=Async1 destination=11.11.128.0 netmask=255.255.252.0 gateway=172.16.95.254 
Route to 11.11.128.0 255.255.252.0 removed from network space Async1



config.net_space.route.set_gateway 

ROLE: Admin

Description

Set route gateway in network space.

This command allows to change the gateway that the route uses. The route is identified by all of its attributes.

Syntaxconfig.net_space.route.set_gateway net_space=NETWORKSPACE destination=IPADDRESS netmask=NETMASK gateway=IPADDRESS new_gateway=IPADDRESS
Argumentsnew_gatewayA valid IPv4 address
gateway A valid IPv4 address 
netmask An IPv4 netmask 
destinationA valid IPv4 address
net_spaceName of an existing network space
Exampleconfig.net_space.route.set_gateway net_space=Replication netmask=255.255.255.240 destination=192.168.0.0 gateway=172.25.172.1 new_gateway=172.25.172.2 
Route was updated 



config.net_space.set_default_gateway 

ROLE: Admin

Description

Set default gateway 

Syntaxconfig.net_space.set_default_gateway net_space=NETWORKSPACE default_gateway=IPADDRESSORNONE 
Argumentsnet_space Name of an existing network space 
default_gateway A valid IPv4 address 
ExampleSetting a default gateway. 
config.net_space.set_default_gateway name=REPLICATION default_gateway=172.16.32.254 
Network space REPLICATION default gateway set to 172.16.32.254 
ExampleRemoving the default gateway. 
config.net_space.set_default_gateway name=REPLICATION default_gateway=None 
Network space REPLICATION default gateway unset 



config.net_space.set_interfaces 

ROLE: Admin

Description

Set network space port groups. 

Syntaxcconfig.net_space.set_interfaces net_space=NETWORKSPACE interfaces=INTERFACE[,INTERFACE,...]
Argumentsinterfaces Name of an existing network interface (multiple values, separated by commas) 
net_space Name of an existing network space 
Exampleconfig.net_space.set_interfaces name=REPLICATION interfaces=n1eth-data1, n2eth-data1, n3eth-data1 
Network space REPLICATION interfaces set to n1eth-data1, n2eth-data1, n3eth-data1 



config.net_space.set_mtu 

ROLE: Admin

Description

Set the network space MTU.

MTU (maximum transfer unit) is measured in octets (bytes).

Syntaxconfig.net_space.set_mtu net_space=NETWORKSPACE mtu=MTU 
Argumentsnet_space Name of an existing network space  
mtu Maximum transmission unit. An integer number between 1280 and 9000 (inclusive)
Exampleconfig.net_space.set_mtu name=RMR01 mtu=1200 
Network space RMR01 MTU set to 1200 



config.net_space.set_network 

ROLE: Admin

Description

Set network space network configuration. 

Syntaxconfig.net_space.set_network net_space=NETWORKSPACE network=IPADDRESS/CIDR 
Argumentsnetwork A valid IPv4 network address in CIDR notation, e.g. 192.168.1.0/24
net_space  Name of an existing network space   
Exampleconfig.net_space.set_network name=REPLICATION network=172.16.32.0/19 default_gateway=none 
Network space REPLICATION network set to 172.16.32.0/19 



config.net_space.set_rate_limit

ROLE: Admin, Pool Admin

Description

Sets a bandwidth limitation on a Network Space per node.

This limit is configured on the Interface used by the Network space to allow traffic shaping and avoid bandwidth starvation.

Syntaxconfig.net_space.set_rate_limit net_space=NETWORKSPACE limit_per_node=LIMIT 
Argumentslimit_per_nodeNONE, or an amount of megabits per second
net_space Name of an existing network space  
ExampleSetting a rate limit. 
config.net_space.set_rate_limit name=replication_space limit_per_node=200 
Network space replication_space bandwidth limitation (per node): Limited to 200Mbps 
ExampleRemoving the rate limit. 
config.net_space.set_rate_limit name=replication_space limit_per_node=none 
Network space replication_space bandwidth limitation (per node): Limit removed 



config.net_space.set_replication_type 

ROLE: Admin, Pool Admin

Description

Sets a bandwidth limitation on a Network Space per node. This limit is configured on the Interface used by the Network space to allow traffic shaping and avoid bandwidth starvation. 

Syntaxconfig.net_space.set_replication_type net_space=REPLICATIONNETWORKSPACE async_only=YESNO 
Argumentsasync_only Either yes, or no 
net_space Name of an existing replication network space  


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:40 UTC

Comments