Page 44
6.1.21 DIP-Switch Configuration (SWITCH)
The
switch
command provides the ability to configure and display the DIP-switches on the switch.
To configure the DIP-switches on the switch, use the
switch
command from the CLI prompt. A list of
options is displayed when the
switch -h
command is entered.
> switch -h
Description:
switch - physical switch configuration
Syntax:
switch [-h]
switch -s
switch -ena|-dis {swnum}
Switches:
-dis disable function, [swnum]
-ena enable function, [swnum]
[sw] DIP switch function, dflt enable
-h display help information
-s show current configuration
>
The options available using the
switch
command are shown below.
The
-dis
switch disables (Off) the selected switch number.
The
-ena
switch enables (On) the selected switch number.
The
-h
switch displays the help screen presented above. It is static and provides help information for the
specific command.
The
-s
switch displays the configuration of the DIP-switches.
To enable DIP-switch 2, use the
switch -ena
2 command.
> switch -ena 2
To display the configuration of the DIP-switches, use the
switch -s
command.
>switch -s
Switch ON Condition
OFF Condition
H/W
Soft
1: Dual switch
Single switch
Off
N/A
2: Directed switch
Normal switch
Off
N/A
3: Redundant fiber
No redundant fiber Off
N/A
4: Return to primary No return
Off
N/A
5: MAC learning Off
MAC learning On
Off
N/A
6: Pause On
Pause Off
Off
N/A
7: SW7 On
SW7 Off
Off
N/A
8: PoE with reset
PoE with no reset Off
N/A
Hardware DIP switches:
enabled
>
NOTE: The on-board DIP switches must be disabled in order to change the state of the switches
using the
switch
command. Use the
module -dis dipsw
command to disable hardware control of the
DIP-switches.