System Information and Statistics Commands

Use these commands to view information about system features, components, and configurations.

show arp switch (System Information and Statistics commands)

M4250

M4350

This command displays the contents of the Address Resolution Protocol (ARP) table that is associated with the IP address of the switch. This IP address learns only ARP entries that are associated with the management interfaces (network or service ports). ARP entries that are associated with routing interfaces are not listed.

Format show arp switch
Mode Privileged EXEC
Term Definition
IP Address IP address of the management interface or another device on the management network.
MAC Address Hardware MAC address of that device.
Interface For a service port the output is Management. For a network port, the output is the unit/slot/port of the physical interface.

show eventlog

M4250

M4350

This command displays the event log, which contains error messages from the system. The event log is not cleared on a system reset. The unit is the switch identifier.

Format show eventlog [unit]
Mode Privileged EXEC
Term Definition
File The file in which the event originated.
Line The line number of the event.
Task Id The task ID of the event.
Code The event code.
Time The time this event occurred.
Unit The unit for the event.
Note: Event log information is retained across a switch reset.

show hardware

M4250

M4350

This command displays inventory information for the switch.

Note: The show version command and the show hardware command display the same information. In future releases of the software, the show hardware command will not be available. For a description of the command output, see the command show version.
Format show hardware
Mode Privileged EXEC

show environment

M4250

M4350

This command displays information about the temperature and status of the power supplies and fans in the system chassis.

Format show environment
Mode Privileged EXEC

Command example:

CODE
(Netgear Switch) #show environment
Fan Control Mode............................... Quiet
Temp (C)....................................... 23
Temperature traps range: 0 to 90 degrees (Celsius)

Temperature Sensors:
Unit     Sensor  Description       Temp (C)    State              Max_Temp (C)
----     ------  ----------------  ----------  -----------------  --------------
1        1       sensor-1          23          Normal             53

Fans:
Unit Fan Description    Type      Speed         Duty level    State
---- --- -------------- --------- ------------- ------------- --------------
1    1   FAN-1          Fixed     2500          25%           Operational
1    2   FAN-2          Fixed     2500          25%           Operational

Power Modules:
Unit     Power supply   Description        Type          State
----     ------------   ----------------   ----------    --------------
1        1              PS-1               Fixed         Operational

show version

This command displays inventory information for the switch.

M4250

M4350

Note: The show version command replaces the show hardware command in future releases of the software.
Format show version
Mode Privileged EXEC
Term Definition
System Description Text used to identify the product name of this switch.
Machine Model The machine model as defined by the Vital Product Data.
Serial Number The unique serial number for this switch.
Burned in MAC Address The universally assigned network address.
Software Version The release version number of the code running on the switch.
Boot Code Version The version of the boot code software running on the switch.
CPLD Version The version of the CPLD firmware running on the switch.
Supported Java Plugin Version The software version of the Java plugin running on the switch.
Current Time The current time on the running on the switch.

show platform vpd

M4250

M4350

This command displays vital product data for the switch.

Format show platform vpd
Mode User Privileged

The following information is displayed.

Term Definition
Operational Code Image File Name Build Signature loaded into the switch.
Software Version Release Version Maintenance Level and Build (RVMB) information of the switch.
Timestamp Timestamp at which the image is built.

Command example:

CODE
(NETGEAR Switch) #show platform vpd

Operational Code Image File Name...............
NETGEAR-Ent-esw-xgs4-gto-BL20R-CS-6AIQHSr3v7m14b35
Software Version............................... 3.7.14.35
Timestamp...................................... Thu Mar  7 14:36:14 IST 2013

show interface

M4250

M4350

This command displays a summary of statistics for a specific interface or a count of all CPU traffic based upon the argument.

To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show interface {unit/slot/port | switchport}
Mode Privileged EXEC

The display parameters, when the argument is unit/slot/port, are as follows.

Field Definition
Packets Received Without Error The total number of packets (including broadcast packets and multicast packets) received by the processor.
Packets Received With Error The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.
Broadcast Packets Received The total number of packets received that were directed to the broadcast address. Note that this does not include multicast packets.
Receive Packets Discarded The number of inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffer space.
Packets Transmitted Without Error The total number of packets transmitted out of the interface.
Transmit Packets Discarded The number of outbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. A possible reason for discarding a packet could be to free up buffer space.
Transmit Packets Errors The number of outbound packets that could not be transmitted because of errors.
Collisions Frames The best estimate of the total number of collisions on this Ethernet segment.
Number of link down events The number of down events for the link since the switch restarted.
Load Interval The period in seconds for which data is used to compute the load statistics. You must enter a value that is a multiple of 30. The allowable range is from 30 to 600 seconds.
Received Rate (Mbps) The approximate number of bits per second received. This value is an exponentially-weighted average and is affected by the configured load interval.
Transmitted Rate (Mbps) The approximate number of bits per second transmitted. This value is an exponentially-weighted average and is affected by the configured load interval.
Received Error Rate The approximate number of error bits per second received. This value is an exponentially-weighted average and is affected by the configured load interval.
Transmitted Error Rate The approximate number of error bits per second transmitted. This value is an exponentially-weighted average and is affected by the configured load interval.
Packets Per Second Received The approximate number of packets per second received. This value is an exponentially-weighted average and is affected by the configured load interval.
Packets Per Second Transmitted The approximate number of packets per second transmitted. This value is an exponentially-weighted average and is affected by the configured load interval.
Link Flaps The number of up and down events for the link since the switch restarted.
Time Since Counters Last Cleared The elapsed time, in days, hours, minutes, and seconds since the statistics for this port were last cleared.

The display parameters, when the argument is switchport are as follows.

Term Definition
Packets Received Without Error The total number of packets (including broadcast packets and multicast packets) received by the processor.
Broadcast Packets Received The total number of packets received that were directed to the broadcast address. Note that this does not include multicast packets.
Packets Received With Error The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.
Packets Transmitted Without Error The total number of packets transmitted out of the interface.
Broadcast Packets Transmitted The total number of packets that higher-level protocols requested to be transmitted to the Broadcast address, including those that were discarded or not sent.
Transmit Packet Errors The number of outbound packets that could not be transmitted because of errors.
Time Since Counters Last Cleared The elapsed time, in days, hours, minutes, and seconds since the statistics for this switch were last cleared.

show interface lag

Use this command to display configuration information about the specified LAG interface.

Format show interface lag lag-intf-num
Mode Privileged EXEC
Field Definition
Packets Received Without Error The total number of packets (including broadcast packets and multicast packets) received on the LAG interface.
Packets Received With Error The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.
Broadcast Packets Received The total number of packets received that were directed to the broadcast address. Note that this does not include multicast packets.
Receive Packets Discarded The number of inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffer space.
Packets Transmitted Without Error The total number of packets transmitted out of the LAG.
Transmit Packets Discarded The number of outbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. A possible reason for discarding a packet could be to free up buffer space.
Transmit Packets Errors The number of outbound packets that could not be transmitted because of errors.
Collisions Frames The best estimate of the total number of collisions on this Ethernet segment.
Time Since Counters Last Cleared The elapsed time, in days, hours, minutes, and seconds since the statistics for this LAG were last cleared.

