I had to configure a Cisco Nexus 5K switch to be a trunk port and encountered an SFP validation failed error. I've checked the port is using a 10G SFP fiber optic but there was a typo error in the interface speed. After I hard coded the correct interface speed, the port went up afterwards.
N5K# show interface Ethernet1/32
Ethernet1/32 is down (SFP validation failed)
Dedicated Interface
Hardware: 1000/10000 Ethernet, address: 8c60.4f2b.1234 (bia 8c60.4f2b.1234)
Description: # TRUNK #
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA
Port mode is trunk
auto-duplex, 1000 Mb/s, media type is 10G
Beacon is turned off
Input flow-control is off, output flow-control is off
Rate mode is dedicated
Switchport monitor is off
EtherType is 0x8100
Last link flapped 96week(s) 6day(s)
Last clearing of "show interface" counters 543w6d
11 interface resets
30 seconds input rate 0 bits/sec, 0 packets/sec
30 seconds output rate 0 bits/sec, 0 packets/sec
Load-Interval #2: 5 minute (300 seconds)
input rate 0 bps, 0 pps; output rate 0 bps, 0 pps
RX
2065321971623 unicast packets 4764671933 multicast packets 142845790 broadcast packets
2070229489346 input packets 805314007316143 bytes
7349470453 jumbo packets 0 storm suppression bytes
0 runts 0 giants 0 CRC 0 no buffer
0 input error 0 short frame 0 overrun 0 underrun 0 ignored
0 watchdog 0 bad etype drop 0 bad proto drop 0 if down drop
0 input with dribble 0 input discard
0 Rx pause
TX
2209966729972 unicast packets 8503102832 multicast packets 2429472711 broadcast packets
2220899685878 output packets 1550671605050314 bytes
10754632287 jumbo packets
0 output error 0 collision 0 deferred 0 late collision
0 lost carrier 0 no carrier 0 babble 0 output discard
0 Tx pause
N5K# show run interface Ethernet1/32
!Command: show running-config interface Ethernet1/32
!Time: Thu May 15 04:55:25 2025
version 7.0(1)N1(1)
interface Ethernet1/32
description TRUNK
switchport mode trunk
speed 1000
N5K# show interface e1/32 transceiver
Ethernet1/32
transceiver is present
type is 10Gbase-SR
name is CISCO-FINISAR
part number is FTLX8571D1234-56
revision is A
serial number is FNS1123ABCD
nominal bitrate is 10300 MBit/sec
Link length supported for 50/125um OM2 fiber is 82 m
Link length supported for 62.5/125um fiber is 26 m
Link length supported for 50/125um OM3 fiber is 300 m
cisco id is --
cisco extended id number is 4
N5K# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
N5K(config)# interface Ethernet1/32
N5K(config-if)# speed ?
10 10Mb/s
100 100Mb/s
1000 1Gb/s
10000 10Gb/s
40000 40Gb/s
auto Auto negotiate speed
N5K(config-if)# speed 10000
N5K(config-if)# end
N5K# copy run start
[########################################] 100%
Copy complete, now saving to disk (please wait)...
N5K# show interface Ethernet1/32
Ethernet1/32 is up
Dedicated Interface
Hardware: 1000/10000 Ethernet, address: 8c60.4f2b.1234 (bia 8c60.4f2b.1234)
Description: # TRUNK #
MTU 1500 bytes, BW 10000000 Kbit, DLY 10 usec
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA
Port mode is trunk
full-duplex, 10 Gb/s, media type is 10G
Beacon is turned off
Input flow-control is off, output flow-control is off
Rate mode is dedicated
Switchport monitor is off
EtherType is 0x8100
Last link flapped 04:17:12
Last clearing of "show interface" counters 05:06:36
12 interface resets
30 seconds input rate 24 bits/sec, 0 packets/sec
30 seconds output rate 720 bits/sec, 0 packets/sec
Load-Interval #2: 5 minute (300 seconds)
input rate 24 bps, 0 pps; output rate 440 bps, 0 pps
RX
0 unicast packets 521 multicast packets 0 broadcast packets
521 input packets 51579 bytes
0 jumbo packets 0 storm suppression bytes
0 runts 0 giants 0 CRC 0 no buffer
0 input error 0 short frame 0 overrun 0 underrun 0 ignored
0 watchdog 0 bad etype drop 0 bad proto drop 0 if down drop
0 input with dribble 0 input discard
0 Rx pause
TX
0 unicast packets 8502 multicast packets 0 broadcast packets
8502 output packets 1343284 bytes
0 jumbo packets
0 output error 0 collision 0 deferred 0 late collision
0 lost carrier 0 no carrier 0 babble 0 output discard
0 Tx pause