立即与支持人员聊天
与支持团队交流

DR Series Software 4.0.4 - Command Line Reference Guide

Introduction to the DR Series System Command Line Reference Guide Introducing the DR Series system Managing the DR Series system
Alerts Commands Authenticate Commands Network
Network Command Usage network --show network --delete network --restart network --setdhcp network --setstatic_ip [--bondif <bondN>] [--nwif <ethN>] --ip <IPv4/IPv6 address not already in use> --netmask <netmask> [--gateway <IPv4/IPv6 address>] network --create_bond network --create_eth network --add_member 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 network --factory_reset network --host network --route network --nslookup --destination <ip address | hostname> network --traceroute --destination <ip address | hostname> network --ping --destination <ip address | hostname> [--tries <number>] [--size <number>] [--interface <bondN | ethN>] network --blink network --enable network --disable=GUID-925B2D94-D583-4966-ABDE-8E3FE14B59FC=1=en-us= 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 --troubleshoot --gateway --interface <bondN | ethN> network --troubleshoot [--show_active <NFS| CIFS|OST|NDMP|ISCSI|RDS>] network --tcpdump [--port <nfs | windows | replication | ost | rds>] [--pkt_size <128 - 32768>] [--file_size <0 - 100>] [--stop] [--host <ip address list>] [--interface <bondN | ethN>] network --tcpdump [--pkt_size <128 - 32768>] network --tcpdump [--file_size <0 - 100>] network --tcpdump [--host <ip address list>] network --tcpdump [--port <nfs | windows | replication | ost | rds>] 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
OST RDA Stats Storage Group commands System
System Command Usage system --show [--config] system --show [--hardware] system --show [--storage] [--type <boot | internal | external>] [--service_tag <service tag>] system --show [--storage] system --show [--license] [--verbose] system --show [--ntp] system --show [--version] system --show [--timezones [Region]] system --show [--upgradefile] system --show [--upgradehistory] system --show [--marker] system --show [--replication_traffic] system --show [--opdup_traffic] system --show [--backup_traffic] system --show [--mgmt_traffic] system --init system --init --secure_erase <1–pass/3-passes/7-passes> system --reboot system --shutdown system --upgrade system --license [--validate] [--add] system --setname --name <node_name> system --setdate [--date <date>] [--timezone <Region/Zone>] system --setntp [--add <server name>] system --setntp [--delete <server name>] system --setntp [--enable] system --setntp [--disable] system --setntp [--adjust_time] system --hybrid_replication [--enable][--disable][--status] system --rdairgap [--enable][--disable][--set_retention_period <0 days to 365 days>][--get_retention_period][--open][--close][--status] system --rdairgap_schedule [--start_time <HH:MM>][--end_time <HH:MM>][--remove] system --setlogin system --telnet [--enable | --disable] system --datacheck --enable system --datacheck --disable system --datacheck --throttle system --marker [--enable] [--disable] system --verify_on_read [--enable] [--disable] system --add_storage --enclosure <service tag> system --storage [--set_usage_alert <70% - 90%>] system --storage [--blink] [--type <internal | external>] [--service_tag <service tag>] [--disk <slot num>] system --storage [--unblink] [--type <internal | external>] [--service_tag <service tag>] [--disk <slot num> system --mgmt_traffic system --backup_traffic system --replication_traffic system --opdup_traffic system --help
User Virtual Machine
Maintaining the DR Series System
Diagnostics Maintenance
Maintenance Command Usage maintenance --filesystem [--start_scan [verify_data | verify_rda_metadata | verify_metadata] [--storage_group <name>] maintenance --filesystem [--stop_scan] maintenance --filesystem [--scan_status] maintenance --filesystem [--scan_report [verbose]] maintenance --filesystem [--repair_status [verbose]] maintenance --filesystem [--repair_history [verbose]] maintenance --filesystem [--scan_restart [verify_data | verify_rda_metadata | verify_metadata]] maintenance --filesystem [--repair_now] maintenance --filesystem [--reclaim_space] maintenance --filesystem [--clear_quarantine] maintenance --filesystem [--clear_quarantine] maintenance --filesystem --show_throughput maintenance --configuration [--backup] maintenance --configuration [--restore] maintenance --configuration [--reinit_dictionary] maintenance --configuration [--reset_web_certificate] maintenance --configuration --enable_sha256_web_certificate maintenance --hardware [--reinit_nvram] maintenance --hardware [--restore_hw_db] maintenance --hardware [--motherboard_replaced] maintenance --disk [--make_standby [slot num]] [--type <internal | external-<num> | service tag>] --clear_foreign] maintenance --remote_access [--show] maintenance --remote_access [--enable] maintenance --remote_access [--racreset] maintenance --remote_access [--static_ip] [--ip <IPv4/IPv6 address>] [--netmask <netmask>] [--gateway <IPv4/IPv6 address>] [--device <lom1|lom2|lom3|lom4>] maintenance --remote access [--disable] maintenance --vdisk --check_consistency --type <boot|internal|external> [--service_tag <service tag>] maintenance --help
Managing DR Series System Storage Operations
System Storage Operation Commands Connection Container VTL NDMP iSCSI FC Replication Seed Schedule
Data Integrity Checking Additional Linux Commands About us

network --disable=GUID-925B2D94-D583-4966-ABDE-8E3FE14B59FC=1=en-us=

Description

The command does not start the specific ethernet device(s) on restart.

Syntax

 network --disable [--bondif <bond0,bond1,...,bondN>]
        	[--nwif <eth0,eth1,...,ethN>]


       		--bondif   Bond interface(s) to delete.
        	--nwif     Eth interface(s) to dele

NOTE: You cannot disable eth interfaces which are part of a bond.

For example, to disable eth2, run the command: network --disable --nwif eth2

Result

Interface device operation successful. Please restart networking for the changes to take effect.

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>]

