Data Domain — 通过命令行界面 (CLI) 配置物理接口

Shrnutí: 此 kb 旨在提供有关如何通过 Data Domain 上的命令行界面配置物理接口的命令。

Tento článek se vztahuje na Tento článek se nevztahuje na Tento článek není vázán na žádný konkrétní produkt. V tomto článku nejsou uvedeny všechny verze produktu.

Pokyny

如果您刚刚将 Data Domain 移动到新站点,并且想要重新配置所有新站点,也可以运行 config setup 命令。

如果要仅配置网络,则跳过 config setup 命令,并仅使用此 kb 中的 net 命令。 

# config setup

Launch a utility program that prompts you to configure settings for the system, network, filesystem, CIFS, NFS, and licenses. Press Enter to cycle through the selections and confirm any changes when prompted. Choices include Save, Cancel, and Retry.

This command option is unavailable on Retention Lock Compliance systems. Use System Manager to change configuration settings. Role required: admin and limited-admin.
net config 命令允许您在 DD 上配置物理接口。 
 # net config  [type {floating | fixed}]
                {[] [netmask ] | [] |
                [dhcp {yes [ipversion {ipv4|ipv6}]|no}]}
                {[autoneg] | [duplex {full | half} speed {10|100|1000|10000}]}
                [up | down] [mtu { | default}]
                [txqueuelen ]
                                       Configure an Ethernet interface. Create
                                       an alias by giving an address to a new
                                       alias number. Destroy an alias by
                                       giving an address of zero. "Note:
                                       Change of link parameters like speed,
                                       duplex or autoneg on the DD VE is not
                                       supported."

Example # net config ethXx x.x.x.x netmask x.x.x.x 

To clear a interface give a address of zeros. 

Example # net config ethXx 0.0.0.0 


如果您需要首次设置 Data Domain 上的默认网关或将 Data Domain 移至新位置,则可以使用 net route set gateway 命令。

提醒:远程设置默认网关时请小心,因为您可能会失去对 Data Domain 的完全访问权限。当您在 idrac 命令控制台中或直接串行连接到数据中心站点上的 DD 时,最好使用此命令。 
# net route set gateway { | }
                                       Set the default gateway
如果您只需要添加网关,则可以使用 net route add gateway 命令。 
# net route add gateway  [interface ]
                                       Add a default gateway address,
                                       optionally to a specific interface
注: net aggregate 命令对于 dd3300 不可用,因为它不支持仅聚合故障切换。 
 
 # net aggregate add  interfaces 
                [mode {roundrobin |
                balanced hash {xor-L2 | xor-L3L4 | xor-L2L3} |
                lacp hash {xor-L2 | xor-L3L4 | xor-L2L3}
                [rate {fast | slow}]}]
                [up { | default}]
                [down { | default}]
                                       Add slave interfaces to an aggregate
                                       interface. Mode must be given the first
                                       time

 # net aggregate del  interfaces { | all}
                                       Delete network interfaces from an
                                       aggregate interface

 # net aggregate modify 
                [mode {roundrobin |
                balanced hash {xor-L2 |xor-L3L4| xor-L2L3} |
                lacp hash {xor-L2|xor-L3L4|xor-L2L3}
                [rate {fast | slow}]}]
                [up { | default}]
                [down { | default}]
                                       Modify the configuration of an
                                       aggregate interface. Mode must be given
                                       the first time

 # net aggregate show                   Display all aggregate interfaces

 #  net config  [type {floating | fixed}]
                {[] [netmask ] | [] |
                [dhcp {yes [ipversion {ipv4|ipv6}]|no}]}
                {[autoneg] | [duplex {full | half} speed {10|100|1000|10000}]}
                [up | down] [mtu { | default}]
                [txqueuelen ]
                                       Configure an Ethernet interface. Create
                                       an alias by giving an address to a new
                                       alias number. Destroy an alias by
                                       giving an address of zero. "Note:
                                       Change of link parameters like speed,
                                       duplex or autoneg on the DD VE is not
                                       supported."

 # net config addresses [type {floating | fixed}]
                                       Convert IP addresses to another type.

 # net create interface { | }
                {vlan  | alias }
                                       Create a VLAN interface or an IP Alias
                                       Interface

 # net create virtual veth          Create a virtual interface

 # net destroy { |  |  }
                                       Destroy a VLAN or IP Alias or Virtual
                                       interface

 # net disable                  Disable an Ethernet interface

 # net enable                   Enable an Ethernet interface

 # net failover add  interfaces 
                [primary ]
                [up { | default}]
                [down { | default}]
                                       Add network interfaces to a failover
                                       interface

 # net failover del  interfaces { | all}
                                       Delete network interfaces from a
                                       failover interface

 # net failover modify  [primary { | none}]
                [up { | default}]
                [down { | default}]
                                       Modify the primary network interface
                                       for a failover interface

 # net failover show                    Display all failover interfaces

 # net modify  bonding {aggregate | failover}
                                       Change the bond mode between failover
                                       and aggregate

 # net ping { | |  [ipversion {ipv4 | ipv6}]}
                [broadcast] [count ] [interface ]
                [packet-size ] [path-mtu {do | dont | want}]
                [pattern ] [numeric] [verbose]
                                       Ping a host. Param 'broadcast' is for

 # net show all                         Display all networking information

 # net show config []           Display the configuration for the
                                                             Ethernet interface

 # net show hardware                    Display Ethernet port information

 # net show hostname [type {local|ha-system}]
                                       Display the hostname

 # net show settings                    Display Ethernet interface settings

 # net show stats [[ipversion {ipv4 | ipv6}] [all | listening] [detailed] |
                [ipversion {ipv4 | ipv6}] route | interfaces |
                [ipversion {ipv4 | ipv6}] statistics]
                                       Display network statistics

 # net troubleshooting duplicate-ip     Detect duplicate IP in network





 

 

Další informace

https://www.dell.com/support/kbdoc/en-us/000013760  Data Domain — 将 Data Domain 从一个站点移动到另一个
站点https://www.dell.com/support/kbdoc/en-us/000209434 使用图形用户界面 (GUI) 配置物理接口

Dotčené produkty

Data Domain
Vlastnosti článku
Číslo článku: 000213048
Typ článku: How To
Poslední úprava: 13 říj 2023
Verze:  2
Najděte odpovědi na své otázky od ostatních uživatelů společnosti Dell
Služby podpory
Zkontrolujte, zda se na vaše zařízení vztahují služby podpory.