LED Control

LED Control

1. Function Overview

This product includes the following LEDs and button on the main unit.

  • LED and button types

    LED type Description

    POWER LED

    Indicates the power supply status.

    microSD LED

    Indicates the microSD card connection and usage status.

    Port LED

    Indicate the LAN/SFP cable connection and usage status.

    MODE button

    Switches the LED mode.

    Stack ID display LED (7SEG LED)

    Displays the stack number. Only installed in the SWX2310P-28GT.

The layout of the LEDs and button is shown below.

image

2. Definition of Terms Used

Legend of port LED illumination

Port LED illumination mentioned in subsequent explanations are illustrated below.

  • Legend of port LED illumination
    image

3. Function Details

3.1. POWER LED

The POWER LED lamp indicates the product power supply status.
The power supply status indicated by each POWER LED illumination mode is described below.

  • Power supply status indicated by each POWER LED illumination mode

    POWER LED illumination mode Status

    Unlit

    Power is off.

    Flashing green

    Power is on and system is starting up.

    Steady green

    Power is on and system is operating normally.

    Steady orange

    Power is on and an error has occurred in the system.

When the following errors are detected, the POWER indicator illuminates steady orange.
Check the error that was detected and take the appropriate actions.

  • Fan stopped
    The fan that exhausts heat generated by the product has stopped.
    Immediately stop using the product and be sure to contact the dealer for inspection or service.

  • Temperature error inside the product
    The temperature inside the product is abnormal.
    Review the ambient conditions where installed and install the product correctly so that internal temperature is appropriate.

You can use the show environment command to check temperature and fan errors.

3.2. SD LED

The SD LED lamp indicates the microSD card connection and usage status.
The connection status indicated by each SD LED illumination mode is described below.

  • Connection status indicated by each SD LED illumination mode

    SD LED illumination mode Status

    Unlit

    Not available, because a microSD card is not inserted or unmounted.

    Flashing green

    The microSD card is being accessed.

    Steady green

    A microSD card is inserted and available for use.

Do not remove the microSD card while flashing green, because the microSD card is being accessed.

3.3. Port LED

3.3.1. Indicator modes and switching between them

This product offers the following five display modes.

Mode name MODE LED illumination status Function Overview

LINK/ACT mode

image

The left LED of LAN/SFP ports indicates the link status and the right LED indicates the connection speed.

PoE mode

image

Indicates the power supply status of the PoE power supply port.

VLAN mode

image

Indicates the VLAN IDs set for the LAN/SFP ports.

STATUS mode

image

Displays the error status of the LAN/SFP ports.

OFF mode

image

Switches off LAN/SFP port LEDs to minimize power consumption.

The display mode can be switched using the MODE button.
The flowchart below shows how to switch the indicator mode.

  • Switching the indicator mode (when the default LED mode is the LINK/ACT mode)
    image

The display mode after system startup and the display mode after error is resolved depend on the default LED mode setting.

If an error is detected by the following functions, the port LEDs automatically switch to the STATUS mode.

  • Loop detection

  • SFP optical reception level monitoring

  • PoE supply

Even if you press the MODE button when an error is detected, the product will remain in the STATUS mode. (No further action will be accepted until all errors have been resolved.)
When you press and hold the MODE button for three seconds in this status, all error conditions are reset and the LEDs switch to the indications according to the default LED mode settings.
(For details, refer to LED indications in STATUS mode.)

3.3.2. LED indications in LINK/ACT mode

In the LINK/ACT mode, port LEDs are illuminated as shown below.

  • LAN/SFP port link status

  • LAN/SFP port connection speed

The link status LED indications are shown below.

  • LAN/SFP port link status LED indications

    While link is down While link is up While forwarding data

    LAN port

    image
    (Off)

    image
    (Steady green)

    image
    (Flashing green)

    SFP port

    image
    (Off)

    image
    (Steady green)

    image
    (Flashing green)

The connection speed LED indications are shown below.

  • Connection speed LED indications for LAN/SFP ports

    10M Link 100M Link 1000M Link 10000M Link

    LAN port

    image
    (Off)

    image
    (Steady orange)

    image
    (Steady green)

    (None)

    SFP port

    (None)

    (None)

    image
    (Steady green)

    image
    (Steady green)

3.3.3. LED indications in PoE mode

In the PoE mode, the power supply status is indicated on the port LED of the port capable of PoE supply (hereinafter referred to as PoE port).
In the stack configuration, the display mode cannot be changed to the PoE mode.
The power supply ports for each model are as follows.

  • Power supply port by model

Model name

Power supply port

SWX2310P-10G

Ports #1 to #8

SWX2310P-18G

Ports #1 to #16

SWX2310P-28GT

Ports #1 to #24

The LED indications in the PoE mode are shown below.

  • Power supply port LED indications

    No power supply Power is being supplied

    LAN port

    image
    (Off)

    image
    (Steady green)

3.3.4. LED indications in VLAN mode

