Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor

Bond interfaces

How do I identify which interfaces are in a bond in VSX and on standalone gateways?

5 Replies
Admin
Admin

0 Kudos
Reply
Contributor

That just says "

Bonding Interfaces

Number of bonding groups: 2" 

 

Looks like cphaconf show_bond is closer to what I'm looking for.  Thanks though!

0 Kudos
Reply
Champion
Champion

show configuration bonding
add bonding group 3
add bonding group 10
#add bonding group 3 interface eth0
#add bonding group 3 interface eth1
#add bonding group 10 interface eth12
#add bonding group 10 interface eth13
set bonding group 3 mode 8023AD
set bonding group 3 lacp-rate slow
set bonding group 3 xmit-hash-policy layer2
set bonding group 10 mode active-backup
#set bonding group 10 primary eth12
Regards, Maarten
Admin
Admin

From the link I have given you:

Shell

Command

Gaia Clish

  1. show cluster bond {all | name <bond_name>}
  2. show bonding groups

Expert mode

cphaprob show_bond [<bond_name>]

cphaprob show_bond_groups

0 Kudos
Reply

Hi @C_M,

Details about the bond interface are located in this file on Gaia OS:

/proc/net/bonding/<Name_of_Bond_Interface>

Example: Interface bond1 is configured in Active/Backup mode:

[Expert@HostName]# cat /proc/net/bonding/bond1
Ethernet Channel Bonding Driver: v3.4.9 (January 11, 2018)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth1
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 200
Down Delay (ms): 200

Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:50:56:aa:12:0f

Slave Interface: eth2
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:50:56:aa:41:e1
[Expert@HostName]#
0 Kudos
Reply