Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

N5K connection FEX Test

2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

For N5K can meet the following topology connection FEX, but when testing, always found that FEX can not connect successfully, only one N5K interface connection N2K can display Online.

Reason: although N5K can support this situation, you need to establish a vPC,N2K before you can display Online on both N5K, because for N2K, the upstream is treated as a device.

Before completing the above tests, try static Pinning mode and Port-channel mode.

1 、 static Pinning mode

Switch (config) # fex 158

Switch (config-fex) # pinning max-links 2

Change in Max-links will cause traffic disruption.

Switch (config) # int ethernet 1max 3, ethernet 1max 1

Switch (config-if-range) # switchport mode fex-fabric

Switch (config-if-range) # fex associate 158

Switch# sho fex detail

FEX: 158 Description: FEX0158 state: Online

FEX version: 7.1N1 (1) [Switch version: 7.1N1 (1)]

FEX Interim version: 7.1 (4) N1 (1)

Switch Interim version: 7.1 (4) N1 (1)

Extender Serial: SSI15420LK0

Extender Model: N2K-C2248TP-1GE, Part No: 73-13232-01

Card Id: 99, Mac Addr: 0c:85:25:79:e5:02, Num Macs: 64

Module Sw Gen: 12594 [Switch Sw Gen: 21]

Post level: complete

Pinning-mode: static Max-links: 2

Fabric port for control traffic: Eth2/3

FCoE Admin: false

FCoE Oper: true

FCoE FEX AA Configured: false

Fabric interface state:

Eth2/1-Interface Up. State: Active

Eth2/3-Interface Up. State: Active

Fex Port State Fabric Port

Eth258/1/1 Down Eth2/1

Eth258/1/2 Down Eth2/1

Eth258/1/3 Down Eth2/1

Eth258/1/4 Down Eth2/1

Eth258/1/5 Down Eth2/1

Eth258/1/6 Down Eth2/1

Eth258/1/7 Down Eth2/1

Eth258/1/8 Down Eth2/1

Eth258/1/9 Down Eth2/1

Eth258/1/10 Down Eth2/1

Eth258/1/11 Down Eth2/1

Eth258/1/12 Down Eth2/1

Eth258/1/13 Down Eth2/1

Eth258/1/14 Down Eth2/1

Eth258/1/15 Down Eth2/1

Eth258/1/16 Down Eth2/1

Eth258/1/17 Down Eth2/1

Eth258/1/18 Down Eth2/1

Eth258/1/19 Down Eth2/1

Eth258/1/20 Down Eth2/1

Eth258/1/21 Down Eth2/1

Eth258/1/22 Down Eth2/1

Eth258/1/23 Down Eth2/1

Eth258/1/24 Down Eth2/1

Eth258/1/25 Down Eth2/3

Eth258/1/26 Down Eth2/3

Eth258/1/27 Down Eth2/3

Eth258/1/28 Down Eth2/3

Eth258/1/29 Down Eth2/3

Eth258/1/30 Down Eth2/3

Eth258/1/31 Down Eth2/3

Eth258/1/32 Down Eth2/3

Eth258/1/33 Down Eth2/3

Eth258/1/34 Down Eth2/3

Eth258/1/35 Down Eth2/3

Eth258/1/36 Down Eth2/3

Eth258/1/37 Down Eth2/3

Eth258/1/38 Down Eth2/3

Eth258/1/39 Down Eth2/3

Eth258/1/40 Down Eth2/3

Eth258/1/41 Down Eth2/3

Eth258/1/42 Down Eth2/3

Eth258/1/43 Down Eth2/3

Eth258/1/44 Down Eth2/3

Eth258/1/45 Down Eth2/3

Eth258/1/46 Down Eth2/3

Eth258/1/47 Down Eth2/3

Eth258/1/48 Down Eth2/3

Logs:

08/20/2009 00:29:36.490780: Module register received

08/20/2009 00:29:36.494678: Registration response sent

08/20/2009 00:29:36.520711: create module inserted event.

08/20/2009 00:29:36.521928: Module Online Sequence

08/20/2009 00:29:42.635136: Module Online

