Sei sulla pagina 1di 5

M-Series M-Series (Mcdata) switches uses both web and CLI, the table below displays some but

not all the CLI commands. commadelim config login maint perf reserved show features ip logout port security snmp switch system Toggle comma-demlimited display mode configure settings login into CLI with different access rights maintenance settings Performance statistics reserved for future development display attributes configure feature settings configure IP settings logout of the CLI configure port data configure security settings configure snmp configure switch data configure system data

zoning confgiure zoning settings There are several commands that allow you to navigate through the switch "..", "ctrl-U" and "root" . M-Series (Mcdata) zoning commands are detailed in the below table showactive clearzone deletezone activezoneset addzone addwwnmem showpending renamezone deletewwn renamezoneset Zoning limits show actively running zoneSet clear WWN's in a zone remove zone from running config activation of changes add a new zone to the working area add a WWN to a zone show pending zones rename a zone delete a WWN from a zone rename a zone set

64 zone sets (max) 2000 zones (max) 1024 zones per zone set (max) deafult should all ways be disabled (causes all port to see each other creating ghosts in a FA's login table)

B-Series B-Series (Brocade) switches uses both web and CLI, the table below displays some but not all the CLI commands. help switchdisabled switchenable licensehelp diaghelp configure diagshow routehelp switchshow supportshow portshow # nsshow nsallshow fabricshow version reboot prints available commands disable the switch enable the switch license commands diagnostic commands change switch parameters (BB credits, etc) POST results since last boot routing commands display switch show (normally first command to run to obtain switch configuration) full detailed switch info display port info namesever contents NS for full fabric Fabric information firmware code revision full reboot with POST

fastboot reboot without POST B-Series (Brocade) zoning commands are detailed in the below table zonecreate (zone) zoneshow zoneadd zoneremove zonedelete cfgcreate (zoneset) cfgadd cfgshow cfgenable cfgsave cfgremove cfgdelete cfgclear create a zone shows defined and effective zones and configurations adds a member to a zone removes a member from a zone delete a zone create a zoneset configuration adds a zone to a zone configuration display the zoning information enable a zone set saves defined config to all switches in fabric across reboots removes a zone from a zone configuration deletes a zone from a zone configuration clears all zoning information (must disable the effective config first)

cfgdisable disables the effective zone set B-series creating a zone commands

Creating zone by WWN Create a zone configuration saving the zone configuration enable the zone configuration saving the zone configuration view zoning information MDS-Series

zonecreate "zone1", "20:00:00:e0:69:40:07:08 ; 50:06:04:82:b8:90:c1:8d" cfgcreate "test_cfg", "zone1 ; zone2" cfgsave (this will save across reboots) cfgenable "test_cfg" cfgsave zoneshow or cfgshow

B-Series (Cisco) switches uses both web and CLI, the table below displays some but not all the CLI commands, the ones highlighted will be the ones used most often. EXEC mode commands: attach bios callhome clear clock config debug discover exit fcping fctrace load no reload setup show system test write connect to a specific linecard BIOS related commands callhome commands reset functions manage the system clock enter configuration mode debug functions discover information exit ffrom the submode Ping a N_Port trace a route for a N_Port load system image disable debugging functions reboot the switch run the basic setup command facility display running system information system management commands test command write the current configuration

zone zoning server commands CONFIG mode commands: aaa config aaa

boot callhome clock fcalias fcanalyzer fcc fcdomain fcdroplatency fcflow fcinterop fcns fcroute fcs fctimer fspf interface ip no ntp power poweroff qos radius-server role snmp-server span ssh switchname system trunk username vsan zone

configure boot variables enter the callhome configuration mode configure time and date fcalias configuration commands configure fabric analyzer configure FCC congestion control enter the fcdomain configuration mode configure switch or network latency configure fcflow interop commands Name server configuration configure FC routes Configure fabric config server configure fibre channel timers configure fspf select an interface to configure configure IP features Negate a command or set its default NTP configuration configure power supply power off module in switch Configure priority of FC control frames configure radius related parameters configure roles configure snmp enter SPAN configuration mode configure ssh parameters configure systems network name system config command configure switch wide trunk protocol configure username information enter the vsan configuration mode zoning configuration commands

zoneset zoneset configuration commands There are several commands that allow you to navigate through the switch "cd", "copy", "dir", "find", "mkdir", "move", "rmdir" and "tail". MDS-series creating a zone

create a zone and place it in the vsan add a member (port wwn example) add a member (fabric port wwn example) add a member (FCID example hard zoning) add a member (FC alias example) MDS-series common commands

# zone name testzone1 vsan 4 # member pwwn 10:00:00:00:c9:21:40:b8 (port on the host) # member fwwn 10:01:10:01:10:ab:cd:ef (port on the switch) # member fcid 0x7f0000 (24 bit address) # member fcalias payroll

display logged in WWN, display vsan information display the specific vsan logins activatng a zoneset delete a zoneset configure the default zone display zones and zonsets copy active zone set to the full zone set

# show flogi database # show fcns database vsan 4 # zoneset activate name zone1 vsan 4 # clear zone dataabse vsan 4 # zone default-zone permit vsan 4 # show zoneset active # show zoneset # show zoneset active vsan 4 # zone copy active-zoneset full-zoneset vsan 4

distribute the full zoning database to others # zoneset distribute full vsan 4 switches

Potrebbero piacerti anche