Running Storage Gateway commands on the local console
The AWS Storage Gateway console helps provide a secure environment for configuring and diagnosing issues with your gateway. Using the console commands, you can perform maintenance tasks such as saving routing tables or connecting to Support.
To run a configuration or diagnostic command
-
Log in to your gateway's local console. For instructions, see Logging In to Your Amazon EC2 Gateway Local Console.
-
From the AWS Appliance Activation - Configuration main menu, enter the corresponding numeral to select Gateway Console.
-
From the gateway console command prompt, enter
h
.The console displays the AVAILABLE COMMANDS menu, which lists the available commands:
Command Function dig Collect output from dig for DNS troubleshooting. exit Return to Configuration menu. h Display available command list. ifconfig View or configure network interfaces. Note
We recommend configuring network or IP settings using the Storage Gateway console or the dedicated local console menu option.
ip Show / manipulate routing, devices, and tunnels. Note
We recommend configuring network or IP settings using the Storage Gateway console or the dedicated local console menu option.
iptables Administration tool for IPv4 packet filtering and NAT. ncport Test connectivity to a specific TCP port on a network. nping Collect output from nping for network troubleshooting. open-support-channel Connect to AWS Support. save-iptables Persist IP tables. save-routing-table Save newly added routing table entry. sslcheck Check SSL validity for network troubleshooting. tcptraceroute Collect traceroute output on TCP traffic to a destination. -
From the gateway console command prompt, enter the corresponding command for the function you want to use, and follow the instructions.
To learn about a command, enter the command name followed by the -h
option, for example: sslcheck -h
.