show interface ethernet

M4250

M4350

This command displays detailed statistics for a specific interface, for a LAG, for the switch port, or for all traffic.

To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show interface ethernet {unit/slot/port | lag lag-intf-num | switchport | all}
Mode Privileged EXEC

If you specify a specific interface, the command displays the following information.

Term Definition
Packets Received

Total Packets Received (Octets) - The total number of octets of data (including those in bad packets) received on the network (excluding framing bits but including Frame Check Sequence (FCS) octets). This object can be used as a reasonable estimate of Ethernet utilization. If greater precision is desired, the etherStatsPkts and etherStatsOctets objects should be sampled before and after a common interval. The result of this equation is the value Utilization which is the percent utilization of the Ethernet segment on a scale of 0 to 100 percent.

Packets Received 64 Octets - The total number of packets (including bad packets) received that were 64 octets in length (excluding framing bits but including FCS octets).

Packets Received 65–127 Octets - The total number of packets (including bad packets) received that were between 65 and 127 octets in length inclusive (excluding framing bits but including FCS octets).

Packets Received 128–255 Octets - The total number of packets (including bad packets) received that were between 128 and 255 octets in length inclusive (excluding framing bits but including FCS octets).

Packets Received 256–511 Octets - The total number of packets (including bad packets) received that were between 256 and 511 octets in length inclusive (excluding framing bits but including FCS octets).

Packets Received 512–1023 Octets - The total number of packets (including bad packets) received that were between 512 and 1023 octets in length inclusive (excluding framing bits but including FCS octets). Packets Received 1024–1518 Octets - The total number of packets (including bad packets) received that were between 1024 and 1518 octets in length inclusive (excluding framing bits but including FCS octets).

Packets Received > 1518 Octets - The total number of packets received that were longer than 1522 octets (excluding framing bits, but including FCS octets) and were otherwise well formed.

Packets RX and TX 64 Octets - The total number of packets (including bad packets) received and transmitted that were 64 octets in length (excluding framing bits but including FCS octets).

Packets RX and TX 65–127 Octets - The total number of packets (including bad packets) received and transmitted that were between 65 and 127 octets in length inclusive (excluding framing bits but including FCS octets).

Packets RX and TX 128–255 Octets - The total number of packets (including bad packets) received and transmitted that were between 128 and 255 octets in length inclusive (excluding framing bits but including FCS octets).

Packets RX and TX 256–511 Octets - The total number of packets (including bad packets) received and transmitted that were between 256 and 511 octets in length inclusive (excluding framing bits but including FCS octets).

Packets RX and TX 512–1023 Octets - The total number of packets (including bad packets) received and transmitted that were between 512 and 1023 octets in length inclusive (excluding framing bits but including FCS octets).

Packets RX and TX 1024–1518 Octets - The total number of packets (including bad packets) received and transmitted that were between 1024 and 1518 octets in length inclusive (excluding framing bits but including FCS octets).

Packets RX and TX 1519–2047 Octets - The total number of packets received and transmitted that were between 1519 and 2047 octets in length inclusive (excluding framing bits, but including FCS octets) and were otherwise well formed.

Packets RX and TX 1523–2047 Octets - The total number of packets received and transmitted that were between 1523 and 2047 octets in length inclusive (excluding framing bits, but including FCS octets) and were otherwise well formed.

Packets RX and TX 2048–4095 Octets - The total number of packets received that were between 2048 and 4095 octets in length inclusive (excluding framing bits, but including FCS octets) and were otherwise well formed.

Packets RX and TX 4096–9216 Octets - The total number of packets received that were between 4096 and 9216 octets in length inclusive (excluding framing bits, but including FCS octets) and were otherwise well formed.

Packets Received Successfully

Total Packets Received Without Error - The total number of packets received that were without errors.

Unicast Packets Received - The number of subnetwork-unicast packets delivered to a higher-layer protocol.

Multicast Packets Received - The total number of good packets received that were directed to a multicast address. Note that this number does not include packets directed to the broadcast address.

Broadcast Packets Received - The total number of good packets received that were directed to the broadcast address. Note that this does not include multicast packets.

Receive Packets Discarded The number of inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffer space.
Packets Received with MAC Errors

Total Packets Received with MAC Errors - The total number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.

Jabbers Received - The total number of packets received that were longer than 1518 octets (excluding framing bits, but including FCS octets), and had either a bad Frame Check Sequence (FCS) with an integral number of octets (FCS Error) or a bad FCS with a non-integral number of octets (Alignment Error). Note that this definition of jabber is different than the definition in IEEE-802.3 section 8.2.1.5 (10BASE5) and section 10.3.1.4 (10BASE2). These documents define jabber as the condition where any packet exceeds 20 ms. The allowed range to detect jabber is between 20 ms and 150 ms.

Fragments/Undersize Received - The total number of packets received that were less than 64 octets in length (excluding framing bits but including FCS octets).

Alignment Errors - The total number of packets received that had a length (excluding framing bits, but including FCS octets) of between 64 and 1518 octets, inclusive, but had a bad Frame Check Sequence (FCS) with a non-integral number of octets.

FCS Errors - The total number of packets received that had a length (excluding framing bits, but including FCS octets) of between 64 and 1518 octets, inclusive, but had a bad Frame Check Sequence (FCS) with an integral number of octets.

Overruns - The total number of frames discarded as this port was overloaded with incoming packets, and could not keep up with the inflow.

Received Packets Not Forwarded

Total Received Packets Not Forwarded - A count of valid frames received which were discarded (in other words, filtered) by the forwarding process.

802.3x Pause Frames Received - A count of MAC Control frames received on this interface with an opcode indicating the PAUSE operation. This counter does not increment when the interface is operating in half-duplex mode.

Unacceptable Frame Type - The number of frames discarded from this port due to being an unacceptable frame type.

Packets Transmitted Octets

Total Packets Transmitted (Octets) - The total number of octets of data (including those in bad packets) received on the network (excluding framing bits but including FCS octets). This object can be used as a reasonable estimate of Ethernet utilization. If greater precision is desired, the etherStatsPkts and etherStatsOctets objects should be sampled before and after a common interval.

Packets Transmitted 64 Octets - The total number of packets (including bad packets) received that were 64 octets in length (excluding framing bits but including FCS octets).

Packets Transmitted 65-127 Octets - The total number of packets (including bad packets) received that were between 65 and 127 octets in length inclusive (excluding framing bits but including FCS octets).

Packets Transmitted 128-255 Octets - The total number of packets (including bad packets) received that were between 128 and 255 octets in length inclusive (excluding framing bits but including FCS octets).

