Attach
Attach SOC device(s)
- Attach
Shortest form:
a.Shortest form:
a.Show which switch devices are attached to the SDK, or attach more.
No argument: one line per device found by
probe, for exampleattach: Unit 0 (<device>): attached (current unit). Read-only. If no probe has run, it printsProbe command not yet performedand fails.Unit numbers: attach each unit.
*attaches every probed unit that is not attached yet.
Attaching only sets up the SDK’s bookkeeping for a unit; it does not initialise the chip. On a running SONiC switch unit 0 is always attached already, so the attaching forms just fail with
Unit already attached.Unvalidated
drivshell> attachBuilt-in help
Parameters: [Unit #] ... If no parameters are given, a current list of attached devices is printed. Otherwise, each parameter is considered a unit # and an attempt is made to attached it.Built-in help
Parameters: [Unit #] ... If no parameters are given, a current list of attached devices is printed. Otherwise, each parameter is considered a unit # and an attempt is made to attached it.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), scripts/generate_dump (show techsupport collector), BCM_SDK命令.