That command will work if the port and the transceiver support Digital Diagnostic Monitoring Interface (DDMI).
If you issue the command on a port that does not support DDMI you will get an error message like this:
Port 3:1 This command is not supported on this port. All ports and
transceiver of the ports requested in the command need to support DDMI.If you issue the command on a port that supports DDMI, but the transceiver does not support it you will get an error message like this
Port 3:1 This media/transceiver does not support enhanced digital diagnostic
monitoring interface (DDMI). All ports and transceiver of the ports requested
in the command need to support DDMI.The command is available on the following platforms:
ā¢ BlackDiamond 8800ā10G8Xc, 10G4Xc modules and S-10G1Xc option cards with 10G XFP optics
ā¢ BlackDiamond 8900ā10G8X-xl modules and S-10G1Xc option cards with 10G XFP optics
ā¢ Summit X250e switchesāSFP ZX and LX100 optics
ā¢ Summit X450a, X450e switchesāSFP ZX and LX100 optics
ā¢ Summit X460 switchāSFP ZX and LX100 optics
ā¢ Summit X480 switches and X480 VIM2-10G4XāXFP and SFP ZX and LX100 optics
ā¢ Summit X650 switchesāSFP ZX and LX100 optics āSFP+ optics ER/LR
ā¢ Summit X670 switchesāSFP ZX and LX100 1G optics āSFP+ 10G optics