Packets Transmitted 256-511 Octets - The total number of packets (including bad packets) received that were between 256 and 511 octets in length inclusive (excluding framing bits but including FCS octets).

Packets Transmitted 512-1023 Octets - The total number of packets (including bad packets) received that were between 512 and 1023 octets in length inclusive (excluding framing bits but including FCS octets).

Packets Transmitted 1024-1518 Octets - The total number of packets (including bad packets) received that were between 1024 and 1518 octets in length inclusive (excluding framing bits but including FCS octets).

Packets Transmitted > 1518 Octets - The total number of packets transmitted that were longer than 1518 octets (excluding framing bits, but including FCS octets) and were otherwise well formed.

Max Frame Size - The maximum size of the Info (non-MAC) field that this port will receive or transmit.

Packets Transmitted Successfully

Total Packets Transmitted Successfully - The number of frames that have been transmitted by this port to its segment.

Unicast Packets Transmitted - The total number of packets that higher-level protocols requested be transmitted to a subnetwork-unicast address, including those that were discarded or not sent.

Multicast Packets Transmitted - The total number of packets that higher-level protocols requested be transmitted to a Multicast address, including those that were discarded or not sent.

Broadcast Packets Transmitted - The total number of packets that higher-level protocols requested be transmitted to the Broadcast address, including those that were discarded or not sent.

Transmit Packets Discarded The number of outbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. A possible reason for discarding a packet could be to free up buffer space.
Transmit Errors

Total Transmit Errors - The sum of Single, Multiple, and Excessive Collisions.

FCS Errors - The total number of packets transmitted that had a length (excluding framing bits, but including FCS octets) of between 64 and 1518 octets, inclusive, but had a bad Frame Check Sequence (FCS) with an integral number of octets.

Underrun Errors - The total number of frames discarded because the transmit FIFO buffer became empty during frame transmission.

Transmit Discards

Total Transmit Packets Discards - The sum of single collision frames discarded, multiple collision frames discarded, and excessive frames discarded.

Single Collision Frames - A count of the number of successfully transmitted frames on a particular interface for which transmission is inhibited by exactly one collision.

Multiple Collision Frames - A count of the number of successfully transmitted frames on a particular interface for which transmission is inhibited by more than one collision.

Excessive Collisions - A count of frames for which transmission on a particular interface fails due to excessive collisions.

Port Membership Discards - The number of frames discarded on egress for this port due to egress filtering being enabled.

Protocol Statistics

802.3x Pause Frames Transmitted - A count of MAC Control frames transmitted on this interface with an opcode indicating the PAUSE operation. This counter does not increment when the interface is operating in half-duplex mode.

GVRP PDUs Received - The count of GVRP PDUs received in the GARP layer.

GVRP PDUs Transmitted - The count of GVRP PDUs transmitted from the GARP layer.

GVRP Failed Registrations - The number of times attempted GVRP registrations could not be completed.

GMRP PDUs Received - The count of GMRP PDUs received in the GARP layer.

GMRP PDUs Transmitted - The count of GMRP PDUs transmitted from the GARP layer.

GMRP Failed Registrations - The number of times attempted GMRP registrations could not be completed.

STP BPDUs Transmitted - Spanning Tree Protocol Bridge Protocol Data Units sent.

STP BPDUs Received - Spanning Tree Protocol Bridge Protocol Data Units received.

RSTP BPDUs Transmitted - Rapid Spanning Tree Protocol Bridge Protocol Data Units sent.

RSTP BPDUs Received - Rapid Spanning Tree Protocol Bridge Protocol Data Units received.

MSTP BPDUs Transmitted - Multiple Spanning Tree Protocol Bridge Protocol Data Units sent.

MSTP BPDUs Received - Multiple Spanning Tree Protocol Bridge Protocol Data Units received.

Dot1x Statistics

EAPOL Frames Transmitted - The number of EAPOL frames of any type that have been transmitted by this authenticator.

EAPOL Start Frames Received - The number of valid EAPOL start frames that have been received by this authenticator.

Time Since Counters Last Cleared The elapsed time, in days, hours, minutes, and seconds since the statistics for this port were last cleared.

If you use the switchport keyword, the following information displays.

Term Definition
Packets Received Without Error The total number of packets (including broadcast packets and multicast packets) received by the processor.
Broadcast Packets Received The total number of packets received that were directed to the broadcast address. Note that this does not include multicast packets.
Packets Received With Error The total number of packets with errors (including broadcast packets and multicast packets) received by the processor.
Packets Transmitted without Errors The total number of packets transmitted out of the interface.
Broadcast Packets Transmitted The total number of packets that higher-level protocols requested be transmitted to the Broadcast address, including those that were discarded or not sent.
Transmit Packet Errors The number of outbound packets that could not be transmitted because of errors.
Number of Port Link Down Events The number of occurrences that a port link went down.
Link Flaps The number of link flaps per interface.
Time Since Counters Last Cleared The elapsed time, in days, hours, minutes, and seconds, since the statistics for this switch were last cleared.

If you use the all keyword, the following information displays for all interfaces on the switch.

Term Definition
Port The Interface ID.
Bytes Tx The total number of bytes transmitted by the interface.
Bytes Rx The total number of bytes transmitted by the interface.
Packets Tx The total number of packets transmitted by the interface.
Packets Rx The total number of packets transmitted by the interface.

show interface ethernet switchport

M4250

M4350

This command displays the private VLAN mapping information for a specified interface.

To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show interface ethernet unit/slot/port switchport
Mode Privileged EXEC

The command displays the following information.

Term Definition
Private-vlan host-association The VLAN association for the private-VLAN host ports.
Private-vlan mapping The VLAN mapping for the private-VLAN promiscuous ports.

show fiber-ports optics

M4250

M4350

This command displays the diagnostics information of the SFP like Temp, Voltage, Current, Input Power, Output Power, Tx Fault, and LOS. The values are derived from the SFP’s A2 (Diagnostics) table using the I2C interface.

To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show fiber-ports optics {all | unit/slot/port}
Mode Privileged EXEC
Field Description
Temp Internally measured transceiver temperature.
Voltage Internally measured supply voltage.
Current Measured TX bias current.
Output Power Measured optical output power relative to 1mW.
Input Power Measured optical power received relative to 1mW.
TX Fault Transmitter fault.
LOS Loss of signal.

Command example:

CODE
(NETGEAR Switch) #show fiber-ports optics all

                                    Output    Input
Port      Temp  Voltage  Current     Power    Power   TX     LOS
           [C]   [Volt]     [mA]     [dBm]    [dBm]   Fault
--------  ----  -------  -------   -------  -------   -----  ---
0/49      39.3    3.256      5.0    -2.234   -2.465   No     No
0/50      33.9    3.260      5.3    -2.374  -40.000   No     Yes
0/51      32.2    3.256      5.6    -2.300   -2.897   No     No

show interfaces status

M4250

M4350

Use this command to display interface information, including the description, port state, speed and autonegotiation capabilities. The command is similar to the show port all command but displays additional fields such as the interface description and port-capability.

The interfaces displayed by the show interfaces status command can be physical interfaces, LAG interfaces, or VLAN routing interfaces. You can also use the all keyword to display all information about all types of interfaces, or the err-disable keyword to display information about error-disabled interfaces.

To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show interfaces status {all | unit/slot/port | vlan vlan-id | lag lag-int-num | err-disabled}
Mode Privileged EXEC
Field Description
Port The interface that is associated with the displayed information.
Name The descriptive user-configured name for the interface.
Link State Indicates whether the link is up or down.
Physical Mode The speed and duplex settings on the interface.
Physical Status Indicates the port speed and duplex mode for physical interfaces. The physical status for LAGs is not reported. When a port is down, the physical status is unknown.
Media Type The media type of the interface.
Flow Control The configured 802.3x flow control mode.
VLAN The VLAN of which the interface is a member.

show interfaces traffic

M4250

M4350

Use this command to display traffic information for all interfaces or, as an option, for a specific interface.

Format show interfaces traffic [unit/slot/port]
Mode Privileged EXEC

To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Field Description
Interface Name The interface associated with the data.
Congestion Drops (Pkts) The number of packets that were dropped on the interface because of congestion.
Tx Queue (Bytes) The number of bytes in the transmit queue.
Rx Queue (Bytes) The number of bytes in the receive queue.
Color Drops (Pkts) Green The number of green packets that were dropped.
Color Drops (Pkts) Yellow The number of yellow (conformed) packets that were dropped.
Color Drops (Pkts) Red The number of red (exceeded) packets that were dropped.
WRED Tx Queue (KB) The number of packets in the WRED transmit queue.
ECN Tx Queue (Pkts) The number of packets in the ECN transmit queue.

Command example:

CODE
(NETGEAR Switch)#show interfaces traffic
Intf    Congestion  Tx Queue Rx Queue Color Drops (Pkts)                WRED Tx       ECN Tx
Name    Drops(Pkts) (KB)      (KB) Green       Yellow     Red        Queue(KB) (Pkts)
------- ----------- -------- -------- ----------- ---------- ---------- ------------- --------
0/1               0        0       NA           0          0          0             0        0
0/2               0        0       NA           0          0          0             0        0
0/3               0        0       NA           0          0          0             0        0
0/4               0        0       NA           0          0          0             0        0
0/5               0        0       NA           0          0          0             0        0
0/6               0        0       NA           0          0          0             0        0
0/7               0        0       NA           0          0          0             0        0
0/8               0        0       NA           0          0          0             0        0
0/9               0        0       NA           0          0          0             0        0
0/10              0        0       NA           0          0          0             0        0
0/11              0        0       NA           0          0          0             0        0

Command example:

CODE
(NETGEAR Switch)#show interfaces traffic 1/0/1

Interface Name................................. 1/0/1
Congestion Drops(Pkts)......................... NA
Tx Queue(Bytes)................................ NA
Rx Queue(Bytes)................................ NA
Color Drops Green(Pkts)........................ NA
Color Drops Yellow(Pkts)....................... NA
Color Drops Red(Pkts).......................... NA
WRED Tx Queue(KB).............................. NA
ECN Tx(Pkts)................................... NA

CoS Queue statistics
CoS   Total Drops  Total      Peak       Current    Average
      (Pkts)       (KB)       (KB)       (KB)       (KB)
----- ------------ ---------- ---------- ---------- ----------
0               NA         NA         NA         NA         NA
1               NA         NA         NA         NA         NA
2               NA         NA         NA         NA         NA
3               NA         NA         NA         NA         NA
4               NA         NA         NA         NA         NA
5               NA         NA         NA         NA         NA
6               NA         NA         NA         NA         NA

show interfaces description

M4250

M4350

Use this command to display the description for a specific physical interface or for all physical interfaces.

The description of the interface is configurable through the existing command description name, which has a maximum length of 64 characters that is truncated to 28 characters in the output. The long form of the description can be displayed using show port description.

To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show interfaces description {unit/slot/port | all}
Mode Privileged EXEC

show interfaces diag

Use this command to provide debugging information about a specific interface with a single command. The “last reason code” is printed in the output if the link is down. Use the optional details keyword to display multiple details about the interface.

The command consolidates all information related to port flaps, which includes the following:

  • Administrative state and fault type (local or remote)
  • transceiver (voltage, power, and so on)
  • Software-driven disabling (such as “err-disabled” conditions)
  • Statistics

To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show interfaces diag unit/slot/port [details]
Mode Privileged EXEC

Command example:

The following output displays when the port is up.

CODE
(NETGEAR Switch)#show interfaces diag 1/0/4
Thu Jan 1 00:01:09 1970
1/0/4 is Up, line protocol is up
Description :
MTU 1500 bytes, BW 1000000 kbps
LineSpeed is 1000 Full, Auto-negotiation is on
Time Since Counters Last Cleared : 0 day 0 hr 0 min 17 sec
Link Down Event Counter : 0
input rate is 0 packet/sec, 0 bits/sec
output rate is 0 packet/sec, 0 bits/sec
Input statistics:
0 packets, 0 octets
0 Multicasts, 0 Broadcasts, 0 Unicasts
0 Errors, 0 Discarded, 0 Jabber
0 Overruns, 0 FCS, 0 Undersize
Output statistics:
23 packets, 4378 octets
23 Multicasts, 0 Broadcasts, 0 Unicasts
0 Output errors, 0 Collisions, 6 Discarded

Command example:

The following output displays when the port is locally shut down and therefore administratively down.

CODE
Sun Jan 4 18:05:16 1970
0/23 is Down, line protocol status is phy-link-down
Interface is Administratively Down.
Description : abcd
MTU 1500 bytes, BW 10000000 kbps
LineSpeed is 10G Full, Auto-negotiation is off
Time Since Counters Last Cleared : 3 day 18 hr 4 min 52 sec
Link Down Event Counter : 0
input rate is 0 packet/sec, 0 bits/sec
output rate is 0 packet/sec, 0 bits/sec
Input statistics:
0 packets, 0 octets
0 Multicasts, 0 Broadcasts, 0 Unicasts
0 Errors, 0 Discarded, 0 Jabber
0 Overruns, 0 FCS, 0 Undersize
Output statistics:
23 packets, 4378 octets
23 Multicasts, 0 Broadcasts, 0 Unicasts
0 Output errors, 0 Collisions, 6 Discarded

Command example:

The following output displays when the port is remotely shut down and therefore administratively down.

