- Products
- Learn
- Local User Groups
- Partners
- More
Maestro Masters
Round Table session with Maestro experts
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!
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.
Is this R81.20 and have you tried:
show interface <Name of Interface> xcvr
show interface <Name of Interface> xcvr_detail
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>
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.
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>
And yes correct, it is R81.20.
Thanks Danny, however, I need it to check optical Tx/Rx power per port. With the above scripts, I only get inventory.
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.
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?
Simpler than a one-liner?
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.
Hi,
mlxlink is described with examples in sk180812.
Br
Daniel.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
User | Count |
---|---|
22 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY