Check fiber optic code on the switch
In the Privileged EXEC mode of the switch, use the show fiber-ports-optical-transceiver command by entering the following: l interface interface-id - (Optional) Specify an Ethernet port ID. This article will guide you through the process of checking fiber optic cables in a Cisco switch, covering both physical inspection and software diagnostics. Before delving into software diagnostics, it is essential to perform a physical inspection of the fiber optic cables and connectors. If you run fiber or copper uplinks in a small office, home lab, or data closet, SFPs (and SFP+) are the little parts that keep your links alive. I know that "show cable-diag tdr int [slot/port]" command can check 10/100/1000 etherent link.
Read More