Lines Matching +full:up +full:-
1 .. SPDX-License-Identifier: GPL-2.0
10 .. _dsa-config-showcases:
13 -----------------------
37 The slave interfaces depend on the master interface being up in order for them
42 - when a DSA slave interface is brought up, the master interface is
43 automatically brought up.
44 - when the master interface is brought down, all DSA slave interfaces are
71 * lan1: 192.0.2.1/30 (192.0.2.0 - 192.0.2.3)
72 * lan2: 192.0.2.5/30 (192.0.2.4 - 192.0.2.7)
73 * lan3: 192.0.2.9/30 (192.0.2.8 - 192.0.2.11)
76 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255)
79 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255)
80 * wan: 192.0.2.1/30 (192.0.2.0 - 192.0.2.3)
82 .. _dsa-tagged-configuration:
85 ----------------------------------
92 .. code-block:: sh
100 # brought up manually before the slave ports.
101 ip link set eth0 up
103 # bring up the slave interfaces
104 ip link set lan1 up
105 ip link set lan2 up
106 ip link set lan3 up
109 .. code-block:: sh
112 # brought up manually before the slave ports.
113 ip link set eth0 up
115 # bring up the slave interfaces
116 ip link set lan1 up
117 ip link set lan2 up
118 ip link set lan3 up
131 # bring up the bridge
132 ip link set dev br0 up
135 .. code-block:: sh
138 # brought up manually before the slave ports.
139 ip link set eth0 up
141 # bring up the slave interfaces
142 ip link set wan up
143 ip link set lan1 up
144 ip link set lan2 up
159 # bring up the bridge
160 ip link set dev br0 up
162 .. _dsa-vlan-configuration:
165 -------------------------------------
172 The configuration can only be set up via VLAN tagging and bridge setup.
174 .. code-block:: sh
182 # brought up manually before the slave ports.
183 ip link set eth0 up
184 ip link set eth0.1 up
185 ip link set eth0.2 up
186 ip link set eth0.3 up
188 # bring up the slave interfaces
189 ip link set lan1 up
190 ip link set lan2 up
191 ip link set lan3 up
214 # bring up the bridge devices
215 ip link set br0 up
219 .. code-block:: sh
225 # brought up manually before the slave ports.
226 ip link set eth0 up
227 ip link set eth0.1 up
229 # bring up the slave interfaces
230 ip link set lan1 up
231 ip link set lan2 up
232 ip link set lan3 up
254 # bring up the bridge
255 ip link set dev br0 up
258 .. code-block:: sh
265 # brought up manually before the slave ports.
266 ip link set eth0 up
267 ip link set eth0.1 up
268 ip link set eth0.2 up
270 # bring up the slave interfaces
271 ip link set wan up
272 ip link set lan1 up
273 ip link set lan2 up
296 # bring up the bridge devices
297 ip link set br0 up
300 ------------------------------------
308 Up until kernel v4.14, DSA only supported user space management of bridge FDB
313 .. code-block:: sh
325 .. code-block:: sh
345 .. code-block:: sh
353 .. code-block:: sh
368 -----------------------------------
391 and DSA master will be used - the numerically first port from the firmware
392 description which has an ``ethernet`` property. It is up to the user to
404 .. code-block:: sh
407 ip -d link show dev swp0
418 ip link add bond0 type bond mode balance-xor && ip link set bond0 up
425 ip -d link show dev swp0
430 ip link add bond0 type bond mode balance-xor && ip link set bond0 up
433 ip -d link show dev swp0
449 upper interfaces (this includes LAG devices - the master must always be the LAG