This was driving me mad in the lab!
the task is simple, to configure a FC port channel between a n5k and a MDS. but no matter what I do, the fc ports will stay offline, or stuck at initialising.
My FC ISL trunk port channel just won't come up. :(
In the end, after 100% sure about my configuration, I decided to
save the config and reload the module in N5K (the fc ports are part of the unified port module) as suggested by my friend, then, it is working...
well, the order of operation is also mighty important, if you follow my tested step below, plus a reload of the n5k module, you should be fine.
==rough note: sample config ===
===mds ===
vsan database vsan ## int po# channel mode actsw tru mod on sw tr all vsan ## sw tr all vsan add## sw rate-mode dedicated ----------- > kindly thanks to Mitch to spot this missing-linesw mode E
no sh
int fc ##
channel-group # force no sh ==n5k===
**if you are using unified port module, mine is in slot 2 **
feature fcoe
slot 2 port ## type fc pow mod 2----wait a bit!------no pow mod 2 int san-po##chan mode acsw mode e sw tr mode on sw tr all vsan ##sw tr all vsan add ## no sh
int fc##channel-group ## force ====after this, you may see the dreaded "offline" or " intializing"for the fc ports,even after you flap the ports like crazy:
n5k-1(config-vsan-db)# sh int fc2/5
fc2/5 is
down (Offline) Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is ****
Admin port mode is E, trunk mode is on
snmp link state traps are enabled
Port vsan is 1
Receive data field Size is 2112
Beacon is turned off
Belongs to san-port-channel 10
1 minute input rate 48 bits/sec, 6 bytes/sec, 0 frames/sec
1 minute output rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
3 frames input, 396 bytes
0 discards, 0 errors
0 CRC, 0 unknown class
0 too long, 0 too short
0 frames output, 0 bytes
0 discards, 0 errors
0 input OLS, 0 LRR, 0 NOS, 0 loop inits
7 output OLS, 7 LRR, 0 NOS, 0 loop inits
last clearing of "show interface" counters never
mds-1(config-if)# sh int fc1/1
fc1/1 is down (
Initializing)
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:01:54:7f:ee:70:24:80
Admin port mode is E, trunk mode is on
snmp link state traps are enabled
Port vsan is 1
Receive data field Size is 2112
Beacon is turned off
Belongs to port-channel 10
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
5 minutes output rate 8 bits/sec, 1 bytes/sec, 0 frames/sec
1 frames input, 140 bytes
0 discards, 0 errors
0 CRC, 0 unknown class
0 too long, 0 too short
5 frames output, 652 bytes
0 discards, 0 errors
17 input OLS, 9 LRR, 2 NOS, 0 loop inits
9 output OLS, 0 LRR, 9 NOS, 0 loop inits
=====now it is time to save the config on n5k, and reload the module =====
copy run start
n5k-1(config)#
pow mod 2----------wait a bit-----------------------
n5k-1(config)#
no pow mod ----------wait a bit-----------------------
n5k-1(config)#
n5k-1(config)#
n5k-1(config)#
n5k-1(config)#
n5k-1(config)# sh int fc2/5
fc2/5 is
trunking Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is ***
Peer port WWN is *****
Admin port mode is E, trunk mode is on
snmp link state traps are enabled
Port mode is TE
Port vsan is 1
Speed is 4 Gbps
Transmit B2B Credit is 250
Receive B2B Credit is 16
Receive data field Size is 2112
Beacon is turned off
Belongs to san-port-channel 10
Trunk vsans (admin allowed and active) (1,100) Trunk vsans (up) (1,100) Trunk vsans (isolated) ()
Trunk vsans (initializing) ()
1 minute input rate 5608 bits/sec, 701 bytes/sec, 8 frames/sec
1 minute output rate 6080 bits/sec, 760 bytes/sec, 8 frames/sec
523 frames input, 42104 bytes
0 discards, 0 errors
0 CRC, 0 unknown class
0 too long, 0 too short
524 frames output, 45604 bytes
0 discards, 0 errors
0 input OLS, 1 LRR, 0 NOS, 0 loop inits
1 output OLS, 1 LRR, 0 NOS, 0 loop inits
last clearing of "show interface" counters never
16 receive B2B credit remaining
250 transmit B2B credit remaining
0 low priority transmit B2B credit remaining
Happy trunking!!