ipmcset -t lsw -d reset
更新时间: 2026/07/16
在Gitcode上查看源码ipmcset -t lsw -d reset
命令功能
复位 LAN 交换机
命令格式
text
ipmcset -t lsw -d reset -v <device> <type>参数说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
device | ReqBody | integer | 是 | - | [{"Type": "Enum", "Formula": [1, 2, 3]}] | 1 Chip 2 Phy 3 All |
type | ReqBody | integer | 是 | - | [{"Type": "Enum", "Formula": [1, 2]}] | 1 Hard reset 2 Soft reset |
响应/输出说明
无
后端处理流
| Step | Type | Path/URI | Interface | Field/Method | Source | Destination |
|---|---|---|---|---|---|---|
| 1 | Method | /bmc/kepler/Chassis/1/LanSwitchs/1 | bmc.kepler.Chassis.LanSwitch | LswReset | - | - |
使用示例
text
ipmcset -t lsw -d reset -v <device> <type>输出样例
输出样例来源: interface_config/cli/echoes/ipmcset/lsw_reset, interface_config/cli/echoes/
无
来源信息
| Item | Value |
|---|---|
| 命令类型 | ipmcset |
| target | lsw |
| dataitem | reset |
| URI | /cli/v1/lsw/reset |
| Interface Type | Patch |
| 配置来源 | interface_config/cli/ipmcset/lsw.json |
| 请求版本 | 26.06_2026.06.30 |
| 源码提交 | 5606349e |
| 生成时间 | 2026-07-16T01:48:37 |