CODE
0/1 is Down, line protocol status is phy-link-down
Local Fault. Reason Code - 0x0
Description :
MTU 1500 bytes, BW 100000000 kbps
LineSpeed is 100G Full, Auto-negotiation is off
Time Since Counters Last Cleared : 3 day 0 hr 48 min 25 sec
Link Down Event Counter : 0
input rate is 0 packet/sec, 0 bits/sec
output rate is 0 packet/sec, 0 bits/sec
Input statistics:
0 packets, 0 octets
0 Multicasts, 0 Broadcasts, 0 Unicasts
0 Errors, 0 Discarded, 0 Jabber
0 Overruns, 0 FCS, 0 Undersize
Output statistics:
23 packets, 4378 octets
23 Multicasts, 0 Broadcasts, 0 Unicasts
0 Output errors, 0 Collisions, 6 Discarded

Command example:

The following output displays when the port is down because of an “err-disabled” condition.

CODE
0/1 is Down, line protocol status is err-disabled
Interface down by UDLD
Description :
MTU 1500 bytes, BW 100000000 kbps
LineSpeed is 100G Full, Auto-negotiation is off
Time Since Counters Last Cleared : 3 day 0 hr 48 min 25 sec
Link Down Event Counter : 0
input rate is 0 packet/sec, 0 bits/sec
output rate is 0 packet/sec, 0 bits/sec
Input statistics:
0 packets, 0 octets
0 Multicasts, 0 Broadcasts, 0 Unicasts
0 Errors, 0 Discarded, 0 Jabber
0 Overruns, 0 FCS, 0 Undersize
Output statistics:
23 packets, 4378 octets
23 Multicasts, 0 Broadcasts, 0 Unicasts
0 Output errors, 0 Collisions, 6 Discarded

show fiber-ports optics-diag

M4250

M4350

This command displays the diagnostics information of the SFP in raw data.

To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show fiber-ports optics-diag {all | unit/slot/port}
Mode Privileged EXEC

Command example:

CODE
(NETGEAR Switch) #show fiber-ports optics-diag all
Port 2/0/5
diag data =
52 00 f8 00 50 00 f9 00 89 1c 79 18 88 86 79 ae     R...P.....y...y.
96 64 08 ca 88 b8 0a be 31 2d 05 45 2b d4 05 ea     .d......1-.E+...
3d e9 00 b6 37 2d 00 e5 00 00 00 00 00 00 00 00     =...7-..........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00     ................
00 00 00 00 3f 80 00 00 00 00 00 00 01 00 00 00     ....?...........
01 00 00 00 01 00 00 00 01 00 00 00 00 00 00 50     ...............P
1d 7d 80 15 2c 15 16 08 00 00 00 00 00 00 02 00     .}..,...........
00 40 00 00 00 40 00 00 00 00 00 20 20 20 20 00     .@...@.....    .
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff     ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff     ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff     ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff     ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff     ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff     ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff     ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff     ................

show fiber-ports optics-eeprom

M4250

M4350

This command displays the Electrically Erasable Programmable Read-Only Memory (EEPROM) of the SFP.

To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show fiber-ports optics-eeprom {unit/slot/port | all}
Mode Privileged EXEC

Command example:

CODE
(NETGEAR Switch) #show fiber-ports optics-eeprom 1/0/3

Port 1/0/3
vendor_name = NETGEAR
vendor_sn   = A7N2018312
date_code   = 100625
vend_pn     = AXM761
vend_rev    = 10
eeprom data = 03 04 07 10 00 00 00 00 00 00 00 03 67 00 00 00     ............g...
08 03 00 1e 4e 45 54 47 45 41 52 20 20 20 20 20     ....NETGEAR
20 20 20 20 00 00 1f 22 41 58 4d 37 36 31 20 20         ..."AXM761
20 20 20 20 20 20 20 20 31 30 20 20 03 52 00 d2             10  .R..
00 1a 00 00 41 37 4e 32 30 31 38 33 31 32 20 20     ....A7N2018312
20 20 20 20 31 30 30 36 32 35 20 20 68 f0 03 ca         100625  h...
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff     ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00     ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff     ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff     ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff     ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff     ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff     ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff     ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff     ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff     ................

show fiber-ports optics-info

M4250

M4350

This command displays the SFP vendor related information like Vendor Name, Serial Number of the SFP, Part Number of the SFP. The values are derived from the SFP’s A0 table using the I2C interface.

To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show fiber-ports optics-info {all | unit/slot/port}
Mode Privileged EXEC
Field Description
Vendor Name The vendor name is a 16 character field that contains ASCII characters, left-aligned and padded on the right with ASCII spaces (20h). The vendor name shall be the full name of the corporation, a commonly accepted abbreviation of the name of the corporation, the SCSI company code for the corporation, or the stock exchange code for the corporation.
Length (50um, OM2) This value specifies link length that is supported by the transceiver while operating in compliance with applicable standards using 50 micron multimode OM2 [500MHz*km at 850nm] fiber. A value of zero means that the transceiver does not support 50 micron multimode fiber or that the length information must be determined from the transceiver technology.
Length (62.5um, OM1) This value specifies link length that is supported by the transceiver while operating in compliance with applicable standards using 62.5 micron multimode OM1 [200 MHz*km at 850nm, 500 MHz*km at 1310nm] fiber. A value of zero means that the transceiver does not support 62.5 micron multimode fiber or that the length information must be determined from the transceiver technology.
Vendor SN The vendor serial number (vendor SN) is a 16 character field that contains ASCII characters, left-aligned and padded on the right with ASCII spaces (20h), defining the vendor's serial number for the transceiver. A value of all zero in the 16-byte field indicates that the vendor SN is unspecified.
Vendor PN The vendor part number (vendor PN) is a 16-byte field that contains ASCII characters, left aligned and padded on the right with ASCII spaces (20h), defining the vendor part number or product name. A value of all zero in the 16-byte field indicates that the vendor PN is unspecified.
BR, nominal The nominal bit (signaling) rate (BR, nominal) is specified in units of 100 MBd, rounded off to the nearest 100 MBd. The bit rate includes those bits necessary to encode and delimit the signal as well as those bits carrying data information. A value of 0 indicates that the bit rate is not specified and must be determined from the transceiver technology. The actual information transfer rate will depend on the encoding of the data, as defined by the encoding value.
Vendor Rev The vendor revision number (vendor rev) contains ASCII characters, left aligned and padded on the right with ASCII spaces (20h), defining the vendor's product revision number. A value of all zero in this field indicates that the vendor revision is unspecified.

Command example:

CODE
(NETGEAR Switch) #show fiber-ports optics-info all

                         Link Link                                 Nominal
                       Length Length                                   Bit
                         50um 62.5um                                  Rate
Port     Vendor Name      [m] [m]  Serial Number    Part Number     [Mbps] Rev
-------- ---------------- --- ---- ---------------- ---------------- ----- ----
0/49     NETGEAR          8    3   A7N2018414       AXM761           10300 10
0/51     NETGEAR          8    3   A7N2018472       AXM761           10300 10
0/52     NETGEAR          8    3   A7N2018501       AXM761           10300 10

