Sample CLI outputs


To display the SNMP details for the OID Ieee8021SpanningTreeEntry, with the community-string community1, use the command:


CLI (network-admin@cetus-colo-01) > switch-local snmp-show community-string community1 name  Ieee8021SpanningTreeEntry show-type walk show-interval 1

switch        name                                              value

------------- ------------------------------------------------- ----------------------------------------

cetus-colo-01 ieee8021SpanningTreeProtocolSpecification.1        INTEGER: 0

cetus-colo-01 ieee8021SpanningTreeProtocolSpecification.144      INTEGER: 0

cetus-colo-01 ieee8021SpanningTreeProtocolSpecification.4093     INTEGER: 0

cetus-colo-01 ieee8021SpanningTreePriority.1                     INTEGER: 8193

cetus-colo-01 ieee8021SpanningTreePriority.144                   INTEGER: 8336

cetus-colo-01 ieee8021SpanningTreePriority.4093                  INTEGER: 12285

cetus-colo-01 ieee8021SpanningTreeTimeSinceTopologyChange.1      Timeticks: (0) 0:00:00.00 centi-seconds

cetus-colo-01 ieee8021SpanningTreeTimeSinceTopologyChange.144    Timeticks: (0) 0:00:00.00 centi-seconds

cetus-colo-01 ieee8021SpanningTreeTimeSinceTopologyChange.4093   Timeticks: (0) 0:00:00.00 centi-seconds

cetus-colo-01 ieee8021SpanningTreeTopChanges.1                   Counter64: 0 topology changes

cetus-colo-01 ieee8021SpanningTreeTopChanges.144                 Counter64: 0 topology changes

cetus-colo-01 ieee8021SpanningTreeTopChanges.4093                Counter64: 0 topology changes

cetus-colo-01 ieee8021SpanningTreeDesignatedRoot.1               Hex-STRING: 66 0E 94 D2 AF 08

cetus-colo-01 ieee8021SpanningTreeDesignatedRoot.144             Hex-STRING: 66 0E 94 D2 AF 08

cetus-colo-01 ieee8021SpanningTreeDesignatedRoot.4093            Hex-STRING: 66 0E 94 D2 AF 08

cetus-colo-01 ieee8021SpanningTreeRootCost.1                     INTEGER: 0

cetus-colo-01 ieee8021SpanningTreeRootCost.144                   INTEGER: 0

cetus-colo-01 ieee8021SpanningTreeRootCost.4093                  INTEGER: 0

cetus-colo-01 ieee8021SpanningTreeRootPort.1                     Gauge32: 0

cetus-colo-01 ieee8021SpanningTreeRootPort.144                   Gauge32: 0

cetus-colo-01 ieee8021SpanningTreeRootPort.4093                  Gauge32: 0

cetus-colo-01 ieee8021SpanningTreeMaxAge.1                       INTEGER: 20 centi-seconds


To display the SNMP details for the OID, pnHRCpuTable, with the community-string community1, use the command:


CLI (network-admin@aquila-m) > snmp-show community-string community1 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@Leaf1) > system-stats-show format all layout vertical

switch:        Leaf1

uptime:        1d1h42m29s

used-mem:      62%

used-mem-val:  9.19G

used-swap:     0%

used-swap-val: 0

paging:        0

cpu-user:      8%

cpu-sys:       12%

cpu-total:     21%

cpu-idle:      78%


To display the accumulated port statistics for SNMP, use the port-stats-snmp-show command:


CLI (network-admin@switch1) > port-stats-snmp-show 

switch:     switch1

port:       12

ibits:      0

iUpkts:     0

iBpkts:     0

iMpkts:     0

iCongDrops: 0

ierrs:      0

obits:      174M

oUpkts:     1.32K

oBpkts:     801

oMpkts:     73.6K

oCongDrops: 0

oerrs:      0

mtu-errs:   0

switch:     switch1

port:       21

ibits:      374M

iUpkts:     37.3K

iBpkts:     579

iMpkts:     199K

iCongDrops: 0

ierrs:      0

obits:      360M

oUpkts:     37.3K

oBpkts:     0

oMpkts:     174K

oCongDrops: 0

oerrs:      0

mtu-errs:   0 

....


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 an SNMP walk.


north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south