MODE

Set shell mode

MODE

Select which table of mode-specific commands the shell uses. Trident 3 is an ESW device, so ESW is the only mode that works. LTSW and CTSW are refused with LTSW Mode is not supported on non-LTSW devices (or the CTSW variant). With no argument the shell moves to the next mode the device supports, which on Trident 3 means it stays in ESW.

On success it prints Current mode is now <mode>. The drivshell> prompt does not change, and the switch itself is not affected.

Unvalidated

drivshell> mode esw
mode ESW

Make ESW the current mode. It already is on Trident 3, so this only prints the message.

Unvalidated

drivshell> mode ESW
mode LTSW

Refused on Trident 3. mode CTSW is refused the same way.

Unvalidated

drivshell> mode LTSW

Built-in help

mode <m> where m is ESW, LTSW or CTSW

Further reading

SDK-6.5.20 HSDK Getting Started Guide (GS-SDK6520-R), plus SDK-6.5.20/21/22 Release Notes (RN-SDK65xx-R), BCM_SDK命令.