Switch# show fex

FEX FEX FEX FEX Fex

Number Description State Model Serial

158 FEX0158 Online N2K-C2248TP-1GE SSI15420LK0

Switch (config-if-range) # sho interface ethernet 1 Compact 1 fex-intf

Fabric FEX

Interface Interfaces

Eth2/1 Eth258/1/24 Eth258/1/23 Eth258/1/22 Eth258/1/21

Eth258/1/20 Eth258/1/19 Eth258/1/18 Eth258/1/17

Eth258/1/16 Eth258/1/15 Eth258/1/14 Eth258/1/13

Eth258/1/12 Eth258/1/11 Eth258/1/10 Eth258/1/9

Eth258/1/8 Eth258/1/7 Eth258/1/6 Eth258/1/5

Eth258/1/4 Eth258/1/3 Eth258/1/2 Eth258/1/1

Switch (config-if-range) # sho interface ethernet 1 Compact 3 fex-intf

Fabric FEX

Interface Interfaces

Eth2/3 Eth258/1/48 Eth258/1/47 Eth258/1/46 Eth258/1/45

Eth258/1/44 Eth258/1/43 Eth258/1/42 Eth258/1/41

Eth258/1/40 Eth258/1/39 Eth258/1/38 Eth258/1/37

Eth258/1/36 Eth258/1/35 Eth258/1/34 Eth258/1/33

Eth258/1/32 Eth258/1/31 Eth258/1/30 Eth258/1/29

Eth258/1/28 Eth258/1/27 Eth258/1/26 Eth258/1/25

Test Port-channel mode

Switch (config) # default interface ethernet 1 Compact 1, ethernet 1 Universe 3

2009 Aug 20 00:33:00 switch% $VDC-1% $% NOHMS-2-NOHMS_ENV_FEX_OFFLINE: FEX-158 Off-line (Serial Number SSI15420LK0)

2009 Aug 20 00:33:00 switch% $VDC-1% $% PFMA-2-FEX_STATUS: Fex 158is offline

Switch (config) # int ethernet 1 Compact 1, ethernet 1 Universe 3

Switch (config-if-range) # channel-group 1

Switch (config-if-range) # int po 1

Switch (config-if) # switchport mode fex-fabric

Switch (config-if) # fex 158

Switch (config) # fex 158

Switch (config-fex) # pinning max-links 1

Switch# sho fex

FEX FEX FEX FEX Fex

Number Description State Model Serial

158 FEX0158 Online N2K-C2248TP-1GE SSI15420LK0

Switch# sho fex detail

FEX: 158 Description: FEX0158 state: Online

FEX version: 7.1N1 (1) [Switch version: 7.1N1 (1)]

FEX Interim version: 7.1 (4) N1 (1)

Switch Interim version: 7.1 (4) N1 (1)

Extender Serial: SSI15420LK0

Extender Model: N2K-C2248TP-1GE, Part No: 73-13232-01

Card Id: 99, Mac Addr: 0c:85:25:79:e5:02, Num Macs: 64

Module Sw Gen: 12594 [Switch Sw Gen: 21]

Post level: complete

Pinning-mode: static Max-links: 1

Fabric port for control traffic: Eth2/3

FCoE Admin: false

FCoE Oper: true

FCoE FEX AA Configured: false

Fabric interface state:

Po1-Interface Up. State: Active

Eth2/1-Interface Up. State: Active

Eth2/3-Interface Up. State: Active

Fex Port State Fabric Port

Eth258/1/1 Down Po1

Eth258/1/2 Down Po1

Eth258/1/3 Down Po1

Eth258/1/4 Down Po1

Eth258/1/5 Down Po1

Eth258/1/6 Down Po1

Eth258/1/7 Down Po1

Eth258/1/8 Down Po1

Eth258/1/9 Down Po1

Eth258/1/10 Down Po1

Eth258/1/11 Down Po1

Eth258/1/12 Down Po1

Eth258/1/13 Down Po1

Eth258/1/14 Down Po1

Eth258/1/15 Down Po1

Eth258/1/16 Down Po1