show mac-addr-table

M4250

M4350

This command displays the forwarding database entries. These entries are used by the transparent bridging function to determine how to forward a received frame.

Enter all or no parameter to display the entire table. Enter a MAC Address and VLAN ID to display the table entry for the requested MAC address on the specified VLAN. Enter the count parameter to view summary information about the forwarding database table.

To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.

Use the interface unit/slot/port parameter to view MAC addresses on a specific interface. Instead of unit/slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG interface, in which lag-intf-num is the LAG port number. Use the vlan vlan-id parameter to display information about MAC addresses on a specified VLAN.

Format show mac-addr-table [macaddr vlan-id | all | count | interface unit/slot/port | vlan vlan-id]
Mode Privileged EXEC

The following information displays if you do not enter a parameter, the keyword all, or the MAC address and VLAN ID.

Term Definition
VLAN ID The VLAN in which the MAC address is learned.
MAC Address A unicast MAC address for which the switch has forwarding and or filtering information. The format is 6 two-digit hexadecimal numbers that are separated by colons, for example 01:23:45:67:89:AB.
Interface The port through which this address was learned.
Interface Index This object indicates the ifIndex of the interface table entry associated with this port.
Status

The status of this entry. The meanings of the values are:

  • Static. The value of the corresponding instance was added by the system or a user when a static MAC filter was defined. It cannot be relearned.
  • Learned. The value of the corresponding instance was learned by observing the source MAC addresses of incoming traffic, and is currently in use.
  • Management. The value of the corresponding instance (system MAC address) is also the value of an existing instance of dot1dStaticAddress. It is identified with interface 0/1 and is currently used when enabling VLANs for routing.
  • Self. The value of the corresponding instance is the address of one of the switch’s physical interfaces (the system’s own MAC address).
  • GMRP Learned. The value of the corresponding instance was learned via GMRP and applies to Multicast.
  • Other. The value of the corresponding instance does not fall into one of the other categories.

If you enter vlan vlan-id, only the MAC Address, Interface, and Status fields appear. If you enter the interface unit/slot/port parameter, in addition to the MAC Address and Status fields, the VLAN ID field also appears.

The following information displays if you enter the count parameter.

Term Definition
Dynamic Address count Number of MAC addresses in the forwarding database that were automatically learned.
Static Address (User-defined) count Number of MAC addresses in the forwarding database that were manually entered by a user.
Total MAC Addresses in use Number of MAC addresses currently in the forwarding database.
Total MAC Addresses available Number of MAC addresses the forwarding database can handle.

process cpu threshold

M4250

M4350

Use this command to configure the CPU utilization thresholds. The Rising and Falling thresholds are specified as a percentage of CPU resources. The utilization monitoring time period can be configured from 5 seconds to 86400 seconds in multiples of 5 seconds. The CPU utilization threshold configuration is saved across a switch reboot. Configuring the falling utilization threshold is optional. If the falling CPU utilization parameters are not configured, then they take the same value as the rising CPU utilization parameters.

Format process cpu threshold type total rising threshold interval seconds [falling threshold interval seconds]
Mode Global Config
Term Description
rising threshold The percentage of CPU resources that, when exceeded for the configured rising interval, triggers a notification. The range is 1 to 100. The default is 0 (disabled).
rising interval seconds The duration of the CPU rising threshold violation, in seconds, that must be met to trigger a notification. The range is 5 to 86400. The default is 0 (disabled).
falling threshold

The percentage of CPU resources that, when usage falls below this level for the configured interval, triggers a notification. The range is 1 to 100. The default is 0 (disabled).

A notification is triggered when the total CPU utilization falls below this level for a configured period of time. The falling utilization threshold notification is made only if a rising threshold notification was previously done. The falling utilization threshold must always be equal or less than the rising threshold value. The CLI does not allow setting the falling threshold to be greater than the rising threshold.

falling interval seconds The duration of the CPU falling threshold, in seconds, that must be met to trigger a notification. The range is 5 to 86400. The default is 0 (disabled).

show process app-list

M4250

M4350

This command displays the user and system applications.

Format show process app-list
Mode Privileged EXEC
Field Description
ID The application identifier.
Name The name that identifies the process.
PID The number the software uses to identify the process.
Admin Status The administrative status of the process.
Auto Restart Indicates whether the process will automatically restart if it stops.
Running Status Indicates whether the process is currently running or stopped.

Command example:

CODE
(NETGEAR Switch) #show process app-list
                            Admin     Auto      Running
ID    Name            PID   Status    Restart   Status
---- ---------------- ----- --------- --------- -------
   1 dataplane        15309 Enabled   Disabled  Running
   2 switchdrvr       15310 Enabled   Disabled  Running
   3 syncdb           15314 Enabled   Disabled  Running
   4 lighttpd         18718 Enabled   Enabled   Running
   5 syncdb-test          0 Disabled  Disabled  Stopped
   6 proctest             0 Disabled  Enabled   Stopped
   7 user.start           0 Enabled   Disabled  Stopped

show process memory

M4250

M4350

This command displays memory consumption details by various software components.

Format show process memory
Mode Privileged EXEC
Field Description
Total The total available memory on the switch.
Free The free memory on the switch.
Allocated The allocated memory on the switch, excluding cache space used by the file system.
Components The internal software component.
CurrentAllocated The amount of memory that a component is using.
Change The increase or decrease of the memory that a component consumes since the last time this command was executed. This field shows the difference in memory allocation between two successive executions of the command.
MaxAllocated The maximum amount of memory allocation by a component.
Allocs/Frees The number of memory allocation and free calls made by a component.

show process cpu (M4250 series switch)

M4250

This command provides the percentage utilization of the CPU by different tasks. The optional threshold keyword displays CPU utilization and memory monitoring threshold information.

Note: A busy CPU might not be caused by traffic processing but by various tasks that run simultaneously.
Format show process cpu [threshold]
Mode Privileged EXEC
Parameter Description
Free The system-wide free memory.
Alloc The system-wide allocated memory (excluding cache, file system used space).
PID The process or thread ID.
Name The process or thread name.
5Secs The CPU utilization sampling in 5-second intervals.
60Secs The CPU utilization sampling in 60-second intervals.
300Secs The CPU utilization sampling in 300-second intervals.
Total CPU Utilization Total CPU utilization in percentage within the specified window of 5, 60, and 300 seconds.

Command example:

CODE
(NETGEAR Switch) #show process cpu
Memory Utilization Report
status      bytes
------ ----------
free    106450944
alloc   423227392

 CPU Utilization:

  PID      Name                    5 Secs     60 Secs    300 Secs
