tssltd:настройка_агрегации_сетевых_интерфейсов_ng
This is an old revision of the document!
Настройка агрегации сетевых интерфейсов через консоль
create bond mode {round-robin | active-backup | broadcast | {lacp | xor} [load-balance { l2 | l23 | l34 }]} [hw-addr <mac-address>]
# vppctl _______ _ _ _____ ___ __/ __/ _ \ (_)__ | | / / _ \/ _ \ _/ _// // / / / _ \ | |/ / ___/ ___/ /_/ /____(_)_/\___/ |___/_/ /_/ vpp# create bond mode round-robin BondEthernet0 vpp# show bond interface name sw_if_index mode load balance active members members BondEthernet0 5 round-robin round-robin 0 0
bond add <BondEthernetx> <slave-interface> [passive] [long-timeout].
vpp# bond add BondEthernet0 TenGigabitEthernet3/0/0 vpp# bond add BondEthernet0 TenGigabitEthernet3/0/1 vpp# show bond details BondEthernet0 mode: round-robin load balance: round-robin last xmit member index: 0 number of active members: 1 TenGigabitEthernet3/0/1 number of members: 2 TenGigabitEthernet3/0/0 TenGigabitEthernet3/0/1 device instance: 0 interface id: 0 sw_if_index: 5 hw_if_index: 5 vpp#
bond del <slave-interface>
vpp# bond del TenGigabitEthernet3/0/0 vpp# bond del TenGigabitEthernet3/0/1 vpp# show bond details BondEthernet0 mode: round-robin load balance: round-robin last xmit member index: 0 number of active members: 0 number of members: 0 device instance: 0 interface id: 0 sw_if_index: 5 hw_if_index:
show bond [details]
vpp# show bond details BondEthernet0 mode: round-robin load balance: round-robin last xmit member index: 0 number of active members: 0 number of members: 0 device instance: 0 interface id: 0 sw_if_index: 5 hw_if_index: 5
delete bond {<interface> | sw_if_index <sw_idx>}
vpp# delete bond BondEthernet0 vpp# show bond interface name sw_if_index mode load balance active members members vpp#
tssltd/настройка_агрегации_сетевых_интерфейсов_ng.1706511535.txt.gz · Last modified: 2024/01/29 09:58 by n.ganenkov