Network Commands
These commands are available for the Network feature.
Note: For a list of all the Appliance Controller commands, see the Command Index.
As with other commands, enter the base net
command, and you will be shown all current net
commands:
Example:
> net
Showing commands that start with 'net':
net nslookup <hostname | ipaddr>
net ping [<ping args> ...]
net show config [all]
net show hostname
net show routes
net show status
net tcpdump start [<tcpdump argument> ...]
net tcpdump stop
- Log in to the Appliance Controller CLI.
- Enter:
The parameters are:
|
The host name or IP address to retrieve server, address, and name details from. |
Output:
Server: 10.65.165.1 Address: 10.65.167.1#55 Name: int-x15.mdh.quantum.com Address: 10.65.165.127
The parameters are:
|
The host name or IP address to ping. |
Example output:
PING 192.167.15.121 (192.167.15.121) 56(84) bytes of data. 64 bytes from 192.167.15.121: icmp_seq=1 ttl=64 time=0.049 ms 64 bytes from 192.167.15.121: icmp_seq=2 ttl=64 time=0.037 ms 64 bytes from 192.167.15.121: icmp_seq=3 ttl=64 time=0.046 ms 64 bytes from 192.167.15.121: icmp_seq=4 ttl=64 time=0.039 ms 64 bytes from 192.167.15.121: icmp_seq=5 ttl=64 time=0.032 ms --- 192.167.15.121 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4000ms rtt min/avg/max/mdev = 0.032/0.040/0.049/0.009 ms
- Log in to the Appliance Controller CLI.
- At the prompt, enter:
Example output:
Interfaces with associated IP addresses: bond0:2 24:6e:96:bc:e8:36 192.167.15.121 bond0:nas 24:6e:96:bc:e8:36 192.167.15.123 em2 24:6e:96:bc:e8:35 10.65.167.124 em2:ha 24:6e:96:bc:e8:35 10.65.167.173 IP addresses and associated info: 192.167.15.121: Interface: bond0:2 Netmask: 255.255.255.0 ID: nas_ip 192.167.15.123: Interface: bond0:nas Netmask: 255.255.255.0 ID: secondary, nas_master_vip 10.65.167.124: Interface: em2 Netmask: 255.255.224.0 10.65.167.173: Interface: em2:ha Netmask: 255.255.224.0 ID: secondary, stornext_ha_vip
At the prompt, enter:
Example output:
Hostname: int-x14a
At the prompt, enter:
Example output:
Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 10.65.160.1 0.0.0.0 UG 0 0 0 em2 10.17.21.0 0.0.0.0 255.255.255.0 U 0 0 0 em1 10.65.160.0 0.0.0.0 255.255.224.0 U 0 0 0 em2 10.100.1.0 0.0.0.0 255.255.255.0 U 0 0 0 p3p1 10.100.2.0 0.0.0.0 255.255.255.0 U 0 0 0 p3p2 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 em1 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 em1 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 em2 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 p3p1 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 p3p2 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 bond0 172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0 192.167.15.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0
At the prompt, enter:
Example output:
Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 1 Qarray1a:50244 Qarray1a:33777 FIN_WAIT1 tcp 0 0 Qarray1a:50082 Qarray1a:33777 TIME_WAIT tcp 0 0 int-x14a.mdh.quan:44098 int-x14a.mdh.quan:42924 TIME_WAIT tcp6 0 0 int-x14a.mdh.quant:5189 int-x14b.mdh.quan:54182 TIME_WAIT tcp6 0 0 Qarray1a:vpa Qarray1a:33440 TIME_WAIT tcp6 0 0 int-x14a.mdh.quan:43513 int-x14b.mdh.quan:36078 ESTABLISHED udp 0 0 Qarray1a:45851 Qarray1a:45851 ESTABLISHED
Active UNIX domain sockets (w/o servers) Proto RefCnt Flags Type State I-Node Path unix 3 [ ] DGRAM 12319 /run/systemd/notify unix 2 [ ] DGRAM 12321 /run/systemd/cgroups-agent unix 6 [ ] DGRAM 12333 /run/systemd/journal/socket unix 40 [ ] DGRAM 12335 /dev/log unix 3 [ ] STREAM CONNECTED 277275583 /usr/cvfs/qustats/.qustat_pub_sock unix 3 [ ] STREAM CONNECTED 277315011 /usr/adic/mysql/config/mysql.sock unix 3 [ ] STREAM CONNECTED 277283558 /usr/adic/mysql/config/mysql.sock
At the prompt, enter:
Example output:
Started a tcpdump with output to file: /var/log/tcpdump.2021-01-08.18-28.log
At the prompt, enter:
Example output:
Stopped the tcpdump command writing to file: /var/log/tcpdump.2021-01-08.18-28.log