Units

A unit is one switch ASIC attached to the SDK, numbered from 0. Trident 3 SONiC switches have a single unit, 0. The classic SDK prompt names the current unit (BCM.0>); SONiC’s bcmsh shows drivshell> instead.

Use show unit to see which ASIC is attached.

In drivshell> every command runs on unit 0. A single statement can be sent to other units with a N:, N-M:, N,M: or *: prefix (see Unit prefixes). A bare N: line, which changes the default unit in the classic BCM.0> shell, has no lasting effect in drivshell>.