微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

linux – 在CentOS 7中获取绑定状态

在CentOS 6中,我有一个可靠的/ proc / net / bonding / bond0,它会给我以下信息:
[kbrandt@ny-tsdb01: ~] cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27,2011)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer3+4 (1)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

802.3ad info
LACP rate: fast
Min links: 0
Aggregator selection policy (ad_select): stable
Active Aggregator Info:
    Aggregator ID: 1
    Number of ports: 2
    Actor Key: 33
    Partner Key: 33116
    Partner Mac Address: 00:23:04:ee:be:01

Slave Interface: em1
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: ec:f4:bb:c2:14:68
Aggregator ID: 1
Slave queue ID: 0

Slave Interface: em2
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 1
Permanent HW addr: ec:f4:bb:c2:14:6a
Aggregator ID: 1
Slave queue ID: 0

/ proc / net / bonding在CentOS 7中不存在,我在哪里可以找到我的团队在CentOS 7中的这些信息?

解决方法

从“RHEL 7”开始,“团队”和“粘合”曾经可以互换使用,它们是两个完全不同的东西.两者都执行相同的链路聚合和冗余/故障转移功能,but they do so in different ways.如果您有team0接口而不是通常的bond0接口,则可以使用 teamdctl team0 state view命令获取团队的状态.

原文地址:https://www.jb51.cc/linux/396382.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