Stack Port Commands

This section describes the commands you use to view and configure stack port information.

stack-port

M4350

Use this command to set stacking for a specified port to either stack or ethernet mode.

Default stack
Format stack-port unit/slot/port {ethernet | stack}
Mode Stack Global Config

show stack-port

Use this command to display summary stack-port information for all interfaces.

Format show stack-port
Mode Privileged EXEC

For each interface:

Term Definition
Unit The unit number.
Interface The slot and port numbers.
Configured Stack Mode Stack or Ethernet.
Running Stack Mode Stack or Ethernet.
Link Status The status of the link.
Link Speed The speed (in Gbps) of the stack port link.

show stack-port counters

M4350

Use this command to display summary data counter information for all interfaces.

Use the following optional keywords to specify the command output:

  • number. The output displays for a specific unit in the stack. The value for number can be from 1 to 8.
  • all. The output displays for all units in the stack.
Format show stack-port counters [number | all]
Mode Privileged EXEC
Term Definition
Unit The unit number.
Interface The slot and port numbers.
Tx Data Rate The transmitting data rate in megabits per second on the stacking port.
Tx Error Rate The platform-specific number of transmit errors per second.
Tx Total Error The platform-specific number of total transmit errors since power-up.
Rx Data Rate The received data rate in megabits per second on the stacking port.
Rx Error Rate The platform-specific number of received errors per second.
Rx Total Errors The platform-specific number of total received errors since power-up.
Link Flaps The number of up and down events for the link since the system bootup.

This example shows the stack ports and associated statistics of unit 2.

CODE
(NETGEAR Switch) #show stack-port counters 2

                 ------------TX------------------- ------------RX-------------- -------
                 Data       Error                  Data     Error
                 Rate       Rate        Total      Rate     Rate       Total    Link
Unit Interface   (Mb/s)     (Errors/s) Errors      (Mb/s)   (Errors/s) Errors   Flaps
---- ----------- ---------- ----------- ---------- -------- ---------- -------- -------
2    0/53            0          0          0          0         0          0       0
2    0/54            0          0          0          0         0          0       0
2    0/55            0          0          0          0         0          0       0
2    0/56            0          0          0          0         0          0       0

show stack-port diag

M4350

Note: This command is intended only for field application engineers (FAEs) and developers.

Use this command to display front panel stacking diagnostics for each port. An FAE can advise on the necessity to run this command and capture this information. In verbose mode, the statistics and counters for RPC, transport, CPU, and transport RX/TX modules are displayed.

Use the following optional keywords to specify the command output:

  • number. The output displays for a specific unit in the stack. The value for number can be from 1 to 8.
  • all. The output displays for all units in the stack.
Format show stack-port diag [number | all] [verbose]
Mode Privileged EXEC
Term Definition
Unit The unit number.
Interface The slot and port numbers.
Diagnostic Entry1 80 character string used for diagnostics.
Diagnostic Entry2 80 character string used for diagnostics.
Diagnostic Entry3 80 character string used for diagnostics.
TBYT Transmitted bytes.
TPKT Transmitted packets.
TFCS Transmitted FCS error frame counter.
TERR Transmitted error (set by system) counter
RBYT Received bytes.
RPKT Received packets.
RFCS Received FCS error frame counter.
RFRG Received fragment counter.
RJBR Received jabber frame counter.
RUND Received undersized frame counter.
ROVR Received oversized frame counter.
RUNT Received RUNT frame counter.

Command example:

This example displays the stack ports and associated statistics of specified unit or all units.

CODE
(NETGEAR Switch) #show stack-port diag 1

1 - 0/53:
RBYT:27ed9a7b RPKT:bca1b TBYT:28a0739e TPKT:c93ee
RFCS:0 RFRG:0 RJBR:0 RUND:0 RUNT:0
TFCS:0 TERR:0

1 - 0/54:
RBYT:8072ed RPKT:19a66 TBYT:aecfb80 TPKT:66e4d
RFCS:6e RFRG:4414 RJBR:0 RUND:c19 RUNT:af029b1
TFCS:0 TERR:0

1 - 0/55:
RBYT:0 RPKT:0 TBYT:ae8 TPKT:23
RFCS:0 RFRG:0 RJBR:0 RUND:0 RUNT:0
TFCS:0 TERR:0

1 - 0/56:
RBYT:0 RPKT:0 TBYT:ae8 TPKT:23
RFCS:0 RFRG:0 RJBR:0 RUND:0 RUNT:0
TFCS:0 TERR:0

Command example:

This example displays a dump of the RPC, Transport (ATP, Next Hop, and RLink), and CPU Transport Rx/Tx module statistics for Unit 2.

PYTHON
(NETGEAR Switch) #show stack-port diag 2 verbose
-----------------------------------------
HPC RPC statistics/counters from unit..2
-----------------------------------------
Registered Functions........................... 58
Client Requests.............................. 0
Server Requests................................ 0
Server Duplicate Requests...................... 0
Server Replies................................. 0
Client Remote Tx............................... 0
Client Remote Retransmit Count................. 0
Tx without Errors.............................. 0
Tx with Errors................................. 0
Rx Timeouts.................................... 0
Rx Early Exits................................. 0
Rx Out of Sync................................. 0
No Buffer...................................... 0
Collect Sem Wait Count......................... 0
Collect Sem Dispatch Count..................... 0

