aboutsummaryrefslogtreecommitdiffstats
path: root/doc/mod/bridge-port-to.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-05-12 11:04:12 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-05-12 11:04:12 +0200
commit12655bd58afc3a75fe3e2958bbe130b96f8b9be7 (patch)
treed5b33fb62e10637d70d8d0616437294ceb15ed9f /doc/mod/bridge-port-to.md
parent48f0a2d21118a7bff7d598e84d9f606fb30bf07a (diff)
parent09d926ed2fefb570d9810970306037910d6926d9 (diff)
Merge branch 'doc' into ros-v7-path-syntax
Diffstat (limited to 'doc/mod/bridge-port-to.md')
-rw-r--r--doc/mod/bridge-port-to.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/mod/bridge-port-to.md b/doc/mod/bridge-port-to.md
index 02d1e8d..2b42a9b 100644
--- a/doc/mod/bridge-port-to.md
+++ b/doc/mod/bridge-port-to.md
@@ -22,20 +22,20 @@ Just install the module:
Configuration
-------------
-The configuration goes to ports' comments (`/ interface bridge port`).
+The configuration goes to ports' comments (`/interface/bridge/port`).
- / interface bridge port add bridge=br-guest comment="default=dhcp-client, alt=br-guest" disabled=yes interface=en1;
- / interface bridge port add bridge=br-intern comment="default=br-intern, alt=br-guest" interface=en2;
- / interface bridge port add bridge=br-guest comment="default=br-guest, extra=br-extra" interface=en3;
+ /interface/bridge/port/add bridge=br-guest comment="default=dhcp-client, alt=br-guest" disabled=yes interface=en1;
+ /interface/bridge/port/add bridge=br-intern comment="default=br-intern, alt=br-guest" interface=en2;
+ /interface/bridge/port/add bridge=br-guest comment="default=br-guest, extra=br-extra" interface=en3;
Also dhcp client can be handled:
- / ip dhcp-client add comment="toggle with bridge port" disabled=no interface=en1;
+ /ip/dhcp-client/add comment="toggle with bridge port" disabled=no interface=en1;
Add a scheduler to start with default setup on system startup:
$ScriptInstallUpdate global-wait;
- / system scheduler add name=bridge-port-vlan on-event="/ system script run global-wait; :global BridgePortTo; \$BridgePortTo default;" start-time=startup;
+ /system/scheduler/add name=bridge-port-vlan on-event="/system/script/run global-wait; :global BridgePortTo; \$BridgePortTo default;" start-time=startup;
Usage and invocation
--------------------