Monday, April 29, 2013

NEXUS 5K FEX CHEAT SHEET



Nexus Switches-Nexus Cheat Sheet


Nexus is one of the dominant switches in data centers, most companies already rolled out Nexus Switches like 7k,5k and Fabric Extender 2k. Nexus 1k series is for low latency applications.
The following commands are normally used for Configuring/monitoring Nexus Switches.

Feature- add a feature in switch   feature ssh

Interface

Interface designation   - int eth slot#/port#
Channel-group # mode active/passive
Int po# ( port-channel)
Example
Channel-group 10 mode active
Int portchannel10
Switchport mode access

CAM table

To find the port of a host using mac address
show mac-address-table address [mac address]

FCOE
Enable fcoe mode
Int x/y
Fcoe mode on/auto
VFC
Interface vfc10
Bind interface e1/10

QOS For FCOE
Class-map class-fcoe
Match cos #

ZONING

VSAN- Virtual Storage Network
Zone name name vasn #
Member pwwn#,fcalias
Zoneset name
To activate
Zoneset activate name [zonename] vsan #

Example
int fc1/24
vsan database
vsan 102 interface fc1/24
vsan 202 wwn 10:00:00:00:c9:62:ab:a7 fcid 0x010027 dynamic
fcalias name SQL31_hba1_p0 vsan 102  
fcalias name SQL31_hba1_p0 vsan 102
    member pwwn 10:00:00:00:c9:62:ab:a7
zone name disql31_hba1_p0_4634_10f0 vsan 102
zoneset name Zoneset_B_01242012 vsan 102
zone sql31_hba1_p0_4634_10f0 to zoneset Zoneset_B_01242012 on VSAN 102
zoneset activate name Zoneset_B_01242012 vsan 102

FEX 

For example 2148T has 48x 1ge server ports and 4x10GE uplinks
It is managed by 5k or 7k
There is not PORT CHANNEL config from FEX to server ports
It appears as a line card of Nexus 5k
FEX config managed by 5k and local memory storage for the config
FEX is discovered by SDP protocol
Define number of uplinks
Conf t
Fex 100
Pinning max-links 4
Attach a FEX to interface
Conf t
Int e3/1
Switchport mode fex-fabric
fex associate 100
exit

verify FEX
show fex 100
or show fex 100 detail
other commands are
show inventory fex 100
show version fex 100
show environment fex 100
show diagnostic result fex 100
show logging onboard fex 100
reload fex 100
show tech-support fex 100
Attach fex
Attach fex 100






reset module in nexus switch
(config)# slot #



(config-slot)# port 9-16 type fc
(config-slot)# port 1-8 type ethernet
(config-slot)# copy running-config startup-config
(config-slot)# poweroff module 3
(config)# no poweroff module 3




No comments:

Post a Comment

Turn off pop notifications in chrome browser from major news outlets

 On Chrome browser, go to settings select privacy and security select site settings select Java Script Select Don't allow sites to use J...