Brocade san switch commands
login into the server and find the wwn no. Connect the cable to switch (LC to LC) from server HBA port to one of the switch port.Ģ. just for eg and to understand the nomenclature, when you work independently.ġ. Now assume you have a server named “TRAINING” with two HBA hba1 and hba2 and a storage clarion with FE ports A0. Zoning Commands ( Preferably do it GUI unless so sure to do it CLI)īefore knowing the commands, keep in mind the storage (clarion), servers(to be zoned), switch (on which to do the zoning), every details. These are some of the basic commands for brocade switches, most of them, you wont be using much, Lot many have complete description behind them which can not be explained over here. agtcfgset – to configure snmp to send switch alerts to particular server. agtcfgshow – to check is snmp is configured or not.ģ0.
configupload – to take backup of switch configuration, very important.Ģ9. nscamshow – shows what exactly is there in cache that has not been saved yet in memory.Ģ8. portcfgshow – to check the port speed, configuration.Ģ7. Where can be 0 : autonegotiated, 1 : 1Gbit/sec, 2 : 2Gbit/sec.Ģ5. portcfgspeed, - to configure speed of particular port.Ģ4. portperfshow – to check performance of each switch port.Ģ3. portshow – displays status of all ports.Ģ2. portdisable & portenable, these can be used as a part of troubleshooting, say is HBA is connected to a particular switch port but it is not detecting, then you can try out disabling and enabling the switch port.Ģ1. switchstatusshow – displays overall status of the switch.Ģ0. tstimezone – for changing the timezone.ġ9. If time changes say ( day light savings), it would be difficult to change the time manually for each switch but change can be replicated to each switch by above command if there would be and NTP server configured.ġ8. It is very important to set the exact time (can’t explain here)and also it has a significance for environment having lot many switches. tsclockserver “IP of NTP server” – will synchronise the time as what is there in NTP server. switchname “newname” –to change the name of the switch.ġ6. switchname – displays the name of the switch.ġ5. userconfig -delete username – to delete the account for particular user.ġ4.
BROCADE SAN SWITCH COMMANDS PASSWORD
passwd username – to change the password for particular user.ġ3. userconfig -add username –r rolename – to create an account for particular user and rolename will define the previlleges eg admin, switchadmin, zoneadmin etc.ġ2. userconfig -show –a – will show all accounts in a switch.ġ1. fabricprincipal –f 1 – to make a particular switch as primary switch.ġ0. and 00 is fabric service (ALPA address).ĩ. Eg o/p would be (010000) where 01 is switch domain ID, 00 is port no. nsallshow – shows all name databases details i.e how many servers are connected and to which port. switchshow – gives WWN of switch and ports.Ĩ. version – gives version of fabric operating system.ĥ. Check on the case sensitivity using command “help” ( it will demonstrate all the possible commands)ġ.