Mise en place d'un Fabric EXtender - Cisco Nexus 2000 serie
- Détails
- Catégorie : Cisco
- Publié le jeudi 28 mars 2013 15:26
- Écrit par Etienne ROCHEGUDE
- Affichages : 2928
Un FEX, Fabric EXtender, est une extension que l’on rajoute à un équipement Nexus afin d’avoir plus de capacité de trafic et également pour avoir plus de ports.
Les liens entre les Nexus et les FEX sont en 10Gbits/s. Les FEX se configurent directement depuis les NEXUS parents, ils sont autonomes et on ne peut pas directement les configurer. Il n’y a pas de port Console.
Tout d'abord on se connecte sur le VDC default.
On vérifie que le feature FEX est installé :
B2# show feature
Feature Name Instance State
-------------------- -------- --------
ldap 1 disabled
lldp 1 disabled
poap 1 disabled
privilege 1 disabled
scheduler 1 disabled
scpServer 1 disabled
sftpServer 1 disabled
sshServer 1 enabled
tacacs 1 disabled
telnetServer 1 disabled
B2# show feature-set
Feature Set Name ID State
-------------------- -------- --------
fcoe 1 uninstalled
fabricpath 2 uninstalled
fex 3 uninstalled
mpls 4 uninstalled
En l'occurence ici non, donc pour l'installer on tape :
B2# conf t
B2(config)# install feature-set fex
B2(config)# show feature-set
Feature Set Name ID State
-------------------- -------- --------
fcoe 1 uninstalled
fabricpath 2 uninstalled
fex 3 installed
mpls 4 uninstalled
Une fois qu'il est installé nous allons sur le VDC que l'on souhaite.
B2(config)# switchto vdc Prod
B2-Prod# configure terminal
B2-Prod# show feature-set
Feature Set Name ID State
-------------------- -------- --------
fcoe 1 disabled
fabricpath 2 disabled
fex 3 disabled
mpls 4 disabled
B2-Prod(config)# feature-set fex
B2-Prod(config)# show feature-set
B2-Prod# show feature-set
Feature Set Name ID State
-------------------- -------- --------
fcoe 1 disabled
fabricpath 2 disabled
fex 3 enabled
mpls 4 disabled
Sur chaque Cisco Nexus nous devons activer les différentes fonctions que nous voulons utiliser dans la configuration.
fex 101
pinning max-links 1
description "FEX101"
Ces commandes servent à déclarer les différents FEX que nous voulons y connecter.
Grace à ça on peut retrouver tous les ports des FEX quand celui ci sera opérationnel
On associe ensuite le FEX au port channel :
interface port-channel101
description FEX101
switchport
switchport mode fex-fabric
fex associate 101
Puis on associe les FEX à un port sur le NEXUS parent avec ces commandes :
interface Ethernet4/7
switchport
switchport mode fex-fabric
fex associate 101
channel-group 101
Le Channel-Group permet d’associer le port au vPC.
Une fois configuré on raccorde le FEX, celui-ci se mets à jour automatiquement et redémarre.
B2-Prod(config-if)# show fex
FEX FEX FEX FEX
Number Description State Model Serial
------------------------------------------------------------------------
101 FEX101 Image Download N2K-C2232TM-10GE SSI16500F2P
B2-Prod(config-if)# show fex
FEX FEX FEX FEX
Number Description State Model Serial
------------------------------------------------------------------------
101 FEX101 Offline N2K-C2232TM-10GE SSI16500F2P
B2-Prod(config-if)# show fex
FEX FEX FEX FEX
Number Description State Model Serial
------------------------------------------------------------------------
101 FEX101 Online N2K-C2232TM-10GE SSI16500F2P
Une fois le FEX redémarré nous retrouvons dans la configuration du switch Nexus parent les ports du Nexus lui même mais aussi ceux des FEX, comme ceci :
B2-Prod(config-if)# show fex detail
FEX: 101 Description: FEX101 state: Online
FEX version: 6.1(3) [Switch version: 6.1(3)]
FEX Interim version: (3)FE_0_47
Switch Interim version: 6.1(3)
Extender Model: N2K-C2232TM-10GE, Extender Serial: SSI16500F2P
Part No: 73-13626-03
Card Id: 164, Mac Addr: 0c:85:25:db:60:c2, Num Macs: 64
Module Sw Gen: 12594 [Switch Sw Gen: 21]
pinning-mode: static Max-links: 1
Fabric port for control traffic: Eth4/7
Fabric interface state:
Po101 - Interface Up. State: Active
Eth4/7 - Interface Up. State: Active
Fex Port State Fabric Port
Eth101/1/1 Down Po101
Eth101/1/2 Down Po101
Eth101/1/3 Down Po101
Eth101/1/4 Down Po101
Eth101/1/5 Down Po101
Eth101/1/6 Down Po101
Eth101/1/7 Down Po101
Eth101/1/8 Down Po101
Eth101/1/9 Down Po101
Eth101/1/10 Down Po101
Eth101/1/11 Down Po101
Eth101/1/12 Down Po101
Eth101/1/13 Down Po101
Eth101/1/14 Down Po101
Eth101/1/15 Down Po101
Eth101/1/16 Down Po101
Eth101/1/17 Down Po101
Eth101/1/18 Down Po101
Eth101/1/19 Down Po101
Eth101/1/20 Down Po101
Eth101/1/21 Down Po101
Eth101/1/22 Down Po101
Eth101/1/23 Down Po101
Eth101/1/24 Down Po101
Eth101/1/25 Down Po101
Eth101/1/26 Down Po101
Eth101/1/27 Down Po101
Eth101/1/28 Down Po101
Eth101/1/29 Down Po101
Eth101/1/30 Down Po101
Eth101/1/31 Down Po101
Eth101/1/32 Down Po101
Source : http://packetlife.net/blog/2012/mar/29/nexus-2200-fex-configuration/