查看RHEL网卡绑定模式和绑定状态

来源:互联网 发布:centos 7 1611下载 编辑:程序博客网 时间:2024/06/05 17:09

参考自:https://access.redhat.com/solutions/117233

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/bond0Ethernet Channel Bonding Driver: 2.6.1 (October 29, 2004)Bonding Mode: load balancing (round-robin)Currently Active Slave: eth0MII Status: upMII Polling Interval (ms): 1000Up Delay (ms): 0Down Delay (ms): 0Slave Interface: eth1MII Status: upLink Failure Count: 1Slave Interface: eth0MII Status: upLink 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.

另外的参考文章:https://access.redhat.com/solutions/8749

原创粉丝点击