Eth258/1/17 Down Po1

Eth258/1/18 Down Po1

Eth258/1/19 Down Po1

Eth258/1/20 Down Po1

Eth258/1/21 Down Po1

Eth258/1/22 Down Po1

Eth258/1/23 Down Po1

Eth258/1/24 Down Po1

Eth258/1/25 Down Po1

Eth258/1/26 Down Po1

Eth258/1/27 Down Po1

Eth258/1/28 Down Po1

Eth258/1/29 Down Po1

Eth258/1/30 Down Po1

Eth258/1/31 Down Po1

Eth258/1/32 Down Po1

Eth258/1/33 Down Po1

Eth258/1/34 Down Po1

Eth258/1/35 Down Po1

Eth258/1/36 Down Po1

Eth258/1/37 Down Po1

Eth258/1/38 Down Po1

Eth258/1/39 Down Po1

Eth258/1/40 Down Po1

Eth258/1/41 Down Po1

Eth258/1/42 Down Po1

Eth258/1/43 Down Po1

Eth258/1/44 Down Po1

Eth258/1/45 Down Po1

Eth258/1/46 Down Po1

Eth258/1/47 Down Po1

Eth258/1/48 Down Po1

Logs:

08/20/2009 00:29:36.490780: Module register received

08/20/2009 00:29:36.494678: Registration response sent

08/20/2009 00:29:36.520711: create module inserted event.

08/20/2009 00:29:36.521928: Module Online Sequence

08/20/2009 00:29:42.635136: Module Online

08/20/2009 00:33:00.259066: Deleting route to FEX

08/20/2009 00:33:00.267475: Module disconnected

08/20/2009 00:33:00.270590: Offlining Module

08/20/2009 00:33:00.271670: Module Offline Sequence

08/20/2009 00:33:00.641695: Module Offline

08/20/2009 00:36:31.556122: Module register received

08/20/2009 00:36:31.559315: Registration response sent

08/20/2009 00:36:31.584519: create module inserted event.

08/20/2009 00:36:31.585738: Module Online Sequence

08/20/2009 00:36:37.265084: Module Online

Test two N5K connections to N2K:

N5K-2:

Switch (config) # feature lacp

Switch (config) # feature vpc

Switch (config) # vp domain 10

Switch (config-vpc-domain) # role priority 70

Warning:

!!:: vPCs will be flapped on current primary vPC switch while attempting role change::!!

Note:

-: Change will take effect after user has re-initd the vPC peer-link::-

Switch (config-vpc-domain) # peer-keepalive destination 172.16.1.1 source 172.16.1.2 vrf management

Switch (config) # int ethernet 1max 17, ethernet 1max 27

Switch (config-if-range) # channel-group 10 mode active

Switch (config-if-range) # int po 10

Switch (config-if) # switchport mode trunk

Switch (config-if) # vpc peer-link

Please note that spanning tree port type is changed to "network" port type on vPC peer-link.

This will enable spanning tree Bridge Assurance on vPC peer-link provided the STP Bridge Assurance

(which is enabled by default) is not disabled.

Switch (config) # default interface ethernet 1 Compact 1

Switch (config) # int E1 Compact 1

Switch (config-if) # channel-group 20

Switch (config-if) # int po 20

Switch (config-if) # switchport mode trunk

Switch (config-if) # vpc 10

N5K-1:

1 (config-if) # vpc domain 10

1 (config-vpc-domain) # peer-keepalive destination 172.16.1.2 source 172.16.1.1

1 (config) # int ethernet 1max 17, ethernet 1max 27

1 (config-if-range) # channel-group 10 mode active

1 (config-vpc-domain) # int po 10

1 (config-if) # vpc peer-link

Please note that spanning tree port type is changed to "network" port type on vPC peer-link.

This will enable spanning tree Bridge Assurance on vPC peer-link provided the STP Bridge Assurance

(which is enabled by default) is not disabled.

1 (config-if) # int E1 Compact 1

1 (config-if) # channel-group 20

1 (config-if) # int po 20

1 (config-if) # switchport mode trunk

1 (config-if) # vpc 10