-----------------------------------------------------------------
  765    _interrupt_thread          0.00%       0.01%       0.02%
  767    bcmL2X.0                   0.58%       0.35%       0.28%
  768    bcmCNTR.0                  0.77%       0.73%       0.72%
  773    bcmRX                      0.00%       0.04%       0.05%
  786    cpuUtilMonitorTask         0.19%       0.23%       0.23%
  834    dot1s_task                 0.00%       0.01%       0.01%
  810    hapiRxTask                 0.00%       0.01%       0.01%
  805    dtlTask                    0.00%       0.02%       0.02%
  863    spmTask                    0.00%       0.01%       0.00%
  894    ip6MapLocalDataTask        0.00%       0.01%       0.01%
  908    RMONTask                   0.00%       0.11%       0.12%
-----------------------------------------------------------------
 Total CPU Utilization              1.55%       1.58%       1.50%

show process cpu (M4350 series switch)

M4350

This command provides the percentage utilization of the CPU by different tasks. The optional threshold keyword displays CPU utilization and memory monitoring threshold information.

For a switch stack, the all keyword lets you display the process information for all members in the stack. The number argument can be a number from 1 to 8 and lets you display the process information for a specific stack member.

Note: A busy CPU might not be caused by traffic processing but by various tasks that run simultaneously.
Format show process cpu [threshold | all | number]
Mode Privileged EXEC
Parameter Description
Free The system-wide free memory.
Alloc The system-wide allocated memory (excluding cache, file system used space).
PID The process or thread ID.
Name The process or thread name.
5Secs The CPU utilization sampling in 5-second intervals.
60Secs The CPU utilization sampling in 60-second intervals.
300Secs The CPU utilization sampling in 300-second intervals.
Total CPU Utilization Total CPU utilization in percentage within the specified window of 5, 60, and 300 seconds.

Command example:

CODE
(NETGEAR Switch) #show process cpu
Memory Utilization Report
status      bytes
------ ----------
free    106450944
alloc   423227392

 CPU Utilization:

  PID      Name                    5 Secs     60 Secs    300 Secs
-----------------------------------------------------------------
  765    _interrupt_thread          0.00%       0.01%       0.02%
  767    bcmL2X.0                   0.58%       0.35%       0.28%
  768    bcmCNTR.0                  0.77%       0.73%       0.72%
  773    bcmRX                      0.00%       0.04%       0.05%
  786    cpuUtilMonitorTask         0.19%       0.23%       0.23%
  834    dot1s_task                 0.00%       0.01%       0.01%
  810    hapiRxTask                 0.00%       0.01%       0.01%
  805    dtlTask                    0.00%       0.02%       0.02%
  863    spmTask                    0.00%       0.01%       0.00%
  894    ip6MapLocalDataTask        0.00%       0.01%       0.01%
  908    RMONTask                   0.00%       0.11%       0.12%
-----------------------------------------------------------------
 Total CPU Utilization              1.55%       1.58%       1.50%

show process proc-list

M4250

M4350

This application displays the processes started by applications created by the Process Manager.

Format show process proc-list
Mode Privileged EXEC
Parameter Description
PID The number the software uses to identify the process.
Process Name The name that identifies the process.
Application ID-Name The application identifier and its associated name.
Child Indicates whether the process has spawned a child process.
VM Size Virtual memory size.
VM Peak The maximum amount of virtual memory the process has used.
FD Count The file descriptors count for the process.

Command example:

CODE
(NETGEAR Switch) #show process proc-list

      Process         Application               VM Size  VM Peak
PID   Name            ID-Name              Chld  (KB)     (KB)    FD Count
---- ---------------- -------------------- ---- -------- -------- --------
15260 procmgr          0-procmgr            No       1984     1984        8
15309 dataplane        1-dataplane          No     293556   293560       11
15310 switchdrvr       2-switchdrvr         No     177220   177408       57
15314 syncdb           3-syncdb             No       2060     2080        8
18718 lighttpd         4-lighttpd           No       5508     5644       11
18720 lua_magnet       4-lighttpd           Yes     12112    12112        7
18721 lua_magnet       4-lighttpd           Yes     25704    25708        7

show running-config

M4250

M4350

Use this command to display or capture the current setting of different protocol packages supported on the switch. This command displays or captures commands with settings and configurations that differ from the default value. To display or capture the commands with settings and configurations that are equal to the default value, include the all option.

Note: The show running-config command does not display the User Password, even if you set one different from the default.

The output is displayed in script format, which can be used to configure another switch with the same configuration. If the optional scriptname is provided with a file name extension of .scr, the output is redirected to a script file.

Note: If you issue the show running-config command from a serial connection, access to the switch through remote connections (such as Telnet) is suspended while the output is being generated and displayed.
Note: If you use a text-based configuration file, the show running-config command only displays configured physical interfaces (i.e. if any interface only contains the default configuration, that interface will be skipped from the show running-config command output). This is true for any configuration mode that contains nothing but default configuration. That is, the command to enter a particular config mode, followed immediately by its exit command, are both omitted from the show running-config command output (and hence from the startup-config file when the system configuration is saved.)

Use the following keys to navigate the command output.

Key Action
Enter Advance one line.
Space Bar Advance one page.
q Stop the output and return to the prompt.

Note that --More-- or (q)uit is displayed at the bottom of the output screen until you reach the end of the output.

Format show running-config [all | scriptname]
Mode Privileged EXEC

show running-config interface

M4250

M4350

Use this command to display the running configuration for a specific interface. Valid interfaces include physical, LAG, loopback, and VLAN interfaces.

To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
Format show running-config interface {unit/slot/port | lag lag-intf-num | loopback loopback-id | vlan vlan-id}
Mode Privileged EXEC
Parameter Description
slot/port or unit/slot/port Displays the running configuration for the specified interface.
lag-intf-num Displays the running configuration for the LAG interface.
loopback-id Displays the running configuration for the loopback interface.
vlan-id Displays the running configuration for the VLAN routing interface.

Command example:

CODE
(NETGEAR Switch) #show running-config interface 0/1
!Current Configuration:
!
interface  0/1
addport 3/1
exit
(NETGEAR Switch) #

show startup-config | backup-config | factory-defaults

M4250

M4350

This command displays the content of text-based configuration files from the CLI. The text-based configuration files (startup-config, backup-config and factory-defaults) are saved compressed in flash. With this command, the files are decompressed while displaying their content.

Format show {startup-config | backup-config | factory-defaults}
Mode Privileged EXEC
Parameter Description
startup-config Display the content of the startup-config file.
backup-config Display the content of the backup-config file.
factory-defaults Display the content of the factory-defaults file.

Command example:

CODE
(NETGEAR Switch) #show startup-config

