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

易陆发现论坛

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

linux bond 端口状态查询

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

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

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

x
# cat /proc/net/bonding/bond0
& g. B% p3 r, f+ a Ethernet ChannelBonding Driver: v3.0.3 (March 23, 2006)# j  y3 q" j" M# g9 k  S/ {" M
Bonding Mode: fault-tolerance (active-backup)
5 ]1 E9 |# b/ T3 v, _ Primary Slave:None
% w* ?$ J# W. u' s6 A, r Currently Active Slave: eth0. {/ h8 v3 Z8 w5 _  C# Y
MII Status: up) X' i, q2 X1 I( }/ U4 m
MII PollingInterval (ms): 100" W0 X# E+ R' B2 [1 o5 m- B
Up Delay (ms): 0
( J+ g; ?0 F$ z: l' j3 j  a8 M( R Down Delay (ms):0
. f  |5 _2 S) h) b9 x: g Slave Interface:eth05 \6 _7 |0 Y$ T  q( m# g
MII Status: up# g7 n2 ~/ h* i9 l
Link FailureCount: 0
0 ?1 \3 Z9 x* ^9 Z Permanent HWaddr: 00:0c:29:01:4f:77/ j" p1 u" [# J' ^! z2 a8 J
Slave Interface:eth1+ K9 [  v, @5 V9 M$ }# |, g
MII Status: up
& Z- P( @  G- V! r4 T8 W* K Link FailureCount: 0+ _0 Q$ M1 Z2 P* F: |" S
Permanent HWaddr: 00:0c:29:01:4f:8b/ {# v' J8 I* c5 f- J# K

0 E+ q6 n. Y4 a4 _
. a- I% ]8 N- w& ?; Tcat /proc/net/bonding/bond1
2 F/ `, \) T( XEthernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
7 q. T$ O4 H( J6 E" K# rBonding Mode: fault-tolerance (active-backup)
$ F9 s" @3 S* ]Primary Slave: eth2 (primary_reselect always)3 x$ {9 A6 e: F& O
Currently Active Slave: eth2
) u$ `; s+ q( Y) R9 e% u6 |MII Status: up$ c% B# x" J1 o6 v
MII Polling Interval (ms): 100
. n/ C6 X0 J7 F3 j& Q5 wUp Delay (ms): 120000
" C  ?8 q- f& {( s4 s' cDown Delay (ms): 00 b; Z0 A/ S% u8 n+ X
Slave Interface: eth28 Z7 u( e& M) r( U! g, s
MII Status: up$ ^! `/ r, v" f' x2 _$ {
Speed: 1000 Mbps  F. Z& [$ Q, |3 Q& `- F
Duplex: full1 D# F. Q; y5 W0 t4 N" R3 m
Link Failure Count: 1
3 T. w+ I; b8 t/ EPermanent HW addr: 6c:92:bf:2a:2c:ae
; k% F2 ~9 ~  SSlave queue ID: 0
) g6 n- _$ f6 h5 t3 b: P& u! CSlave Interface: eth3$ J* A7 @/ p# Y2 b9 K4 T
MII Status: up
1 F2 a1 r' t) oSpeed: 1000 Mbps
4 v( z& C8 [/ Y; l0 X2 `6 e$ u- {Duplex: full3 T0 P' C- \0 \* `* g" d) \; K. Y' T
Link Failure Count: 0
- L  i: U; R5 m: fPermanent HW addr: 6c:92:bf:02:f6:eb
3 p! W9 `7 I, S. ^& {( wSlave queue ID: 0: t& S! I' `2 Y4 @7 I1 _8 Z

! x4 h& P" z) m/ m4 \
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

如有购买积分卡请联系497906712

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

GMT+8, 2021-12-2 09:39 , Processed in 0.039891 second(s), 22 queries .

Powered by LR.LINUX.cloud bbs168x X3.2 Licensed

© 2012-2022 Comsenz Inc.

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