Anda di halaman 1dari 4

20/03/2015

SANSwitchCheatSheet

SANSwitchcheatsheet
MSeries|BSeries|MDSSeries
MSeries
MSeries(Mcdata)switchesusesbothwebandCLI,thetablebelowdisplayssomebutnotalltheCLI
commands.
commadelim

Toggle commademlimited display mode

config

configure settings

login

login into CLI with different access rights

maint

maintenance settings

perf

Performance statistics

reserved

reserved for future development

show

display attributes

features

configure feature settings

ip

configure IP settings

logout

logout of the CLI

port

configure port data

security

configure security settings

snmp

configure snmp

switch

configure switch data

system

configure system data

zoning

confgiure zoning settings

Thereareseveralcommandsthatallowyoutonavigatethroughtheswitch"..","ctrlU"and"root".
MSeries(Mcdata)zoningcommandsaredetailedinthebelowtable
showactive

show actively running zoneSet

clearzone

clear WWN's in a zone

deletezone

remove zone from running config

activezoneset

activation of changes

addzone

add a new zone to the working area

addwwnmem

add a WWN to a zone

showpending

show pending zones

renamezone

rename a zone

deletewwn

delete a WWN from a zone

renamezoneset

rename a zone set

Zoninglimits
64zonesets(max)
2000zones(max)
1024zonesperzoneset(max)
deafultshouldallwaysbedisabled(causesallporttoseeeachothercreatingghostsinaFA'slogin
table)
BSeries
BSeries(Brocade)switchesusesbothwebandCLI,thetablebelowdisplayssomebutnotalltheCLI
http://www.datadisk.co.uk/html_docs/emc/emc_switch_cs.html

1/4

20/03/2015

SANSwitchCheatSheet

commands.
help

prints available commands

switchdisabled

disable the switch

switchenable

enable the switch

licensehelp

license commands

diaghelp

diagnostic commands

configure

change switch parameters (BB credits, etc)

diagshow

POST results since last boot

routehelp

routing commands

switchshow

display switch show (normally first command to run to obtain switch configuration)

supportshow

full detailed switch info

portshow #

display port info

nsshow

namesever contents

nsallshow

NS for full fabric

fabricshow

Fabric information

version

firmware code revision

reboot

full reboot with POST

fastboot

reboot without POST

BSeries(Brocade)zoningcommandsaredetailedinthebelowtable
zonecreate (zone)

create a zone

zoneshow

shows defined and effective zones and configurations

zoneadd

adds a member to a zone

zoneremove

removes a member from a zone

zonedelete

delete a zone

cfgcreate (zoneset)

create a zoneset configuration

cfgadd

adds a zone to a zone configuration

cfgshow

display the zoning information

cfgenable

enable a zone set

cfgsave

saves defined config to all switches in fabric across reboots

cfgremove

removes a zone from a zone configuration

cfgdelete

deletes a zone from a zone configuration

cfgclear

clears all zoning information (must disable the effective config first)

cfgdisable

disables the effective zone set

Bseriescreatingazonecommands
Creating zone by WWN

zonecreate"zone1","20:00:00:e0:69:40:07:0850:06:04:82:b8:90:c1:8d"

Create a zone configuration

cfgcreate"test_cfg","zone1zone2"

saving the zone configuration

cfgsave(thiswillsaveacrossreboots)

enable the zone configuration cfgenable"test_cfg"


saving the zone configuration

cfgsave

view zoning information

zoneshoworcfgshow

MDSSeries
BSeries(Cisco)switchesusesbothwebandCLI,thetablebelowdisplayssomebutnotalltheCLI
commands,theoneshighlightedwillbetheonesusedmostoften.
EXECmodecommands:
http://www.datadisk.co.uk/html_docs/emc/emc_switch_cs.html

2/4

20/03/2015

SANSwitchCheatSheet

attach

connect to a specific linecard

bios

BIOS related commands

callhome

callhome commands

clear

reset functions

clock

manage the system clock

config

enter configuration mode

debug

debug functions

discover

discover information

exit

exit ffrom the submode

fcping

Ping a N_Port

fctrace

trace a route for a N_Port

load

load system image

no

disable debugging functions

reload

reboot the switch

setup

run the basic setup command facility

show

display running system information

system

system management commands

test

test command

write

write the current configuration

zone

zoning server commands

CONFIGmodecommands:
aaa

config aaa

boot

configure boot variables

callhome

enter the callhome configuration mode

clock

configure time and date

fcalias

fcalias configuration commands

fcanalyzer

configure fabric analyzer

fcc

configure FCC congestion control

fcdomain

enter the fcdomain configuration mode

fcdroplatency

configure switch or network latency

fcflow

configure fcflow

fcinterop

interop commands

fcns

Name server configuration

fcroute

configure FC routes

fcs

Configure fabric config server

fctimer

configure fibre channel timers

fspf

configure fspf

interface

select an interface to configure

ip

configure IP features

no

Negate a command or set its default

ntp

NTP configuration

power

configure power supply

poweroff

power off module in switch

qos

Configure priority of FC control frames

radiusserver

configure radius related parameters

role

configure roles

snmpserver

configure snmp

span

enter SPAN configuration mode

ssh

configure ssh parameters

switchname

configure systems network name

http://www.datadisk.co.uk/html_docs/emc/emc_switch_cs.html

3/4

20/03/2015

SANSwitchCheatSheet

system

system config command

trunk

configure switch wide trunk protocol

username

configure username information

vsan

enter the vsan configuration mode

zone

zoning configuration commands

zoneset

zoneset configuration commands

Thereareseveralcommandsthatallowyoutonavigatethroughtheswitch"cd","copy","dir","find",
"mkdir","move","rmdir"and"tail".
MDSseriescreatingazone
create a zone and place it in the vsan

#zonenametestzone1vsan4

add a member (port wwn example)

#memberpwwn10:00:00:00:c9:21:40:b8(portonthehost)

add a member (fabric port wwn example)

#memberfwwn10:01:10:01:10:ab:cd:ef(portontheswitch)

add a member (FCID example hard zoning)

#memberfcid0x7f0000(24bitaddress)

add a member (FC alias example)

#memberfcaliaspayroll

MDSseriescommoncommands
display logged in WWN, display vsan information

#showflogidatabase

display the specific vsan logins

#showfcnsdatabasevsan4

activatng a zoneset

#zonesetactivatenamezone1vsan4

delete a zoneset

#clearzonedataabsevsan4

configure the default zone

#zonedefaultzonepermitvsan4

display zones and zonsets

#showzonesetactive
#showzoneset
#showzonesetactivevsan4

copy active zone set to the full zone set

#zonecopyactivezonesetfullzonesetvsan4

distribute the full zoning database to others switches

#zonesetdistributefullvsan4

http://www.datadisk.co.uk/html_docs/emc/emc_switch_cs.html

4/4

Anda mungkin juga menyukai