Command line interface
Configuration mode
LR54 User Guide
1074
Note
For the rest of this example configuration, command line examples will use a single
command entered at the root
config
prompt (method one above). However, any command
line example in this example configuration can also be performed by moving within the
configuration to the appropriate location (method two above).
4. Remove devices from the LAN1 bridge that will be used by other interfaces in this
configuration.
a. the Digi AP (Wi-Fi2) access point (/network/wireless/ap/digi_ap2) from the bridge, using its
index number,
4
, as determined above with the show command:
(config)> del network bridge lan1 device 4
(config)>
b. Remove the ETH4 device (/network/device/eth4) from the bridge, using its index number,
2
, as determined above with the show command:
(config)> del network bridge lan1 device 2
(config)>
c. Remove the ETH3 device (/network/device/eth3) from the bridge, using its index number,
1
, as determined above with the show command:
(config)> del network bridge lan1 device 1
(config)>
d. Use the show command again to verify that the LAN1 bridge now has only two devices,
ETH2 and Digi AP (Wi-Fi1):
(config)> show network bridge lan1 device
0 /network/device/eth2
1 /network/wireless/ap/digi_ap1
(config)>
5. Create a new bridge, named LAN2:
(config)> add network bridge LAN2
(config network bridge LAN2)>
6. Add devices to the bridge:
a. View available devices and the proper syntax by using the add device command with the
TAB
autocomplete feature:
(config network bridge LAN2)> add device end <TAB>
(config network bridge LAN2)> add device end /network/<TAB>
/network/device/eth1
/network/device/eth2
/network/device/eth3
/network/device/eth4
/network/device/loopback
/network/bridge/LAN2
/network/bridge/lan1
/network/wireless/ap/digi_ap1
/network/wireless/ap/digi_ap2
(config network bridge LAN2)>