In the VLAN mode, the port LEDs indicate the VLAN association status.
In the stack configuration, the display mode cannot be changed to the VLAN mode.
The port LED illumination statuses are shown below.

  • Port LED illumination statuses in VLAN mode

    LAN/SFP port VLAN association status Port LED illumination status

    The port is not associated with any VLAN

    image
    (Off)

    The port is associated with one VLAN

    image
    The six lowest VLAN IDs are indicated in specific illumination patterns.
    All VLAN IDs from the 7th lowest one are indicated in an identical illumination pattern.

    The port is associated with multiple VLANs

    image
    (The port LEDs on the left and right are lit in steady orange)

  • The default VLAN (VLAN #1) is excluded from the subject of indication. It is not counted as an associated VLAN.

  • The VLAN association status does not depend on the link status of each LAN/SFP port. Ports in the link-down status are also included in the subject of indication.

  • VLAN IDs in the subject of indication are only those with associated LAN/SFP ports.
    Those for which only the VLAN IDs are defined (without associated LAN/SFP ports) are excluded from the subject of indication.

3.3.5. LED indications in STATUS mode

In STATUS mode, the port LEDs indicate the status of errors generated by the following product functions.

  • Loop detection

  • SFP optical reception level monitoring

  • PoE supply

  • Port LED indications in error status

    Normal state Loop detection or
    SFP optical Rx level abnormality
    PD error PoE system limit PoE port limit

    LAN port

    image
    (Off)

    image
    (Left LED flashing orange)

    image
    (Left LED steady orange)

    image
    (Right LED flashing orange)

    image
    (Right LED steady orange)

    SFP port

    image
    (Off)

    image
    (Left LED flashing orange)

    (None)

    (None)

    (None)

When the product detects an error, it overrides the current mode and switches to STATUS mode.
The following conditions trigger an error in respective functions.

  • Loop detection

    • Loop was detected, so port was blocked

    • Loop was detected, so port was shut down

  • SFP optical reception level monitoring

    • SFP optical reception level fell below the normal range

    • SFP optical reception level exceeded the normal range

  • PoE supply

    • Power supply stopped because the port limit (maximum power supply per port) exceeded

    • Power supply to low priority ports stopped because the system limit (maximum power supply of the entire system) exceeded

    • A PD error was detected

The cause of the error can be checked using the show error port-led command.

During active errors in the STATUS mode, LEDs will automatically switch to the default LED mode in the following states.

  • All of the following errors were resolved.

    • Blocked status due to loop detection is resolved.

    • Shutdown status due to loop detection is resolved.

      • The monitoring time elapsed after the shutdown due to loop detection.

      • The unit linked up after the no shutdown command was executed during shutdown due to loop detection.

    • SFP optical reception level recovered.

    • The PoE port error was resolved.

  • Press and hold the MODE button (for three seconds) to forcibly reset (clear) the error status.

3.3.6. LED indication for OFF mode

If the default LED mode is the OFF mode, the port LEDs remain off regardless of the link status.
Even if the default LED mode is OFF, if an error occurs then the mode automatically switches to the STATUS mode and displays the error status.

3.3.7. Changing the LED mode after system startup

This product enables the LED mode after system startup (the default LED mode) to be changed.
The initial default LED mode is set to LINK/ACT mode, but it can be changed using the led-mode default command.
However, the LED mode cannot be changed in the stack configuration.

You can check the default LED mode and the currently displayed LED mode using the show led-mode command.

If an active error is resolved in the STATUS mode, the mode is switched back to the default LED mode.

3.3.8. Other port LED indications

Regardless of the LED mode status, all port LEDs will illuminate as indicated below during startup initialization and firmware updates.

  • Other port LED indications

    Updating firmware Initializing

    LAN port

    image
    (Flashing green)

    image
    (Off)

    SFP port

    image
    (Flashing green)

    image
    (Steady orange)

3.4. Stack ID display LED

The stack ID display LED (7SEG LED) installed on the SWX2310P-28GT displays the stack ID in the stack configuration after the startup countdown is displayed.
If a stack is not configured, the number ‘1’ is displayed.
If an error occurs while a stack is configured, the letter ’E’ is displayed to indicate the error.

If the default LED mode is the OFF mode, the stack ID display LED is also switched off.

4. Related Commands

Related commands are indicated below.
For details on the commands, refer to the Command Reference.

Operations Operating commands

Show LAN/SFP port status

show interface

Show loop detection setting status

show loop-detect

Show VLAN information

show vlan brief

Set default LED mode

led-mode default

Show LED mode

show led-mode

Show port error status

show error port-led

5. Examples of Command Execution

5.1. Checking LAN/SFP port status

Use the show interface command to check the LAN/SFP port status.

Yamaha#show interface
show interface
Interface port1.1
  Link is UP
  Hardware is Ethernet
  HW addr: ac44.f23d.0b2c
  ifIndex 5001, MRU 1522
  Speed-Duplex: auto(configured), 1000-full(current)
  Auto MDI/MDIX: on
  Vlan info :
    Switchport mode        : access
    Ingress filter         : enable
    Acceptable frame types : all
    Default Vlan           :    1
    Configured Vlans       :    1
  Interface counter:
    input  packets          : 317111
           bytes            : 31387581
           multicast packets: 317074
    output packets          : 162694
           bytes            : 220469213
           multicast packets: 162310
           broadcast packets: 149
           drop packets     : 0
  :
(Shows information for all LAN ports)

5.2. Checking LAN/SFP port loop detection status

Check the LAN/SFP port loop detection status.

Yamaha#show loop-detect
loop-detect: Enable

loop-detect: Enable

port      loop-detect    port-blocking           status
-------------------------------------------------------
port1.1        enable           enable           Normal
port1.2        enable           enable           Normal
port1.3        enable           enable           Normal
port1.4        enable           enable           Normal
port1.5        enable           enable           Normal
port1.6        enable           enable           Normal
port1.7        enable           enable           Normal
port1.8        enable           enable           Normal
port1.9        enable           enable           Normal
port1.10       enable           enable           Normal
-------------------------------------------------------
(*): Indicates that the feature is enabled.

5.3. Set default LED mode

Set the default LED mode to the OFF mode.

Yamaha#configure terminal
Yamaha(config)#led-mode default off (1)
Yamaha(config)#exit
Yamaha#show led-mode (2)
default mode : off
current mode : off
1 Set default LED mode
2 Show LED mode