小编wic*_*her的帖子

通过 ipmitool 禁用对 IPMI 的 LAN 访问

我希望能够在我的机器上打开和关闭对 IPMI 的 LAN 访问(例如,使用脚本和 ipmitool)。

我已经在 Ubuntu 16.04 上使用 ipmitool 成功配置了静态 IP、网络掩码、密码和其他设置。我希望以下命令可以禁用对 LAN 通道 0x1 的访问:

$ ipmitool lan set 0x1 access off
Run Code Online (Sandbox Code Playgroud)

该命令返回 0 并产生以下输出:

为通道 1 设置通道访问成功。

但是,尽管已成功更改设置,我仍然可以通过我之前配置的静态 IP 和网络掩码设置访问 Web 配置界面。

这是ipmitool channel info 0x1禁用对频道的访问之前的输出:

Channel 0x1 info:
  Channel Medium Type   : 802.3 LAN
  Channel Protocol Type : IPMB-1.0
  Session Support       : multi-session
  Active Session Count  : 0
  Protocol Vendor ID    : 7154
  Volatile(active) Settings
    Alerting            : enabled
    Per-message Auth    : enabled
    User Level …
Run Code Online (Sandbox Code Playgroud)

local-area-network ipmi ipmitool

5
推荐指数
1
解决办法
3714
查看次数

标签 统计

ipmi ×1

ipmitool ×1

local-area-network ×1