DETach

Detach SOC device(s)

DETach

Shortest form: det.

Detach switch devices from the SDK. With no argument the current unit (always 0 at the drivshell> prompt) is detached; otherwise each listed unit, in order, stopping at the first failure.

Warning

This tears down the SDK’s state for the unit while syncd is still using it. Expect syncd to fail or crash at its next SDK call. Never run it under SONiC.

Unvalidated

drivshell> detach 0

Built-in help

Parameters: [unit #] ...
    If no parameters are given, the default unit is detached.
    If one or more units are specified, each is detached.

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).