N5K连接FEX测试

发布时间:2020-02-28 01:27:34 作者:1560202
来源:网络 阅读:1487

对于N5K可以满足如下的拓扑连接FEX,但是测试的时候,总是发现FEX无法连接成功,只有一个N5K的接口连接N2K可以显示Online。

N5K连接FEX测试

原因:该情况虽然N5K可以支持,但是需要先建立vPC,N2K才能在两台N5K都显示Online,因为对于N2K来说,上行它视作的是一台设备。


在完成上述测试前,先试了试static Pinning mode和Port-channel mode。

1、static Pinning mode

N5K连接FEX测试

switch(config)# fex 158
switch(config-fex)# pinning max-links 2
Change in Max-links will cause traffic disruption.

switch(config)# int ethernet 1/3, ethernet 1/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.1(4)N1(1) [Switch version: 7.1(4)N1(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/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/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  


测试Port-channel mode


switch(config)# default interface ethernet 1/1, ethernet 1/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 158 is offline

switch(config)# int ethernet 1/1, ethernet 1/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.1(4)N1(1) [Switch version: 7.1(4)N1(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


测试两台N5K连接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 1/17, ethernet 1/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/1
switch(config)# int e1/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 1/17, ethernet 1/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/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 = 240 seconds)

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 = 240 seconds)

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 = 240 seconds)

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
2# sho fex 2009 Aug 20 00:50:50 2 %$ VDC-1 %$ %PFMA-2-FEX_STATUS: Fex 100 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 = 240 seconds)

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

推荐阅读:
  1. MongoDB 连接测试
  2. 配置连接远程测试库(其他数据库)

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

nexus fex

上一篇:敏捷开发

下一篇:云计算学习路线图素材课件,Linux中软件安装的方式

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》