Where can I find information about the status of my bonded NIC interfaces?

博客围绕在Red Hat Enterprise Linux各版本中,如何获取绑定NIC接口的状态信息展开。指出可在/proc/net/bonding/bond<N>查看绑定接口当前状态,还介绍了绑定模式、当前活动从设备、MII状态和链路失败计数等信息的含义。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Where can I find information about the status of my bonded NIC interfaces?

https://access.redhat.com/solutions/117233

 SOLUTION 已验证 - 已更新 2012年五月8日23:25 - 

English 

环境

Red Hat Enterprise Linux, all versions

问题

You need to access status information about your bonded NIC interfaces.

决议

The current state of a bonded interface can be found in /proc/net/bonding/bond<N>For example, for bond0:

Raw

# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: 2.6.1 (October 29, 2004)
Bonding Mode: load balancing (round-robin)
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 1000
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth1
MII Status: up
Link Failure Count: 1

Slave Interface: eth0
MII Status: up
Link Failure Count: 1

Bonding Mode: shows the current mode. For more information on available  bonding modes, refer to: What are the different modes available for bonded interfaces (bonding) in Red Hat Enterprise Linux version 3? http://kbase.redhat.com/faq/docs/DOC-8108
Currently Active Slave: shows which interface is currently being used. This is usually useful only in active-backup mode, since load-balancing modes will alternate.
MII Status: shows whether each interface is currently up or down. In the first section, it shows whether the bond itself is currently up.
Link Failure Count: shows the number of times a link has failed while in use. This can be help to identify a failing NIC.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值