!Current Configuration:
!
!System Description "NETGEAR M4350-12X12F 12x10G Copper 12x10G SFP+ Managed Switch,
14.0.0.15, 1.0.0.4"
!System Software Version "14.0.0.15"
!System Up Time          "0 days 2 hrs 9 mins 16 secs"
!Additional Packages     QOS,Multicast,IPv6,IPv6 Management,Stacking,Routing
!Current System Time: Jun  6 22:34:10 2023
!
vlan database
vlan 20,30,40,50,60,70,80,90
vlan name 20 "Paris"
vlan name 30 "Berlin"
vlan name 40 "Amsterdam"
vlan name 50 "Brussels"
vlan name 60 "London"
vlan name 70 "Rome"
vlan name 80 "Vienna"
vlan name 90 "Stockholm"
vlan routing 1 1
exit
ip http session soft-timeout 60
configure
no sntp client mode
vlan 20
private-vlan primary
private-vlan association 30
exit
vlan 30
private-vlan isolated
exit
vlan 40
private-vlan community
exit
username "admin" password
d71397624a65c393a945222ee6640ed7d6058002605cd2f3797f32d0d9c8c568398280e355dda0408124144
6044a37283aa2aea40bf61d4350452dc35209ce9b level 15 encrypted
line console
exit
line telnet
exit
line ssh
exit
!
snmp-server user "admin" DefaultWrite auth-md5-key c8506f0595b9bda64a94be4867c677bb
interface 0/5
switchport private-vlan mapping trunk 70 80
exit
interface 0/7
switchport mode private-vlan trunk promiscuous
exit
interface 0/8
switchport mode private-vlan trunk secondary
exit
interface vlan 1
routing
ip address dhcp
exit
router rip
exit
capture usb appie
exception protocol ftp
exception switch-chip-register enable
exception dump ftp-server 10.12.13.14 username "admin" password "Password1!"
exit
ip http secure-session soft-timeout 60

dir

M4250

M4350

Use this command to list the files in flash from the CLI. For switch models that support a USB port, you can use the optional usb keyword to display the USB device status and details.

Format dir [usb]
Mode Privileged EXEC

Command example:

CODE
(NETGEAR Switch) #dir

    0  drwx                 2048 May 09 2002 16:47:30 .
    0  drwx                 2048 May 09 2002 16:45:28 ..
    0  -rwx                  592 May 09 2002 14:50:24 slog2.txt
    0  -rwx                   72 May 09 2002 16:45:28 boot.dim
    0  -rwx                    0 May 09 2002 14:46:36 olog2.txt
    0  -rwx             13376020 May 09 2002 14:49:10 image1
    0  -rwx                    0 Apr 06 2001 19:58:28 fsyssize
    0  -rwx                 1776 May 09 2002 16:44:38 slog1.txt
    0  -rwx                  356 Jun 17 2001 10:43:18 crashdump.ctl
    0  -rwx                 1024 May 09 2002 16:45:44 sslt.rnd
    0  -rwx             14328276 May 09 2002 16:01:06 image2
    0  -rwx                  148 May 09 2002 16:46:06 hpc_broad.cfg
    0  -rwx                    0 May 09 2002 14:51:28 olog1.txt
    0  -rwx                  517 Jul 23 2001 17:24:00 ssh_host_key
    0  -rwx                69040 Jun 17 2001 10:43:04 log_error_crashdump
    0  -rwx                  891 Apr 08 2000 11:14:28 sslt_key1.pem
    0  -rwx                  887 Jul 23 2001 17:24:00 ssh_host_rsa_key
    0  -rwx                  668 Jul 23 2001 17:24:34 ssh_host_dsa_key
    0  -rwx                  156 Apr 26 2001 13:57:46 dh512.pem
    0  -rwx                  245 Apr 26 2001 13:57:46 dh1024.pem
    0  -rwx                    0 May 09 2002 16:45:30 slog0.txt

show sysinfo

M4250

M4350

This command displays switch system information. The optional noMibs keyword lets you exclude MIBs information from the output.

Format show sysinfo [noMibs]
Mode Privileged EXEC
Field Definition
Switch Description Text used to identify this switch.
System Name Name used to identify the switch. The factory default is blank. To configure the system name, see snmp-server.
System Location Text used to identify the location of the switch. The factory default is blank. To configure the system location, see snmp-server.
System Contact Text used to identify a contact person for this switch. The factory default is blank. To configure the system location, see snmp-server.
System ObjectID The base object ID for the switch’s enterprise MIB.
System Up Time The time in days, hours and minutes since the last switch reboot.
Current SNTP Synchronized Time The system time acquired from a network SNTP server.
MIBs Supported A list of MIBs supported by this agent.

length

M4250

M4350

Use this command to set the pagination length to value number of lines for the sessions specified by configuring on different Line Config modes (Telnet, SSH, and console). The command is persistent. The number argument is a number in the range of 5–48 lines. Enter 0 to specify no pagination.

Default 24 lines per page
Format length number
Mode Line Config

no length

Use this command to set the pagination length to the default value number of lines.

Format no length
Mode Line Config

terminal length

M4350

Use this command to set the terminal pagination length to a particular number of lines for the current session. The number argument is a number in the range of 5–48 lines. This command configuration takes effect immediately on the current session and is nonpersistent.

Default 24 lines per page
Format terminal length number
Mode Privileged EXEC

no terminal length

Use this command to set the terminal length to the default value number of lines.

Format no terminal length
Mode Privileged EXEC

show terminal length

M4250

M4350

Use this command to display all the configured terminal length values.

Format show terminal length
Mode Privileged EXEC

Command example:

CODE
(NETGEAR Switch) #show terminal length
Terminal Length:
----------------------
For Current Session………………….24
For Serial Console…………………… 24
For Telnet Sessions………………….24
For SSH Sessions…………………….. 24

memory free low-watermark processor

M4250

M4350

Use this command to get notifications when the CPU free memory falls below the configured threshold. A notification is generated when the free memory falls below the threshold. Another notification is generated once the available free memory rises to 10 percent above the specified threshold. To prevent generation of excessive notifications when the CPU free memory fluctuates around the configured threshold, only one Rising or Falling memory notification is generated over a period of 60 seconds. The threshold is specified in kilobytes. The CPU free memory threshold configuration is saved across a switch reboot.

Format memory free low-watermark processor threshold
Mode Global Config
Parameter Description
threshold When CPU free memory falls below this threshold, a notification message is triggered. The range is 1–1017416 (the maximum available memory on the switch). The default is 0 (disabled).

mac-address-table notification change

M4250

M4350

This command enables the MAC notification feature and its parameters history-size and interval. MAC address notification lets you receive an SNMP trap or informational message when a MAC address is learned by the switch or the MAC address ages out of the MAC address table. MAC movement is treated as deletion of an entry on the old port, and addition of an entry on the new port.

Default

MAC address notification is disabled by default.

The default history size is 1.

The default notification interval is 1 second.

Format mac-address-table notification change [history-size size | interval seconds]
Mode Global Config
Parameter Description
history-size size The size of the MAC address table. The range is from 1 to 255.
interval seconds The SNMP trap notification interval. The range is from 1 to 2147483647.

no mac-address-table notification change

This command disables the MAC notification feature.

Format no mac-address-table notification change [history-size | interval]
Mode Global Config