Isolates a variety of networking issues that you might encounter while running a DR Series system. When you can isolate a problem or issue to a specific cause, you can better understand and resolve it. The DR Series system CLI network --troubleshoot command and its options allow you to perform basic troubleshooting checks on the state of a DR Series system.

Description

NOTE: When entering the network --troubleshoot command string, the DR Series system checks and displays the current state for all of the --troubleshoot options. To limit the type of network troubleshooting check you want to display, define the command string to a specified check (or checks). For example, using network --troubleshoot --gateway, displays the status of the gateway for a DR Series system (for details, see network --troubleshoot [--gateway]).

Syntax

network --troubleshoot

Result

*** Checking link status for each interface
     bond0 : Link detected: yes
      eth0 : Link detected: yes
      eth1 : Link detected: yes
      eth2 : Link detected: yes
      eth3 : Link detected: yes
        lo : Link detected: yes

*** Getting local IP addresses
bond0 addr:10.25.20.23 Mask:255.255.245.0

*** Getting bond information
Ethernet Channel Bonding Driver: v3.4.0 (October 7, 2008)

Bonding Mode: transmit load balancing
Primary Slave: None
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:50:56:93:59:7a

Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:50:56:93:59:7b

Slave Interface: eth2
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:50:56:93:59:7c

Slave Interface: eth3
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:50:56:93:59:7d

*** Getting Gateway status
Gateway IP address is 10.25.20.1
Route to the gateway is up and uses bond0 interface.
Pinging gateway 10.25.20.1
  Ping successful. No packet loss.
  RTT timings min/avg/max/mdev = 0.332/1.612/3.742/1.274 ms

*** Checking NTP configuration
Network time is enabled.
System is configured with following NTP servers:
0.centos.pool.ntp.org
1.centos.pool.ntp.org
2.centos.pool.ntp.org

Checking if NTP servers are reachable...
Pinging 0.centos.pool.ntp.org
  Ping successful. No packet loss.
  RTT timings min/avg/max/mdev = 75.696/76.042/76.541/0.506 ms
Pinging 1.centos.pool.ntp.org
  Ping successful. No packet loss.
  RTT timings min/avg/max/mdev = 49.150/50.098/52.292/1.212 ms
Pinging 2.centos.pool.ntp.org
  Ping successful. No packet loss.
  RTT timings min/avg/max/mdev = 77.854/77.999/78.075/0.085 ms

*** Checking DNS configuration
DNS Suffix: storage.local
Primary Nameserver: 10.25.19.5
Secondary Nameserver: 10.25.19.6
Pinging 10.25.19.5
  Ping successful. No packet loss.
  RTT timings min/avg/max/mdev = 0.253/0.451/1.123/0.336 ms
Pinging 10.25.19.6
  Ping successful. No packet loss.
  RTT timings min/avg/max/mdev = 0.239/0.537/1.149/0.326 ms

*** Checking Active Directory configuration
AD configuration: This node has not joined any domain.

*** Checking NIS configuration
NIS domain configuration not found.

*** Checking NFS and  clients configured for various containers
NFS/ clients configured for containers:
-no specific clients-
*** Checking if there is another h with same name
Local system name: acme-01.storage.local
Local system IP: 10.25.20.23
Pinging acme-01.storage.local 3 times
Got IP address as 10.25.20.23
Got IP address as 10.25.20.23
Got IP address as 10.25.20.23
No duplicate hname found on the network.

*** Checking portmapper
portmap (pid 3716) is running
Checking ports currently being used by portmapper
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper

network --troubleshoot --gateway --interface <bondN | ethN>

Description

Performs a basic troubleshooting on the current state of the gateway connected to the DR Series system.

Syntax

network --troubleshoot --gateway --interface bond0

Result

*** Getting Gateway status
Gateway IP address is 10.250.240.1
Route to the gateway is up and uses bond0 interface.

Pinging gateway 10.250.240.1
  Ping successful. No packet loss.
  RTT timings min/avg/max/mdev = 0.261/1.907/5.244/1.830 ms

network --troubleshoot [--show_active <NFS| CIFS|OST|NDMP|ISCSI|RDS>]

Description

Displays the current network activity for NFS,, , , , or RDS clients on a DR Series system (the example that follows shows).

Syntax

network --troubleshoot --show_active

Result

tcp	 	0		0		10.25.19.10:45	10.25.20.82:52596	 		ESTABLISHED
tcp		0 	0 	10.25.19.10:45 	10.250.201.68:60163 	ESTABLISHED
tcp 	0		0 	10.25.19.10:45 	10.250.208.235:29587 	ESTABLISHED
tcp		0 	0 	10.25.19.10:45 	10.250.209.210:13828 	ESTABLISHED
相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级