1 (config-if) # end

1# sho vpc

Legend:

(*) local vPC is down, forwarding via vPC peer-link

VPC domain id: 10

Peer status: peer adjacency formed ok

VPC keep-alive status: peer is alive

Configuration consistency status: success

Per-vlan consistency status: success

Type-2 consistency status: success

VPC role: secondary

Number of vPCs configured: 1

Peer Gateway: Disabled

Dual-active excluded VLANs:-

Graceful Consistency Check: Enabled

Auto-recovery status: Enabled (timeout = 240seconds)

VPC Peer-link status

Id Port Status Active vlans

1 Po10 up 1

VPC status

Id Port Status Consistency Reason Active vlans

10 Po20 down* success success-

2 (config) # sho vpc

Legend:

(*) local vPC is down, forwarding via vPC peer-link

VPC domain id: 10

Peer status: peer adjacency formed ok

VPC keep-alive status: peer is alive

Configuration consistency status: success

Per-vlan consistency status: success

Type-2 consistency status: success

VPC role: primary

Number of vPCs configured: 1

Peer Gateway: Disabled

Dual-active excluded VLANs:-

Graceful Consistency Check: Enabled

Auto-recovery status: Enabled (timeout = 240seconds)

VPC Peer-link status

Id Port Status Active vlans

1 Po10 up 1

VPC status

Id Port Status Consistency Reason Active vlans

10 Po20 up failed Compatibility check failed 1

For port mode

2 (config) # fex 100

2 (config-fex) # pinning max-links 1

Change in Max-links will cause traffic disruption.

2 (config-fex) # exit

2 (config) # int po 20

2 (config-if) # switchport mode fex-fabric

2 (config-if) # fex associate 100

2 (config) # sho vpc

Legend:

(*) local vPC is down, forwarding via vPC peer-link

VPC domain id: 10

Peer status: peer adjacency formed ok

VPC keep-alive status: peer is alive

Configuration consistency status: success

Per-vlan consistency status: success

Type-2 consistency status: success

VPC role: primary

Number of vPCs configured: 1

Peer Gateway: Disabled

Dual-active excluded VLANs:-

Graceful Consistency Check: Enabled

Auto-recovery status: Enabled (timeout = 240seconds)

VPC Peer-link status

Id Port Status Active vlans

1 Po10 up 1

VPC status

Id Port Status Consistency Reason Active vlans

10 Po20 up success success-

2# sho fex

FEX FEX FEX FEX Fex

Number Description State Model Serial

100 FEX0100 Online Sequence N2K-C2248TP-1GE SSI15420LK0

2# sho fex

FEX FEX FEX FEX Fex

Number Description State Model Serial

100 FEX0100 Online Sequence N2K-C2248TP-1GE SSI15420LK0

2# sho fex

FEX FEX FEX FEX Fex

Number Description State Model Serial

100 FEX0100 Online Sequence N2K-C2248TP-1GE SSI15420LK0

Sho fex 2009 Aug 20 00:50:50 2% $VDC-1% $% PFMA-2-FEX_STATUS: Fex 2009 is online

2009 Aug 20 00:50:50 2% $VDC-1% $% NOHMS-2-NOHMS_ENV_FEX_ONLINE: FEX-100 On-line

FEX FEX FEX FEX Fex

Number Description State Model Serial

100 FEX0100 Online N2K-C2248TP-1GE SSI15420LK0

1# sho fex

FEX FEX FEX FEX Fex

Number Description State Model Serial

100 FEX0100 Online N2K-C2248TP-1GE SSI15420LK0

1# sho vpc

Legend:

(*) local vPC is down, forwarding via vPC peer-link

VPC domain id: 10

Peer status: peer adjacency formed ok

VPC keep-alive status: peer is alive

Configuration consistency status: success

Per-vlan consistency status: success

Type-2 consistency status: success

VPC role: secondary

Number of vPCs configured: 49

Peer Gateway: Disabled

Dual-active excluded VLANs:-

Graceful Consistency Check: Enabled

Auto-recovery status: Enabled (timeout = 240seconds)

