Preset
CubeOS network preset CLI
Previously known as diagnostic
Login to admin CLI and select Advanced option
unconfigured login: admin
Password:
Last login: Tue Jul 12 02:14:07 on tty1
Welcome to the Cube Appliance
First Time Setup Options:
1: Wizard
2: Advanced
Enter index: 2
Welcome to the Cube Appliance
Enter "help" for a list of available commands
License files are not installed
unconfigured>
Check Network Interface status
CLI: preset show_interface all
unconfigured> preset show_interface all
Press 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: eth0
2: eth1
3: eth2
4: eth3
Enter index: 1
Specify CIDR: 192.168.10.30/24
unconfigured> preset ping 192.168.10.1
Ping 192.168.10.1 ... OK
unconfigured>
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: mgmt
Specify bond slaves (e.g. ethX,ethY): eth0,eth1
Specify CIDR: 192.168.10.30/24
unconfigured> preset ping 192.168.10.1
Ping 192.168.10.1 ... OK
unconfigured>
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: mgmt
Input VLAN ID (1-4095): 100
Specify CIDR: 192.168.10.60/24
unconfigured> preset ping 192.168.10.1
Ping 192.168.10.1 ... OK
unconfigured>
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: eth
2: bond
3: vlan
Enter index: 3
Specify interface name: mgmt.100
unconfigured>