Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
rahulctg
Participant
Jump to solution

How to check optical power on Maestro Orchestrators and SGMs

Hi,

Could someone help me with the command to check the optical powers on the MHO ports and SGMs please? 

[Expert@MHO:0]# ethtool -m dl121
Cannot get module EEPROM information: Operation not supported
[Expert@MHO:0]#
[Expert@MHO:0]# ethtool -m 1/31/1
Cannot get module EEPROM information: No such device
[Expert@MHO:0]#

[Expert@MHO:0]# mii-diag -g dl65
SIOCGMIIPHY on dl65 failed: Operation not supported
[Expert@MHO:0]#

[Expert@MHO:0]# ifconfig dl121
dl121 Link encap:Ethernet HWaddr 00:02:03:04:05:C0
UP BROADCAST RUNNING MULTICAST MTU:9216 Metric:1
RX packets:5770 errors:0 dropped:0 overruns:0 frame:0
TX packets:5770 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:911292 (889.9 KiB) TX bytes:980537 (957.5 KiB)

[Expert@MHO:0]#

Thanks!

0 Kudos
1 Solution

Accepted Solutions
Danny
Champion Champion
Champion

The third script runs mlxlink -d <device> -p <port> for each port.
If you dig a little deeper into the options of this command you should be able to find your solution.

View solution in original post

(1)
12 Replies
Chris_Atkinson
Employee Employee
Employee

Is this R81.20 and have you tried:

show interface <Name of Interface> xcvr

show interface <Name of Interface> xcvr_detail

CCSM R77/R80/ELITE
0 Kudos
rahulctg
Participant

Hi Chris,

I tried as well.

MHO> show interface

Mgmt1 Sync-ext Sync-int dl65 dl69 dl73 dl77 dl81 dl85 dl89 dl93 dl97 dl101 dl105 dl109
dl113 dl117 dl121 dl125 eth1-CIN1 lo swid0_eth
MHO> show interface dl117
state on
mac-addr 00:02:03:04:05:cc
type ethernet
link-state link up
mtu 9216
auto-negotiation off
speed N/A
ipv6-autoconfig Not configured
monitor-mode Not configured
duplex N/A
link-speed Not configured
comments
ipv4-address Not Configured
ipv6-address Not Configured
ipv6-local-link-address Not Configured

Statistics:
TX bytes:1009947 packets:5943 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:2968551 packets:5949 errors:0 dropped:0 overruns:0 frame:0

SD-WAN: Not Configured
MHO>
MHO> show interface dl117 xcv
xcvr - Show information about the transceiver in the specified interface
xcvr_detail - Show detailed information about the transceiver in the specified interface
MHO> show interface dl117 xcvr
Cannot get module EEPROM information: Operation not supported
Port Check Point Temp Voltage Laser Bias Transmit Rec LOS Transmitter
Certified (°C) (V) Current Power Power Fault
Transceiver (mA) (dBm) (dBm)
---- --- ----- ----- ------ ----- ----- --- -------
dl117 not a valid interface

MHO>
MHO> show interface dl117 xcvr_detail
dl117 not a valid interface

MHO>
MHO> show interface Sync-ext
state on
mac-addr b8:3f:d2:18:33:b2
type ethernet
link-state link up
mtu 1500
auto-negotiation off
speed N/A
ipv6-autoconfig Not configured
monitor-mode Not configured
duplex N/A
link-speed Not configured
comments
ipv4-address Not Configured
ipv6-address Not Configured
ipv6-local-link-address Not Configured

Statistics:
TX bytes:1011487183 packets:1884844 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:978883649 packets:1959606 errors:0 dropped:0 overruns:0 frame:0

SD-WAN: Not Configured
MHO>
MHO> show interface Sync-ext xcvr
Cannot get module EEPROM information: Operation not supported
Port Check Point Temp Voltage Laser Bias Transmit Rec LOS Transmitter
Certified (°C) (V) Current Power Power Fault
Transceiver (mA) (dBm) (dBm)
---- --- ----- ----- ------ ----- ----- --- -------
Sync-ext not a valid interface

MHO> show interface Sync-ext xcvr_
MHO> show interface Sync-ext xcvr_detail
Sync-ext not a valid interface

MHO>

0 Kudos
emmap
Employee
Employee

I think the command is under 'show maestro port X/Y/Z optic-info' or like that, tab through it and you'll find it.

0 Kudos
rahulctg
Participant

Nothing with tab neither:(

FW-MHO-1> show maestro port 1/30/1 optic-info
Physical Port: 1/30/1
Vendor Name: CP-PROLABS
Serial Number: "REMOVED"
Part Number: NA
Check Point Part Number:"REMOVED"
Enforcement: Supported
Check Point SKU: CPAC-TR-40SR-QSFP-BIDI
Material ID: "REMOVED"
Product Type: 40GBASE-SR-BiDi
Speed: 40G
FW-MHO-1>
FW-MHO-1> show maestro port 1/30/1 optic-info
FW-MHO-1> show maestro port 1/30/1 optic-info
FW-MHO-1>

0 Kudos
rahulctg
Participant

And yes correct, it is R81.20.

0 Kudos
rahulctg
Participant

Thanks Danny, however, I need it to check optical Tx/Rx power per port. With the above scripts, I only get inventory.

0 Kudos
Danny
Champion Champion
Champion

The third script runs mlxlink -d <device> -p <port> for each port.
If you dig a little deeper into the options of this command you should be able to find your solution.

(1)
rahulctg
Participant

Thanks Danny, I'm able to see the tx/rx power stats per port.

Just asking myself if it could be simpler to get tx/rx power from MHO, a key check during link troubleshooting?

0 Kudos
Danny
Champion Champion
Champion

Simpler than a one-liner?

0 Kudos
rahulctg
Participant

Hahaha. I meant that I used multiple commands before you proposed mxlink one(for which I do say big thanks again) while the document proposes otherwise. 

Monitoring Transceivers (checkpoint.com)

0 Kudos
Daniel_Szydelko
Collaborator
Collaborator

Hi,

mlxlink is described with examples in sk180812.

Br

Daniel.

0 Kudos