Sample CLI outputs
To display the SNMP details for the Pluribus custom MIB, pnFabricTable, having the community-string: pluribus, use the command:
CLI (network-admin@aquila-m) > snmp-show community-string pluribus name pnFabricTable show-type walk
switch name value
---------- --------------------- --------------------
aquila-m FbIndex.100663455 Gauge32: 100663455
aquila-m FbIndex.167772211 Gauge32: 167772211
aquila-m NodeName.100663455 STRING: aquila.
aquila-m NodeName.167772211 STRING: aquila-m.
aquila-m FabricName.100663455 STRING: aquila.
aquila-m FabricName.167772211 STRING: aquila.
aquila-m NodeState.100663455 Gauge32: 1
aquila-m NodeState.167772211 Gauge32: 1
To display the SNMP details for the Pluribus custom MIB, pnHRCpuTable, having the community-string: pluribus, use the command:
CLI (network-admin@aquila-m) > snmp-show community-string pluribus name pnHrCpuTable show-type walk
switch name value
---------- --------------- ------------
aquila-m pnHrCpuIdx.0 INTEGER: 0
aquila-m pnHrCpuUsr.0 INTEGER: 0
aquila-m pnHrCpuSys.0 INTEGER: 0
aquila-m pnHrCpuIdle.0 INTEGER: 99
aquila-m pnHrCpuTotal.0 INTEGER: 0
To display the system details including the cpu-total output, use the command:
CLI (network-admin@aquila-m) > system-stats-show
switch uptime used-mem used-swap paging cpu-user cpu-sys cpu-idle
------ ------ -------- --------- ------ -------- ------- --------
aquila-m 8m15s 26% 10% 0 0% 0% 100%
For all details, include the parameter format all:
CLI (network-admin@aquila-m) > system-stats-show format all
uptime used-mem used-mem-val used-swap used-swap-val paging cpu-user cpu-sys cpu-total cpu-idle
------ -------- ------------ --------- ------------- ------ -------- ------- --------- --------
8m29s 26% 17.2G 10% 7.79G 0 0% 0% 0% 99%
To display the accumulated port statistics for SNMP, use the port-stats-snmp-show command:
CLI (network-admin@switch) > port-stats-snmp-show
port ibits iUpkts iBpkts iMpkts iCongDrops ierrs obits oUpkts oBpkts oMpkts oCongDrops oerrs mtu-errs
---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ -------- ---- ----
0 7.71K 12 0 0 0 0 7.53M 9.53K 0 0 0 0 0
9 7.33K 0 6 6 0 0 3.81M 0 85 4.74K 0 0 0
10 0 0 0 0 0 0 3.73M 0 90 4.63K 0 0 0
To display the accumulated port statistics for SNMP in a vertical layout, use the command:
CLI (network-admin@dorado-ext-03) > port-stats-snmp-show format all layout vertical
switch: dorado-ext-03
community-string: pluribus
community-type: read-only
switch: dorado-ext-03
community-string: pluribus1
community-type: read-only
To display the modified system information, for example, if you modified the system contact to bob@xyz.com with location as brisbane, use the snmp-system-show command:
CLI (network-admin@switch-04) >snmp-system-show
switch: switch-04
syscontact: bob@xyz.com
syslocation: brisbane
You can also view the details using SNMP walk.