Files
rc.router/docs/clone_interface.md
2026-05-11 17:07:21 -04:00

25 lines
577 B
Markdown

# `clone_interface` Command
## Name
`clone_interface`
## Synopsis
```
clone_interface [<nic>]...
```
## Description
Adds the specified NICs to the `cloned_interfaces` variable. This is a
friendly wrapper for `cloned_interfaces="${cloned_interfaces} $1"` in essence.
This command can be safely mixed with any raw variable setting of
`cloned_interfaces`, as long as care is taken in the raw variable setting
code not to overwrite the variable, but instead append to it.
## See Also
- [`add_vlan`](add_vlan.md)
- [`add_wireguard_interface`](add_wireguard_interface.md)