add cpo els cli show - #4647
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Hi, there are workflow run(s) waiting for approval, you may be first-time contributor. I will notify maintainers to help approve once PR is approved. Thanks! ---Powered by SONiC BuildBot
|
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
prgeor
left a comment
There was a problem hiding this comment.
@KroosMicas please add a new section in the cli doc:-
https://github.com/sonic-net/sonic-utilities/blob/master/doc/Command-Reference.md
for the ELSP dom.
@KroosMicas please add the new output for els |
Signed-off-by: Griffin Gao <griffin@micasnetworks.com>
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
@prgeor Revisions completed. |
Revisions completed. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Griffin Gao <griffin@micasnetworks.com>
|
This PR has backport request for branch(es): 202605,202608. ---Powered by SONiC BuildBot
|
|
This PR has backport request label(s) for branch(es): 202605,msft-202608, but is missing required test information. Please make sure you tick the tested branch(es) in the Tested branch section and provide test evidence (e.g., 202605: <test result>) in the Test result section as well in your PR description. ---Powered by SONiC BuildBot
|
|
Cherry-pick PR to msft-202608: Azure/sonic-utilities.msft#421 |
Signed-off-by: Griffin Gao <griffin@micasnetworks.com> Signed-off-by: Ramesh Raghupathy <ram@cisco.com>
What I did
add cpo els cli show
show interfaces transceiver eeprom -d
sfputil show eeprom -d
Which release branch to backport (provide reason below if selected)
How I did it
add cpo els key map
How to verify it
show interfaces transceiver eeprom -d
sfputil show eeprom -d
show interfaces transceiver status
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)
root@sonic:/# show interfaces transceiver eeprom -d Ethernet0
Ethernet0: SFP EEPROM detected
Active Firmware: N/A
Active application selected code assigned to host lane 1: 1
Active application selected code assigned to host lane 2: 1
Active application selected code assigned to host lane 3: 1
Active application selected code assigned to host lane 4: 1
Active application selected code assigned to host lane 5: 1
Active application selected code assigned to host lane 6: 1
Active application selected code assigned to host lane 7: 1
Active application selected code assigned to host lane 8: 1
Application Advertisement: 400GAUI-4-L C2M (Annex 120G) - Host Assign (0x11) - 400G-FR4/400GBASE-FR4 (Cl 151) - Media Assign (0x11)
200GAUI-4 C2M (Annex 120E) - Host Assign (0x11) - 200GBASE-FR4 (Cl 122) - Media Assign (0x11)
CAUI-4 C2M (Annex 83E) with RS(528,514) FEC - Host Assign (0x11) - 100G CWDM4 MSA Spec - Media Assign (0x11)
CMIS Rev: 5.2
Connector: LC
ELS Identifier: QSFP-DD Double Density 8X Pluggable Transceiver
ELS Laser Count: 8
ELS Maximum Power Consumption: 12.0
ELS Revision: 0.1
ELS Vendor Date Code(YYYY-MM-DD Lot): 2023-12-01
ELS Vendor Name: BROADCOM
ELS Vendor OUI: ec-01-e2
ELS Vendor PN: ARLM-96F8DMZ
ELS Vendor Rev: A0
ELS Vendor SN: FD2342VG04W
Encoding: N/A
Extended Identifier: Power Class 5 (8.0W Max)
Extended RateSelect Compliance: N/A
Host Lane Count: 4
Identifier: CPO Bailly
Inactive Firmware: N/A
Length Cable Assembly(m): 0.0
Media Interface Technology: Others
Media Lane Count: 4
Module Hardware Rev: 0.0
Nominal Bit Rate(100Mbs): N/A
RLM Laser Lpower Mode Control: 0
RLM Laser Wavelength Grid: CWDM4
Specification compliance: sm_media_interface
Vendor Date Code(YYYY-MM-DD Lot): 20
Vendor Name: BROADCOM
Vendor OUI: ec-01-e2
Vendor PN: BCM78909CPO
Vendor Rev: A0
Vendor SN:
is_replaceable: False
type_abbrv_name: QSFP-DD
vdm_supported: False
ChannelMonitorValues:
RX1Power: -40.0dBm
RX2Power: -40.0dBm
RX3Power: -40.0dBm
RX4Power: -40.0dBm
RX5Power: -40.0dBm
RX6Power: -40.0dBm
RX7Power: -40.0dBm
RX8Power: -40.0dBm
TX1Bias: 0.004mA
TX1Power: -40.0dBm
TX2Bias: 0.004mA
TX2Power: -40.0dBm
TX3Bias: 0.004mA
TX3Power: -40.0dBm
TX4Bias: 0.004mA
TX4Power: -40.0dBm
TX5Bias: 0.004mA
TX5Power: -40.0dBm
TX6Bias: 0.004mA
TX6Power: -40.0dBm
TX7Bias: 0.004mA
TX7Power: -40.0dBm
TX8Bias: 0.004mA
TX8Power: -40.0dBm
ChannelThresholdValues:
RxPowerHighAlarm : 7.0dBm
RxPowerHighWarning: 4.0dBm
RxPowerLowAlarm : -9.901dBm
RxPowerLowWarning : -5.901dBm
TxBiasHighAlarm : 162.5mA
TxBiasHighWarning : 156.248mA
TxBiasLowAlarm : 15.0mA
TxBiasLowWarning : 20.0mA
TxPowerHighAlarm : 7.0dBm
TxPowerHighWarning: 4.0dBm
TxPowerLowAlarm : -6.899dBm
TxPowerLowWarning : -2.9dBm
ModuleMonitorValues:
Temperature: 32.293C
Vcc: 3.298Volts
ModuleThresholdValues:
TempHighAlarm : 90.0C
TempHighWarning: 85.0C
TempLowAlarm : -5.0C
TempLowWarning : 0.0C
VccHighAlarm : 3.63Volts
VccHighWarning : 3.465Volts
VccLowAlarm : 2.97Volts
VccLowWarning : 3.135Volts
ELSMonitorValues:
RLM0_Laser4_current: 0.0 mA
RLM0_Laser4_power: 0.010 mW -20.000 dBm
RLM0_Laser5_current: 0.0 mA
RLM0_Laser5_power: 0.140 mW -8.539 dBm
RLM0_Laser6_current: 0.0 mA
RLM0_Laser6_power: 0.010 mW -20.000 dBm
RLM0_Laser7_current: 0.0 mA
RLM0_Laser7_power: 0.010 mW -20.000 dBm
ELS Temperature: 15.957C
ELS Vcc: 3.384Volts
ELSThresholdValues:
ELS TempHighAlarm: 0.0C
ELS TempHighWarning: 0.0C
ELS TempLowAlarm: 0.0C
ELS TempLowWarning: 0.0C
ELS TxBiasHighAlarm: 0.0mA
ELS TxBiasHighWarning: 0.0mA
ELS TxPowerHighAlarm: 0.0mW
ELS TxPowerHighWarning: 0.0mW
ELS TxPowerLowAlarm: 0.0mW
ELS TxPowerLowWarning: 0.0mW
ELS VccHighAlarm: 0.0Volts
ELS VccHighWarning: 0.0Volts
ELS VccLowAlarm: 0.0Volts
ELS VccLowWarning: 0.0Volts
root@sonic:/# show interfaces transceiver status Ethernet0
... (Omit the original print output.)
ELS temperature high alarm flag: False
ELS temperature low alarm flag: False
ELS temperature high warning flag: False
ELS temperature low warning flag: False
ELS Vcc high alarm flag: False
ELS Vcc low alarm flag: False
ELS Vcc high warning flag: False
ELS Vcc low warning flag: False
ELS module state: Low power mode
ELS interrupt status: Interrupt event occurred