Some strange thing we came across the other day.
After the Power outage one of the Port-channels did not came up.
VPC consistency showed that the Port-channel has ports assigned on both Nexus Switches there should only be local ports connected.
Even the remote port was configured for a different port channel.
We ended up with removing the port channel 509 on the remote side and recreate the port channel.
show vpc consistency-parameters interface port-channel 509
Legend:
Type 1 : vPC will be suspended in case of mismatch
Name Type Local Value Peer Value
------------- ---- ---------------------- -----------------------
Shut Lan 1 No No
STP Port Type 1 Default Default
STP Port Guard 1 None None
STP MST Simulate PVST 1 Default Default
lag—id 1 [<ommited>]
mode 1 active on
Members 1 Ethernet2/2/1 Ethernet157/1/2
1
Speed 1 10 Gb/s 1000 Mb/s
Duplex 1 full full
Port Mode 1 trunk trunk
Native Vlan 1 1 1
MTU 1 1500 1500
Admin port mode 1 trunk trunk
Allowed VLANs - 1-10,15-20,30,37,99 1-10,15-20,30,37,9
Configuration
Local Port Channel
interface Port-Channel 509
end
Local Member
interface Ethernet2/2/1
switchport
switchport mode trunk
channel-group 509
end
Remote Port Channel
interface Port-Channel 509
end
Remote Port
interface Ethernet157/1/2
switchport
switchport mode trunk
channel-group 506
end
You can read more on LAGG here.