VPC Peer-link status

Id Port Status Active vlans

1 Po10 up 1

VPC status

Id Port Status Consistency Reason Active vlans

10 Po20 up success success-

101376 Eth200/1/1 down* Not Consistency Check Not-

Applicable Performed

101377 Eth200/1/2 down* Not Consistency Check Not-

Applicable Performed

101378 Eth200/1/3 down* Not Consistency Check Not-

Applicable Performed

101379 Eth200/1/4 down* Not Consistency Check Not-

Applicable Performed

101380 Eth200/1/5 down* Not Consistency Check Not-

Applicable Performed

101381 Eth200/1/6 down* Not Consistency Check Not-

Applicable Performed

101382 Eth200/1/7 down* Not Consistency Check Not-

Applicable Performed

101383 Eth200/1/8 down* Not Consistency Check Not-

Applicable Performed

101384 Eth200/1/9 down* Not Consistency Check Not-

Applicable Performed

101385 Eth200/1/10 down* Not Consistency Check Not-

Applicable Performed

101386 Eth200/1/11 down* Not Consistency Check Not-

Applicable Performed

101387 Eth200/1/12 down* Not Consistency Check Not-

Applicable Performed

101388 Eth200/1/13 down* Not Consistency Check Not-

Applicable Performed

101389 Eth200/1/14 down* Not Consistency Check Not-

Applicable Performed

101390 Eth200/1/15 down* Not Consistency Check Not-

Applicable Performed

101391 Eth200/1/16 down* Not Consistency Check Not-

Applicable Performed

101392 Eth200/1/17 down* Not Consistency Check Not-

Applicable Performed

101393 Eth200/1/18 down* Not Consistency Check Not-

Applicable Performed

101394 Eth200/1/19 down* Not Consistency Check Not-

Applicable Performed

101395 Eth200/1/20 down* Not Consistency Check Not-

Applicable Performed

101396 Eth200/1/21 down* Not Consistency Check Not-

Applicable Performed

101397 Eth200/1/22 down* Not Consistency Check Not-

Applicable Performed

101398 Eth200/1/23 down* Not Consistency Check Not-

Applicable Performed

101399 Eth200/1/24 down* Not Consistency Check Not-

Applicable Performed

101400 Eth200/1/25 down* Not Consistency Check Not-

Applicable Performed

101401 Eth200/1/26 down* Not Consistency Check Not-

Applicable Performed

101402 Eth200/1/27 down* Not Consistency Check Not-

Applicable Performed

101403 Eth200/1/28 down* Not Consistency Check Not-

Applicable Performed

101404 Eth200/1/29 down* Not Consistency Check Not-

Applicable Performed

101405 Eth200/1/30 down* Not Consistency Check Not-

Applicable Performed

101406 Eth200/1/31 down* Not Consistency Check Not-

Applicable Performed

101407 Eth200/1/32 down* Not Consistency Check Not-

Applicable Performed

101408 Eth200/1/33 down* Not Consistency Check Not-

Applicable Performed

101409 Eth200/1/34 down* Not Consistency Check Not-

Applicable Performed

101410 Eth200/1/35 down* Not Consistency Check Not-

Applicable Performed

101411 Eth200/1/36 down* Not Consistency Check Not-

Applicable Performed

101412 Eth200/1/37 down* Not Consistency Check Not-

Applicable Performed

101413 Eth200/1/38 down* Not Consistency Check Not-

Applicable Performed

101414 Eth200/1/39 down* Not Consistency Check Not-

Applicable Performed

101415 Eth200/1/40 down* Not Consistency Check Not-

Applicable Performed

101416 Eth200/1/41 down* Not Consistency Check Not-

Applicable Performed

101417 Eth200/1/42 down* Not Consistency Check Not-

Applicable Performed

101418 Eth200/1/43 down* Not Consistency Check Not-

Applicable Performed

101419 Eth200/1/44 down* Not Consistency Check Not-

Applicable Performed

101420 Eth200/1/45 down* Not Consistency Check Not-

Applicable Performed

101421 Eth200/1/46 down* Not Consistency Ch

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report