ipmcset -d activeport
更新时间: 2026/07/16
在Gitcode上查看源码

ipmcset -d activeport

返回总览 | 返回命令索引

命令功能

设置 EthGroup 活动端口

命令格式

text
ipmcset -d activeport -v <option> [portid] [groupid]

参数说明

NameLocationTypeRequiredDefaultConstraintDescription
port_typeReqBodyinteger---
port_numReqBodyinteger---
group_idReqBodyinteger---

响应/输出说明

NameLocationTypeRequiredDefaultConstraintDescription
port_typeRspBody----
port_numRspBody----
port_type_listRspBody----
params_validRspBody----
port_existRspBody----
netmode_is_supportedRspBody----
IsGroupIdValidRspBody----

后端处理流

StepTypePath/URIInterfaceField/MethodSourceDestination
1List/bmc/kepler/Managers/1/EthernetInterfacesbmc.kepler.Managers.EthernetInterfaces.MgmtPort--{"Members": "port_paths"}
2Property${Statements/PatchGroupID()/EthernetInterfaces/Path}${Statements/PatchGroupID()/EthernetInterfaces/Interface}--{"${Statements/PatchGroupID()/EthernetInterfaces/VLANEnable}": "VLANEnable", "VLANId": "VLANId", "NetMode": "NetMode"}
3Method${Statements/PatchGroupID()/EthernetInterfaces/Path}${Statements/PatchGroupID()/EthernetInterfaces/Interface}SetNetworkConfig--

使用示例

text
ipmcset -d activeport -v <option> [portid] [groupid]

输出样例

ScenarioOutputSource
其他Usage: ipmcset -d activeport -v <option> [portid] [groupid]interface_config/cli/echoes/ipmcset/_activeport
其他Options are:interface_config/cli/echoes/ipmcset/_activeport
其他0 : Dedicated network port, without parameter [portid]interface_config/cli/echoes/ipmcset/_activeport
其他<value> : <value> network portinterface_config/cli/echoes/ipmcset/_activeport
其他Input port does not exist.interface_config/cli/echoes/ipmcset/_activeport
成功Set active port successfully.interface_config/cli/echoes/ipmcset/_activeport

来源信息

ItemValue
命令类型ipmcset
target_
dataitemactiveport
URI/cli/v1/_/activeport
Interface TypePatch
配置来源interface_config/cli/ipmcset/network.json
请求版本26.06_2026.06.30
源码提交5606349e
生成时间2026-07-16T01:48:37