手动配置 SP/BMC 网络
如果您没有 SP 的自动网络配置设置,必须手动配置节点的 SP 网络才能使用 IP 地址访问 SP。
开始之前
如果要对 SP 使用 IPv6 连接,必须事先已为 ONTAP 配置并启用 IPv6。network options ipv6 命令可管理 ONTAP 的 IPv6 设置。关于本任务
注
此任务应用于 SP 和 BMC。
可以将 SP 配置为使用 IPv4 和/或 IPv6。SP IPv4 配置支持静态和 DHCP 寻址,而 SP IPv6 配置仅支持静态寻址。
如果已设置 SP 自动网络配置,则无需为各节点手动配置 SP 网络,因而 system service-processor network modify 命令只能用于启用或禁用 SP 网络接口。
配置 SP 网络的示例
以下示例将节点的 SP 配置为使用 IPv4,启用 SP 并显示 SP 网络配置以验证这些设置:
cluster1::> system service-processor network modify -node local
-address-family IPv4 -enable true -ip-address 192.168.123.98
-netmask 255.255.255.0 -gateway 192.168.123.1
cluster1::> system service-processor network show -instance -node local
Node: node1
Address Type: IPv4
Interface Enabled: true
Type of Device: SP
Status: online
Link Status: up
DHCP Status: none
IP Address: 192.168.123.98
MAC Address: ab:cd:ef:fe:ed:02
Netmask: 255.255.255.0
Prefix Length of Subnet Mask: -
Router Assigned IP Address: -
Link Local IP Address: -
Gateway IP Address: 192.168.123.1
Time Last Updated: Thu Apr 10 17:02:13 UTC 2014
Subnet Name: -
Enable IPv6 Router Assigned Address: -
SP Network Setup Status: succeeded
SP Network Setup Failure Reason: -
1 entries were displayed.
cluster1::>
提供反馈