Owners Manual

base-port/physical/loopback = 0
base-port/physical/hardware-port-id = 45
base-port/physical/npu-id = 0
base-port/physical/fanout-mode = 4
base-port/physical/breakout-capabilities = 4,2
base-port/physical/port-id = 45
base-port/physical/slot-id = 0
Deleting.. e101-005-0
Completed...
Creating interface e101-005-1
Creating interface e101-005-2
Creating interface e101-005-3
Creating interface e101-005-4
Successfully created interfaces...
Port-channel/bond interfaces
A port-channel or link aggregation group (LAG) corresponds to a bond interface, which aggregates multiple physical interfaces into one
virtual interface for load-balancing and link failovers. A LAG and a bond interface both refer to a link aggregation group. LAG refers to an
NPU conguration, while
bond interface refers to a Linux conguration.
NOTE: A Linux bond interface must be up before you can add member ports.
Create bond interface
$ ip link add bond1 type bond mode balance-rr miimon 50
Bring up bond interface
$ ip link set dev bond1 up
$ ip link show|grep bond1
50: bond1: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode
DEFAULT group default
Add port to bind interface
$ ip link set e101-010-0 master bond1
$ ip link show | grep bond1
12: e101-010-0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond1 state UP
mode DEFAULT group default qlen 500
50: bond1: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode
DEFAULT group default
Congure IP address on bond interface
$ ip addr add 20.1.1.1/24 dev bond1
$ ifconfig bond1
bond1 Link encap:Ethernet HWaddr 90:b1:1c:f4:9d:60
inet addr:20.1.1.1 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::8480:fcff:fe2f:d93b/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:66 errors:0 dropped:1 overruns:0 frame:0
TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4224 (4.1 KiB) TX bytes:15648 (15.2 KiB)
Delete port from bond interface
$ ip link set e101-010-0 nomaster
$ ip link show | grep bond1
49: bond1: <NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP> mtu 1500 qdisc noqueue state DOWN mode
DEFAULT group default
Delete bond interface
$ ip link delete bond1
$ ip link show | grep bond1
Interfaces
7