-------------------------------------
RPC statistics/counters from unit..2
-------------------------------------
Client RPC Requests Count...................... 3
Client RPC Reply Count......................... 0
Client RPC Fail to xmit Count.................. 0
Client RPC Response Timedout Count............. 3
Client RPC Missing Requests.................... 0
Client RPC Detach/Remove Count................. 0
Client RPC Current Sequence Number............. 3
Server RPC Request Count....................... 0
Server RPC Reply Count......................... 0
Server RPC Processed Transactions.............. 0
Server RPC Received Wrong Version Req.......... 0
Server RPC No Handlers......................... 0
Server RPC Retry Transmit Count................ 0
Server RPC Repetitive Tx Errors................ 0

-------------------------------------
ATP statistics/counters from unit..2
-------------------------------------
Transmit Pending Count......................... 2
Current number of TX waits..................... 2
Rx transactions created........................ 145
Rx transactions freed.......................... 145
Rx transactions freed(raw)..................... 0
Tx transactions created........................ 290
BET Rx Dropped Pkts Count...................... 0
ATP Rx Dropped Pkts Count...................... 0
Failed to Add Key Pkt Count.................... 0
Source Lookup Failure Count.................... 0
Old Rx transactions Pkts drop Count............ 0
Nr of CPUs found in ATP communication.......... 2

-----------------------------------------------
CPU Transport statistics/counters from unit..2
-----------------------------------------------
State Initialization........................... Done
Rx Setup....................................... Done
Tx Setup....................................... Done
Tx CoS[0] Reserve.............................. 100
Tx CoS[1] Reserve.............................. 100
Tx CoS[2] Reserve.............................. 100
Tx CoS[3] Reserve.............................. 100
Tx CoS[4] Reserve.............................. 60
Tx CoS[5] Reserve.............................. 40
Tx CoS[6] Reserve.............................. 20
Tx CoS[7] Reserve.............................. 0
Tx Pkt Pool Size............................... 200
Tx Available Pkt Pool Size..................... 198
Tx failed/error Count.......................... 0
Rx Pkt Pool Size............................... 8

------------------------------------------
Next Hop statistics/counters from unit..2
------------------------------------------
State Initialization........................... Done
Component Setup................................ Done
Thread Priority................................ 100
Rx Priority.................................... 105
Local CPU Key.................................. 00:24:81:d0:0f:c7
MTU Size....................................... 2048
Vlan Id........................................ 4094
CoS Id......................................... 7
Internal Priority for pkt transmission......... 7
Rx Pkt Queue Size.............................. 256
Tx Pkt Queue Size.............................. 64
Rx Pkt Dropped Count........................... 0
Tx Failed Pkt Count............................ 0

---------------------------------------
RLink statistics/counters from unit..2
---------------------------------------
State Initialization........................... Done
L2 Notify In Pkts.............................. 0
L2 Notify In Pkts discarded.................... 0
L2 Notify Out Pkts ............................ 0
L2 Notify Out Pkts discarded................... 0
Linkscan In Pkts............................... 0
Linkscan In Pkts discarded..................... 0
Linkscan Out Pkts ............................. 0
Linkscan Out Pkts discarded.................... 0
Auth/Unauth In Callbacks....................... 0
Auth/Unauth In Callbacks discarded............. 0
Auth/Unauth Out Callbacks...................... 0
Auth/Unauth Out Callbacks discarded............ 0
RX Tunnelling In Pkts.......................... 0
RX Tunnelling In Pkts discarded................ 0
RX Tunnelling Out Pkts......................... 0
RX Tunnelling Out Pkts discarded............... 0
OAM Events In.................................. 0
OAM Events In discarded........................ 0
OAM Events Out................................. 0
OAM Events Out discarded....................... 0
BFD Events In.................................. 0
BFD Events In discarded........................ 0
BFD Events Out................................. 0
BFD Events Out discarded....................... 0
Fabric Events In............................... 0
Fabric Events In discarded..................... 0
Fabric Events Out.............................. 0
Fabric Events Out discarded.................... 0
Scan Add Requests In........................... 0
Scan Del Requests In........................... 0
Scan Notify(Run Handlers) Out.................. 0
Scan Notify(Traverse Processing)............... 0

show stack-port stack-path

M4350

Use this command to display the route that a packet takes to reach its destination. This command lets you display the stack path to see if an error or packets loss occurs.

Use the following optional keywords to specify the command output:

  • source-unit. The output displays for a specific source unit in the stack. The value for source-unit can be from 1 to 8.
  • all. The output displays for all units in the stack.
  • destination-unit. The output displays for a specific destination unit in the stack. The value for destination-unit can be from 1 to 8.
Format show stack-port stack-path [source-unit | all] [destination-unit]
Mode Privileged EXEC