Overview
Using commands on the console, you can change the IP address of the Nasuni Edge Appliance. For example, you might want to change the IP address if you do not want to use the initial default IP address, or if the current IP address is not valid. Also, if you make an entry error when setting network parameters, you can correct it using the IP address configuration commands in this section.
You can also use console commands to change network device and system parameters, change static IP address, enable DHCP networking, and view the MAC Address for the Nasuni Edge Appliance Hardware Appliance.
Using console commands
Console commands enable you to obtain information about the network configuration, and modify values of the network configuration.
To access console commands, follow these steps:
Access the console for the Nasuni Edge Appliance. For the Nasuni Edge Appliance hardware appliance, use a keyboard and monitor attached to the hardware appliance. For the Nasuni Edge Appliance virtual machine, use the virtual machine console window. The console prompt appears.
Figure A-1: Console prompt.
Press Enter to access the Service menu. The login prompt appears. Enter the username and password. The login username is service, and the default password is
service
. The Service Menu appears.Figure A-2: Service Menu.
Note: For security, use the
changepassword
command to change the password for the service console.To see a list of available commands, enter
help
at the prompt. To see details about each command, enterhelp <command>
.Figure A-3: List of available commands.
To access commands to change the network configuration, enter
editnetwork
at the prompt. Thenetwork
prompt appears.Figure A-4: Network prompt.
To see a list of available editnetwork commands, enter help at the prompt. To see details about each editnetwork command, enter
help <command>
.Figure A-5: List of available editnetwork commands.
To exit the editnetwork commands, enter
close
.To exit the console commands, enter quit.
Important: After making any network changes, you must use the Nasuni Edge Appliance to enter those settings so that the Nasuni Edge Appliance is consistent with the platform. This applies to all network changes.
Changing network device and system parameters
You can use console commands to change network device and system parameters such as the network device IP address, netmask, and MTU, as well as the system hostname, default gateway, DNS servers, and search domains.
Important: After making any changes, you must use the Nasuni Edge Appliance to enter those settings so that the Nasuni Edge Appliance is consistent with the platform. This applies to all changes.
To change network device and system parameters at the console, follow these steps:
Access the console for the Nasuni Edge Appliance. For the Nasuni Edge Appliance hardware appliance, use a keyboard and monitor attached to the hardware appliance. For the Nasuni Edge Appliance virtual machine, use the virtual machine console window. The console prompt appears.
Figure A-6: Console prompt.
Press Enter to access the Service menu. The login prompt appears. Enter the username and password. The login username is
service
, and the default password isservice
. The Service Menu appears.Figure A-7: Service Menu.
Enter
editnetwork
at the prompt. Thenetwork
prompt appears.Figure A-8: Network prompt.
To use DHCP settings for the network device and the system, enter the following command:
setall dhcp
Press Enter. The setall dhcp command runs:
Figure A-9: setall dhcp command.
The network device and the system use DHCP settings. Continue with step 6 on page 74.
To use static settings for the network device and the system, enter the following command:
setall static
Press Enter. The setall static command runs:
Figure A-10: setall static command.
To change the IP address, enter a new IP address and press Enter. To leave the current IP address unchanged, press Enter.
To change the netmask, enter a netmask and press Enter. To leave the current netmask unchanged, press Enter.
To change the MTU, enter an MTU and press Enter. To leave the current MTU unchanged, press Enter.
The maximum transmission unit (MTU) is the size (in bytes) of the largest protocol data unit that the layer can pass onwards. A larger MTU brings greater efficiency, because each packet carries more user data while protocol overheads, such as headers, remain fixed; the resulting higher efficiency means a slight improvement in the bulk protocol throughput. A larger MTU also means processing fewer packets for the same amount of data. However, large packets can occupy a slow link for some time, causing greater delays to following packets, and increasing lag and minimum latency.
To change any of the above values, enter yes, then use step a, step b, and step c to change the values.
Alternatively, to leave the values unchanged, enter No or press Enter.
To change the hostname, enter a new hostname and press Enter. To leave the current hostname unchanged, press Enter.
To change the default gateway, enter a default gateway and press Enter. To leave the current default gateway unchanged, press Enter.
To change the DNS server, enter one or two DNS servers separated by spaces and press Enter. To leave the current DNS server unchanged, press Enter.
To change the search domain, enter one or more search domains separated by spaces and press Enter. To leave the current search domain unchanged, press Enter.
To change any of the above values, enter yes, then use step e, step f, step g, and step h to change the values.
Alternatively, to leave the values unchanged, enter No.
To exit the editnetwork commands, enter
close
.On the Nasuni Edge Appliance, enter any changed settings so that the Nasuni Edge Appliance is consistent with the platform.
Changing static IP address and other network parameters
You can use console commands to change network parameters such as the static IP address, netmask, and MTU, as well as the hostname, default gateway, DNS servers, and search domains.
Important: After making any changes, you must use the Nasuni Edge Appliance to enter those settings so that the Nasuni Edge Appliance is consistent with the platform. This applies to all changes.
To change the static IP address and other network parameters at the console, follow these steps:
Access the console for the Nasuni Edge Appliance. For the Nasuni Edge Appliance hardware appliance, use a keyboard and monitor attached to the hardware appliance. For the Nasuni Edge Appliance virtual machine, use the virtual machine console window. The console prompt appears.
Figure A-11: Console prompt.
Press Enter to access the Service menu. The login prompt appears. Enter the username and password. The login username is
service
, and the default password isservice
. The Service Menu appears.Figure A-12: Service Menu.
Enter
editnetwork
at the prompt. Thenetwork
prompt appears.Figure A-13: Network prompt.
Enter the following command:
setaddr static
Press Enter. The setaddr static command runs:
Figure A-14: setaddr static command.
To change the IP address, enter a new IP address and press Enter. To leave the current IP address unchanged, press Enter.
To change the netmask, enter a netmask and press Enter. To leave the current netmask unchanged, press Enter.
To change the MTU, enter an MTU and press Enter. To leave the current MTU unchanged, press Enter.
The maximum transmission unit (MTU) is the size (in bytes) of the largest protocol data unit that the layer can pass onwards. A larger MTU brings greater efficiency, because each packet carries more user data while protocol overheads, such as headers, remain fixed; the resulting higher efficiency means a slight improvement in the bulk protocol throughput. A larger MTU also means processing fewer packets for the same amount of data. However, large packets can occupy a slow link for some time, causing greater delays to following packets, and increasing lag and minimum latency.
To change any of the above values, enter yes, then use step 5, step 6, and step 7 to change the values.
Alternatively, to leave the values unchanged, enter No or press Enter.
Enter the following command:
setsystem static
Press Enter. The setsystem static command runs:
Figure A-15: setsystem static command.
To change the hostname, enter a new hostname and press Enter. To leave the current hostname unchanged, press Enter.
To change the default gateway, enter a default gateway and press Enter. To leave the current default gateway unchanged, press Enter.
To change the DNS server, enter one or two DNS servers separated by spaces and press Enter. To leave the current DNS server unchanged, press Enter.
To change the search domain, enter one or more search domains separated by spaces and press Enter. To leave the current search domain unchanged, press Enter.
To change any of the above values, enter yes, then use step 10, step 11, step 12, and n to change the values.
Alternatively, to leave the values unchanged, enter No or press Enter.
To save your network parameter values, enter
save
.On the Nasuni Edge Appliance, enter any changed settings so that the Nasuni Edge Appliance is consistent with the platform.
Enabling DHCP Networking
Important: After making any network changes, you must use the Nasuni Edge Appliance to enter those settings so that the Nasuni Edge Appliance is consistent with the platform. This applies to all network changes.
To enable DHCP networking:
Access the console for the Nasuni Edge Appliance. For the Nasuni Edge Appliance hardware appliance, use a keyboard and monitor attached to the hardware appliance. For the Nasuni Edge Appliance virtual machine, use the virtual machine console window. The console prompt appears.
Figure A-16: Console prompt.
Press Enter to access the Service menu. The login prompt appears. Enter the username and password. The login username is
service
, and the default password isservice
. The Service Menu appears.Figure A-17: Service Menu.
Enter
editnetwork
at the prompt. Thenetwork
prompt appears.Figure A-18: Network prompt.
Enter the following command:
setaddr dhcp
Press Enter. The setaddr dhcp command runs.
To save DHCP network parameter values, enter
save
.To exit the console commands, enter
quit
.On the Nasuni Edge Appliance, enter any changed settings so that the Nasuni Edge Appliance is consistent with the platform.
Viewing the MAC Address for the Nasuni Edge Appliance Hardware Appliance
You can view the MAC (media access control) addresses for the network cards in the Nasuni Edge Appliance hardware appliance.
Note: MAC addresses might not display as expected. The MAC address of the bonding device is taken from its first secondary device. This MAC address is then passed to all following secondary devices, and persists, even if the first secondary device is removed, until the bonding device is brought down or reconfigured.
To view the MAC addresses:
On the front panel of the Nasuni Edge Appliance hardware appliance, pull out the plastic slider.
On the top of the slider, the service tag number appears. On the bottom of the slider, the MAC addresses for the network cards appear.
You can also use console commands to view the MAC address.
To view the MAC address, follow these steps:
Access the console for the Nasuni Edge Appliance. For the Nasuni Edge Appliance hardware appliance, use a keyboard and monitor attached to the hardware appliance. For the Nasuni Edge Appliance virtual machine, use the virtual machine console window. The console prompt appears.
Figure A-19: Console prompt.
Press Enter to access the Service menu. The login prompt appears. Enter the username and password. The login username is
service
, and the default password isservice
. The Service Menu appears.Figure A-20: Service Menu.
Enter the following command:
showmac
Press Enter. The showmac command runs.
Figure A-21: showmac command.
You can view the MAC address for each network interface card.
To exit the console commands, enter
quit
.
Setting temporary IP address and temporary gateway
If the Nasuni Edge Appliance UI becomes unavailable, you can use console commands to set a temporary IP address and a temporary gateway in order to gain access to the UI.
The settempgateway
command temporarily overrides the default gateway of the system. If the command is confirmed, the override takes place immediately. Rebooting the system, or changing the network settings, cancels the override.
The settempip
command temporarily overrides the IP address of the specified network interface. If the command is confirmed, the override takes place immediately. Rebooting the system, or changing the network settings, cancels the override.
To set a temporary IP address and a temporary gateway at the console, follow these steps:
Access the console for the Nasuni Edge Appliance. For the Nasuni Edge Appliance hardware appliance, use a keyboard and monitor attached to the hardware appliance. For the Nasuni Edge Appliance virtual machine, use the virtual machine console window. The console prompt appears.
Figure A-22: Console prompt.
Press Enter to access the Service menu. The login prompt appears. Enter the username and password. The login username is
service
, and the default password isservice
. The Service Menu appears.Figure A-23: Service Menu.
Enter
editnetwork
at the prompt. Thenetwork
prompt appears.Figure A-24: Network prompt.
To set a temporary IP address, enter the following command:
settempip
Press Enter. The settempip command runs:
Figure A-25: settempip command.
A list of available devices appears. From the list of available devices, enter the number of the desired device.
Enter a new IP address and press Enter.
Enter a netmask and press Enter.
The IP address of the selected device is changed temporarily to the specified IP address.
If the command is confirmed, the temporary IP address takes effect immediately. Rebooting the system, or changing the network settings, cancels the temporary IP address.To set a temporary gateway, enter the following command:
settempgateway
Press Enter. The settempgateway command runs:
Figure A-26: settempgateway command.
Enter a new IP address for the gateway and press Enter.
The IP address of gateway is changed temporarily to the specified IP address.
If the command is confirmed, the temporary IP address takes effect immediately. Rebooting the system, or changing the network settings, cancels the temporary IP address.DO NOT use the
save
command. Using thesave
command cancels the temporary configuration.To exit the console commands, enter
quit
.