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.
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.ĥ. The information contained in this documentation is subject to change without notice.Check on the case sensitivity using command “help” ( it will demonstrate all the possible commands)ġ. Pure shall not be liable for incidental or consequential damages in connection with the furnishing, performance, or use of this documentation. This documentation is provided "as is" and all express or implied conditions, representations and warranties, including any implied warranty of merchantability, fitness for a particular purpose, or non-infringement, are disclaimed, except to the extent that such disclaimers are held to be legally invalid. Pure Storage may make improvements and/or changes in the Pure Storage products and/or the programs described in this documentation at any time without notice. No part of this documentation may be reproduced in any form by any means without prior written authorization from Pure Storage, Inc.
The Pure Storage products and programs described in this documentation are distributed under a license agreement restricting the use, copying, distribution, and decompilation/reverse engineering of the products. Third party names may be trademarks of their respective owners. © 2015-2021 Pure Storage® (“Pure”), Portworx® and associated its trademarks can be found here as and its virtual patent marking program can be found here.