将设为首页浏览此站
开启辅助访问 天气与日历 收藏本站联系我们切换到窄版

易陆发现论坛

 找回密码
 开始注册
查看: 1409|回复: 0
收起左侧

linux bond 端口状态查询

[复制链接]
发表于 2018-11-12 15:58:49 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?开始注册

x
# cat /proc/net/bonding/bond0
2 n4 e9 f2 V' g" N) Q3 `2 w Ethernet ChannelBonding Driver: v3.0.3 (March 23, 2006)
5 B9 D# f' U- F6 M( G9 T) K Bonding Mode: fault-tolerance (active-backup)
& O- y% Z' U* U5 c9 j; o8 k Primary Slave:None5 n& a7 P: r) p& C7 m" J
Currently Active Slave: eth0
4 H) f  I$ _; a) N0 X" h MII Status: up: [9 }+ |5 D0 S
MII PollingInterval (ms): 1000 U( \5 `" n! r" i( V# X
Up Delay (ms): 0
3 e, }9 `1 U1 |" b; f Down Delay (ms):0
) s# A' Z/ L5 s7 u Slave Interface:eth0
! B7 e8 D/ D; _& _ MII Status: up2 g# _- h- }# W
Link FailureCount: 0# D5 U; u  j# f0 s5 |. ]! r
Permanent HWaddr: 00:0c:29:01:4f:771 X* w9 c3 H& p' h- I
Slave Interface:eth1
" M1 G& b1 F4 W1 T% \  P7 m MII Status: up
8 m6 o6 q; M& p; i" m Link FailureCount: 0
& w% b' m: Y6 ?8 {5 J Permanent HWaddr: 00:0c:29:01:4f:8b
  Y  I5 v2 u( Z0 r, k* M: V  p% Q! q7 a, u, F. I* R8 J

. W0 y3 J" r$ X! z- s2 hcat /proc/net/bonding/bond1
5 Z7 }$ J9 R/ w: \Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
4 N4 _7 H+ z) B6 K, s5 ?* NBonding Mode: fault-tolerance (active-backup)
, W, b! Q% o2 V; @Primary Slave: eth2 (primary_reselect always)$ J1 v; d# m! g; Y
Currently Active Slave: eth2
1 S: P& F* F" }" \MII Status: up+ H" t; g$ ^) ]3 g9 }5 _
MII Polling Interval (ms): 100
4 d8 q, U2 U! s3 x; I% ]Up Delay (ms): 120000
) E, v* l# o& \Down Delay (ms): 0& }* p7 N4 x- m+ w
Slave Interface: eth29 u' x- K$ v+ D% ~% n
MII Status: up6 t" B; B) r: g+ F
Speed: 1000 Mbps2 Z5 U+ r6 `) r2 b: p
Duplex: full. k7 B# Z. o6 V2 X" P' B
Link Failure Count: 1
! V- j8 n. }: U8 G0 S+ G9 ~Permanent HW addr: 6c:92:bf:2a:2c:ae
, x* x) [3 l5 \( f; p) B0 j3 n; SSlave queue ID: 0  a* ~1 r4 J" K4 a8 r: ]! q
Slave Interface: eth3
) A5 ^" A3 G( }8 `/ K: ^MII Status: up; p8 Q# M8 Q! D; f/ d  [
Speed: 1000 Mbps
- H* [! }1 F, P" p/ XDuplex: full
2 V6 j, U* g; G# ]: z# t* rLink Failure Count: 0
1 b; F. |: P# E; M/ m9 m+ MPermanent HW addr: 6c:92:bf:02:f6:eb
$ P; h4 r" v% O; G! s6 l% m# S+ VSlave queue ID: 0
8 k  v+ R; M% T7 W; i( i
) M- y' W  L# X  w. _, J( f
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

如有购买积分卡请联系497906712

QQ|返回首页|Archiver|手机版|小黑屋|易陆发现 点击这里给我发消息

GMT+8, 2020-6-1 07:59 , Processed in 0.056926 second(s), 23 queries .

Powered by 龙睿 bbs168x X3.2

© 2001-2020 Comsenz Inc.

快速回复 返回顶部 返回列表