CAI Networks 690PG Installation Manual - Section 3
- 6 -
Section 3
Using swctl Command from Shell
The WebMux 690 contains a built-in VLAN enabled switch. To configure this switch, please use the
superuser’s command line shell command swctl.
There are two ways to connect to the switch. After WebMux has booted, you may connect to
the superuser’s command line either using ssh to connect on the diagnostic port or a serial
connection client such as minicom using the serial port on the front of the WebMux. Then
type “swctl” to run the swctl program to communicate with the switch.
To fully reset the switch use the “-S” option to “swctl”, namely type “swctl –S” at the
superuser’s command prompt. “swctl –S” should set the switch back to the factory settings.
If “swctl –S” fails, you may try resetting the switch with its hard ware reset switch. Enter
“swctl –H” at the superuser’s command line. When prompted to do so, insert a thin stiff wire
such as a paperclip through the reset hole on the front panel to press the reset switch. Using
“swctl –H” without the advice of WebMux technical support is not recommended.
Adding another VLAN:
.
Adding a VLAN to the switch normally involves following steps:
1. Add VLAN ID
2. Add switch port to that VLAN
3. Add port-channel
4. Add switch port to the port-channel.
The detailed command options are listed below:
Adding the VLAN ID:
Depending on your individual webmux, the command “interface 1/1” must be replaced by
“interface 3/1”. If “interface 1/1” is not correct, the switch will display a diagnostic when it
is entered.
1. vlan database
2. vlan [vlan_id]
3. config
4. interface 1/1
5. vlan tagging [vlan_id]
6. vlan participation include [vlan_id]