上一主题: dpmresourcemgr getsubnetdefaults 命令-列出子网默认值下一主题: dpmresourcemgr removefromcontainer 命令-从容器中删除内容


dpmresourcemgr removecomputerfromipnetwork 命令-从网络中删除服务器

dpmresourcemgr removecomputerfromipnetwork 用于从网络中删除服务器。

此命令具有以下格式:

dpmresourcemgr removecomputerfromipnetwork [-sc sc_url] -vlan_id vlanid -mac_list macaddresses [-ws_user username -ws_password password][-locale iso639value]
-sc sc_url

(可选)为服务控制器主机定义 URL。

示例:https://hostname:port/...

hostname

定义安装了服务控制器的完全限定主机。

示例:localhost.ca.com

port

定义服务控制器服务器的侦听端口。

示例:80

-vlan_id vlanid

为虚拟网络 (VLAN) 定义整数。 有效条目:整数 1-4094,其中 1 是默认网络接口卡 (NIC)。

-mac_list macaddresses

定义服务器的 NIC MAC 地址的列表。 有效条目:以逗号分隔的 NIC MAC 地址(格式为 xx:xx:xx:xx:xx:xx)。

-ws_user username -ws_password password

(可选)指定要用于 Web 服务安全检查的凭据。 如果不包含凭据,系统会提示您输入凭据。 通过使用 caaipsecurity 设置自己的会话来避免提示输入凭据。

-locale iso639value

(可选)指定 IS0 639_3166 组合以覆盖默认的英语输出(例如:法语为 fr_FR)。 要使用命令提示符的区域设置,请指定“native”。

示例:从网络中删除服务器

本示例从 VLAN 4556 中删除服务器 11:22:33:44:55:66。

dpmresourcemgr removecomputerfromipnetwork -vlan 4556 -mac_list 11:22:33:44:55:66 -ws_user wsuser -ws_password wsuserpassword