Description
Filters TCP/IP packet information based on a specific port type. In this example, by specifying an OpenStorage Technology (OST) port type using the DR Series system CLI network --tcpdump --port ost command.
Syntax
network --tcpdump --port ost
The DR Series system provides the --iperf set of DR Series system CLI commands (--iperf_client and --iperf_server) that let you test network performance between any client and server on the network that you designate. In addition to testing the network performance between these two designated endpoints, this set of --iperf commands also let you test if the firewall allows a connection between these two points. You can filter the network performance test by using the following options:
- --server, by the IP address or host name that you specify
- --port, by the port number that you specify
- --window_size, by the number of bytes, Kilobytes or Megabytes (KB/MB), that you specify
- --interval, by the number of seconds that you specify
- --time, by the number of seconds that you specify
|
NOTE: There are two conditions you must meet: 1) you must use ports with the --iperf_client and --iperf_server commands that are not in use by any other system operations (if you do not define specific ports, the --iperf_client and --iperf_server commands default to port 5001), and 2) these commands must be issued simultaneously. |
Description
Tests network performance between a client and server using a designated port (use this command at the same time you use the other --iperf command).
network --iperf_client --server acme-sw-02 --port 5001 --window_size 7KB --interval 30 --time 60
Result
-----------------------------------------------------------
Client connecting to acme-sw-02, TCP port 5001
TCP window size: 14.0 KByte (WARNING: requested 7.00 KByte)
-----------------------------------------------------------
[ 6] local 10.20.21.23 port 5812 connected with 10.20.20.3 port 5001
[ ID] Interval Transfer Bandwidth
[ 6] 0.0-30.0 sec 193 MBytes 54.0 Mbits/sec
[ 6] 30.0-60.0 sec 205 MBytes 57.4 Mbits/sec
[ 6] 0.0-60.0 sec 398 MBytes 55.7 Mbits/sec
The DR Series system provides the --iperf set of DR Series system CLI commands (--iperf_client and --iperf_server) that let you test network performance between any client and server on the network that you designate. In addition to testing the network performance between these two designated endpoints, this set of --iperf commands also let you test if the firewall allows a connection between these two points. You can filter the network performance test by using the following options:
- --port, by the port number that you specify
- --window_size, by the number of bytes, Kilobytes (KB) or Megabytes (MB) that you specify
|
NOTE: There are two conditions you must meet: 1) you must use ports with the --iperf_client and --iperf_server commands that are not in use by any other system operations (if you do not define specific ports, the --iperf_client and --iperf_server commands default to port 5001), and 2) these commands must be issued simultaneously. |
Description
Tests network performance between a client and server using a designated port (use this command at the same time you use the other --iperf command).
Syntax
network --iperf_server --port 5001 --window_size 7KB
Result
-----------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 14.0 KByte (WARNING: requested 7.00 KByte)
-----------------------------------------------------------
[ 7] local 10.20.21.23 port 5812 connected with 10.20.20.3 port 5001
[ ID] Interval Transfer Bandwidth
[ 7] 0.0-60.0 sec 398 MBytes 55.7 Mbits/sec
Description
Displays the list of network-related options that can be used as a reference when using the DR Series system CLI.
Result
network --show [--bondif <bond0,bond1,...,bondN>]
[--nwif <eth0,eth1,...,ethN>]
[--hosts]
[--routes]
[--interface <bondN|ethN>]
network --delete [--bondif <bond0,bond1,...,bondN>]
[--member <eth0,eth1,...,ethN>]
[--nwif <eth0,eth1,...,ethN>]
network --restart
network --setdhcp [--bondif <bondN>]
[--nwif <ethN>]
network --setstatic_ip [--bondif <bondN>]
[--nwif <ethN>]
--ip <IPv4/IPv6 address>
--netmask <netmask>
[--gateway <IPv4/IPv6 address>]
network --create_bond --bondif <bondN>
[--dhcp]
[--static]
--nwif <eth0,eth1,...,ethN>
[--mode < ALB | 802.3ad >]
[--name < DNS name >]
[--mtu <Supported MTU range 512 - 9000>]
[--ip <IPv4/IPv6 address>]
[--netmask <netmask>]
[--gateway <IPv4/IPv6 address>]
[--restart]
network --create_eth --nwif <ethN>
[--dhcp]
[--static]
[--name < DNS name >]
[--mtu <Supported MTU range 512 - 9000>]
[--ip <IPv4/IPv6 address>]
[--netmask <netmask>]
[--restart]
network --add_member --bondif <bondN>
--nwif <eth0,eth1,...,ethN>
network --setdns [--suffix <dns suffix>]
[--primary <IPv4/IPv6 address>]
[--secondary <IPv4/IPv6 address>]
network --setbonding [--bondif <bondN>]
[--mode < ALB | 802.3ad >]
[--mtu <Supported MTU range 512 - 9000>]
network --update [--bondif <bondN>]
[--nwif <ethN>]
[--mode < ALB | 802.3ad >]
[--name < DNS name >]
[--mtu <Supported MTU range 512 - 9000>]
network --factory_reset [--auto_bonding_speed <1G|10G>]
network --host [--add] [--ip <IPv4/IPv6 address>] [--name <host name>]
[--delete] [--ip <IPv4/IPv6 address>] [--name <host name>]
network --route [--add] [--network <destination networks>] [--netmask <netmask>] [--gateway <gateway addresses>] [--interface <bondN|ethN>]
[--delete] [--network <destination networks>] [--netmask <netmask>] [--gateway <gateway addresses>] [--interface <bondN|ethN>]
network --nslookup --destination <ip address | hostname>
network --traceroute --destination <ip address | hostname>
[--interface <bondN|ethN>]
network --ping --destination <ip address | hostname>
[--tries <number>]
[--size <number>]
[--interface <bondN|ethN>]
network --blink --nwif <ethN>
network --enable [--bondif <bond0,bond1,...,bondN>]
[--nwif <eth0,eth1,...,ethN>]
network --disable [--bondif <bond0,bond1,...,bondN>]
[--nwif <eth0,eth1,...,ethN>]
network --troubleshoot [--links]
[--gateway]
[--ntp]
[--dns]
[--active_domain]
[--nis]
[--clients]
[--port_mapper]
[--network_config]
[--show_active <NFS|CIFS|OST|RDS|NDMP|ISCSI|FC>]
[--interface <bondN|ethN>]
network --tcpdump [--port <NFS|Windows|Replication|OST|RDA>]
[--pkt_size <128 - 32768>]
[--file_size <0 - 100>]
[--stop]
[--host <ip address list>]
[--interface <bondN|ethN>]
network --iperf_client --server <ip address | hostname>
[--port <number>]
[--window_size <num bytes [KB/MB]>]
[--interval <num seconds>]
[--time <num seconds>]
network --iperf_server [--port <number>]
[--window_size <num bytes [KB/MB]>]
network --help
network <command> <command-arguments>
<command> can be one of:
--show Display network settings.
--delete Delete network interfaces(s).
--restart Restarts networking.
--setdhcp Configures bond interface to use DHCP.
--setstatic_ip Assigns a static IP address to the bond interface.
--create_bond Create bond interfaces for the machine.
--create_eth Create eth interfaces for the machine.
--add_member Add an interface to an existing bond.
--setdns Configures the Domain Name Servers.
--setbonding Updates bonding mode or MTU information.
--update Updates bonding and individual interface information.
--factory_reset Reset networking to factory configuration.
--host Manage local hosts.
--route Manage local routes.
--nslookup Looks up the IP address/hostname.
--traceroute Displays the packets route to network host.
--ping Sends ICMP ECHO_REQUEST to destination host.
--blink Blink LED on the specific ethernet device.
--enable Start the specific ethernet device(s) on restart.
--disable Don't start the specific ethernet device(s) on restart.
--troubleshoot Troubleshoots network issues.
--tcpdump Capture network traffic.
--iperf_client Run iperf (Network Performance) in client mode.
--iperf_server Run iperf (Network Performance) in server mode.
For command-specific help, please type network --help <command>
eg:
network --help show