bsv
Broadcom SAI Version: show the SAI, OCP SAI, SDK and Cancun versions
- bsv
Show the SAI and SDK versions of the running build.
bsvis handled by the SAI’sdrivshell>front-end (see The drivshell> front-end), not by the SDK shell. It works only when it is the whole line, typed exactly in lower case.BSV,bsvwith arguments or a trailing space, and0:bsvall reach the SDK shell, which answersUnknown command. For the same reasonbsvis not listed byhelpand cannot be used inrcloadscripts.BCMSAI VERsionprints the same information and has none of these limits.It prints one line with the four versions and, when the switch has a recorded cold-boot version, a second line with it:
BRCM SAI ver: [15.2.1.0.0.0.26.3], OCP SAI ver: [1.18.1], SDK ver: [sdk-6.5.35-SP1], CANCUN ver: [06.15.00] BRCM SAI cold boot ver:[15.2.1.0.0.0.26.3]
A third line,
BRCM FIPS ver: [<version>], appears only on builds with MACsec FIPS support.BRCM SAI veris fixed for a given SAI build. Chip families other than Trident 3 print anNPL,LTorEDK ISO FWfield instead ofCANCUN. The command is read-only.Hardware-validated
drivshell> bsv BRCM SAI ver: [15.2.1.0.0.0.26.3], OCP SAI ver: [1.18.1], SDK ver: [sdk-6.5.35-SP1], CANCUN ver: [06.15.00] BRCM SAI cold boot ver:[15.2.1.0.0.0.26.3]
Further reading
bcmsh.md (published as https://kamelnetworks.github.io/sonic/bcmsh.html), led.md (SONiC on Broadcom: LED debugging), sonic-mgmt test suite files invoking bcmcmd (19 files).