Skip to main content
Version: 2.3

Preset

CubeOS network preset CLI#

Previously known as diagnostic

Login to admin CLI and select Advanced option#

unconfigured login: adminPassword:Last login: Tue Jul 12 02:14:07 on tty1Welcome to the Cube ApplianceFirst Time Setup Options:1: Wizard2: AdvancedEnter index: 2Welcome to the Cube ApplianceEnter "help" for a list of available commandsLicense files are not installedunconfigured> 

Check Network Interface status#

CLI: preset show_interface all

unconfigured> preset show_interface allPress enter for local or input IP ranges (IP,IP-IP,...):--------------------------------------------------------------------------------------------------------     Dev    Label        DevID/Cfg   BusID/Slaves               HWAddr     Driver  Link  State    Speed--------------------------------------------------------------------------------------------------------    eth0     IF.1        14e4.165f   0000:01:00.0    18:66:da:eb:b6:78        tg3   yes     UP    1000F    eth1     IF.2        14e4.165f   0000:01:00.1    18:66:da:eb:b6:79        tg3   yes   DOWN    1000F    eth2     IF.3        14e4.165f   0000:02:00.0    18:66:da:eb:b6:7a        tg3    no   DOWN      N/A    eth3     IF.4        14e4.165f   0000:02:00.1    18:66:da:eb:b6:7b        tg3    no   DOWN      N/A--------------------------------------------------------------------------------------------------------unconfigured>

Set Interface : flat#

CLI: preset set_interface

unconfigured>preset set_interface--------------------------------------------------------------------------------------------------------     Dev    Label        DevID/Cfg   BusID/Slaves               HWAddr     Driver  Link  State    Speed--------------------------------------------------------------------------------------------------------    eth0     IF.1        14e4.165f   0000:01:00.0    18:66:da:eb:b6:78        tg3   yes     UP    1000F    eth1     IF.2        14e4.165f   0000:01:00.1    18:66:da:eb:b6:79        tg3   yes   DOWN    1000F    eth2     IF.3        14e4.165f   0000:02:00.0    18:66:da:eb:b6:7a        tg3    no   DOWN      N/A    eth3     IF.4        14e4.165f   0000:02:00.1    18:66:da:eb:b6:7b        tg3    no   DOWN      N/A--------------------------------------------------------------------------------------------------------Select an interface:1: eth02: eth13: eth24: eth3Enter index: 1Specify CIDR: 192.168.10.30/24unconfigured> preset ping 192.168.10.1Ping 192.168.10.1 ... OKunconfigured>

Set Interface : bond#

CLI: preset set_bond_interface

unconfigured>preset set_bond_interface--------------------------------------------------------------------------------------------------------     Dev    Label        DevID/Cfg   BusID/Slaves               HWAddr     Driver  Link  State    Speed--------------------------------------------------------------------------------------------------------    eth0     IF.1        14e4.165f   0000:01:00.0    18:66:da:eb:b6:78        tg3   yes     UP    1000F    eth1     IF.2        14e4.165f   0000:01:00.1    18:66:da:eb:b6:79        tg3   yes   DOWN    1000F    eth2     IF.3        14e4.165f   0000:02:00.0    18:66:da:eb:b6:7a        tg3    no   DOWN      N/A    eth3     IF.4        14e4.165f   0000:02:00.1    18:66:da:eb:b6:7b        tg3    no   DOWN      N/A--------------------------------------------------------------------------------------------------------Specify bond name: mgmtSpecify bond slaves (e.g. ethX,ethY): eth0,eth1Specify CIDR: 192.168.10.30/24unconfigured> preset ping 192.168.10.1Ping 192.168.10.1 ... OKunconfigured>

Set Interface : vlan#

CLI: preset set_vlan_interface

unconfigured>preset set_vlan_interface--------------------------------------------------------------------------------------------------------     Dev    Label        DevID/Cfg   BusID/Slaves               HWAddr     Driver  Link  State    Speed--------------------------------------------------------------------------------------------------------    eth0     IF.1        14e4.165f   0000:01:00.0    18:66:da:eb:b6:78        tg3   yes     UP    1000F    eth1     IF.2        14e4.165f   0000:01:00.1    18:66:da:eb:b6:79        tg3   yes     UP    1000F    eth2     IF.3        14e4.165f   0000:02:00.0    18:66:da:eb:b6:7a        tg3    no   DOWN      N/A    eth3     IF.4        14e4.165f   0000:02:00.1    18:66:da:eb:b6:7b        tg3    no   DOWN      N/A    mgmt     mgmt    fast,layer3+4      eth0,eth1    18:66:da:eb:b6:78    802.3ad   yes     UP    2000F--------------------------------------------------------------------------------------------------------Specify interface name: mgmtInput VLAN ID (1-4095): 100Specify CIDR: 192.168.10.60/24unconfigured> preset ping 192.168.10.1Ping 192.168.10.1 ... OKunconfigured>

Unset the Interface#

CLI: preset clear_interface

unconfigured>preset clear_interface--------------------------------------------------------------------------------------------------------     Dev    Label        DevID/Cfg   BusID/Slaves               HWAddr     Driver  Link  State    Speed--------------------------------------------------------------------------------------------------------    eth0     IF.1        14e4.165f   0000:01:00.0    18:66:da:eb:b6:78        tg3   yes     UP    1000F    eth1     IF.2        14e4.165f   0000:01:00.1    18:66:da:eb:b6:79        tg3   yes     UP    1000F    eth2     IF.3        14e4.165f   0000:02:00.0    18:66:da:eb:b6:7a        tg3    no   DOWN      N/A    eth3     IF.4        14e4.165f   0000:02:00.1    18:66:da:eb:b6:7b        tg3    no   DOWN      N/A    mgmt     mgmt    fast,layer3+4      eth0,eth1    18:66:da:eb:b6:78    802.3ad   yes     UP    2000F--------------------------------------------------------------------------------------------------------Select interface type:1: eth2: bond3: vlanEnter index: 3Specify interface name: mgmt.100unconfigured>
Last updated on by Roy Tan