This page lists every Brocade FOS command in Fabric OS 9.2.x, from A to Z: 415 commands. Each one has a plain-English line, a real example and a safety label. The command name links to its page in Broadcom’s official command reference, where you can see every option.

Looking for the commands you use every day? Start with Brocade FOS commands with examples, which groups them by job: ports, zoning, logs and firmware. To build a command with your own WWNs and zone names, use the Command Builder.

Check the badge before you press Enter. Read only commands only look. Changes config commands change the setup but keep traffic running. Danger commands can cut hosts off, reboot the switch or wipe settings.

Before you run any command, double-check it

The examples come from Broadcom’s Fabric OS 9.2.x command reference; they were not run on your switch. Some commands only exist on directors, extension platforms or FICON setups. Open the official page for the full options, run read-only commands first, and follow your change process for anything marked Changes config or Danger.


A

Command What it does Example Type
aaaConfig Sets how logins are checked: local, RADIUS, LDAP or TACACS+. aaaconfig --show Changes config
ag Turns Access Gateway mode on or off and manages it.Enabling AG mode reboots and clears zoning ag --show Danger
agAutoMapBalance Controls automatic rebalancing of F_Port mapping in Access Gateway mode.Access Gateway only agautomapbalance --show Changes config
agShow Lists Access Gateway devices known to the fabric. agshow --name CAGG62027 Read only
aliAdd Adds a WWN or port to an existing alias. aliadd "array1", "1,2" Changes config
aliCreate Creates an alias: a friendly name for one or more WWNs. alicreate "array1", "2,32; 2,33; 2,34" Changes config
aliDelete Deletes an alias. alidelete "array2" Changes config
aliRemove Removes a WWN or port from an alias. aliremove "array1", "3,5" Changes config
aliShow Shows aliases and the WWNs behind them. alishow "arr*" Read only
appServer Shows application server details registered in the fabric. appserver --domainInfo -domain 3 Read only
aptPolicy Shows or changes how traffic is routed across ISLs.Needs switchdisable to change aptpolicy Danger
auditCfg Chooses which events go to the audit log. auditcfg --class 2,3,8 Changes config
auditDump Shows the audit log, or clears it. auditdump --show Read only
authUtil Shows or sets switch-to-switch authentication (DH-CHAP). authutil --set -a dhchap Changes config

B

Command What it does Example Type
bannerSet Sets the login banner text on this switch. bannerset Changes config
bannerShow Shows the login banner text. bannershow Read only
bladeVerShow Shows FPGA firmware versions on blades.Director only bladevershow Read only

C

Command What it does Example Type
cfgActvShow Shows the zoning that is live right now. cfgactvshow Read only
cfgAdd Adds a zone to a zoning configuration. cfgadd "Test_cfg", "greenzone;bluezone" Changes config
cfgClear Deletes all defined zoning. cfgclear Danger
cfgCreate Creates a new zoning configuration. cfgcreate "USA_cfg", Changes config
cfgDelete Deletes a zoning configuration. cfgdelete "USA_cfg" Changes config
cfgDisable Turns off the live zoning configuration. cfgdisable Danger
cfgEnable Saves a configuration and makes it live across the fabric. cfgenable "USA_cfg" Danger
cfgRemove Removes a zone from a zoning configuration. cfgremove "Test_cfg", "bluezone" Changes config
cfgSave Saves defined zoning to flash without making it live. cfgsave Changes config
cfgShow Shows all zoning: defined and enabled. cfgshow "Test*" Read only
cfgSize Shows how much of the zoning database is used. cfgsize Read only
cfgTransAbort Throws away unsaved zoning changes. cfgtransabort Changes config
cfgTransShow Shows whether a zoning change is open and unsaved. cfgtransshow Read only
chassisBeacon Flashes the chassis LEDs so you can find it in the rack. chassisbeacon 1 Changes config
chassisDisable Takes every user port in the chassis offline. chassisdisable Danger
chassisDistribute Sends IP filter policies to other switches. chassisDistribute -db ipfilter -fid 128 Changes config
chassisEnable Brings every user port in the chassis back online. chassisenable Changes config
chassisName Shows or sets the chassis name. chassisname dilbert Changes config
chassisShow Lists chassis parts (FRUs) with serial numbers. chassisshow Read only
classConfig Shows the permission classes used by roles. classconfig --show -classlist Read only
cliHistory Shows the commands typed on the switch, with user and time. clihistory Read only
configDefault Resets non-persistent settings to factory defaults.Needs switchdisable configdefault -all Danger
configDownload Restores a saved configuration file to the switch.Full restore needs switchdisable configdownload Danger
configList Lists configuration files saved on the switch. configlist -local Read only
configRemove Deletes a configuration file saved on the switch. configremove -local first_config.txt Changes config
configShow Prints the switch configuration on screen. configshow Read only
configUpload Saves the switch configuration to a server or the switch. configupload Changes config
configure Menu for switch settings like domain ID and fabric parameters.Most changes need switchdisable configure Danger
configureChassis Menu for chassis-wide settings. configurechassis Changes config
creditRecovMode Sets buffer credit loss detection and recovery. creditrecovmode --cfg onLrOnly Changes config

D

Command What it does Example Type
dataTypeShow Shows data patterns used by diagnostic tests. datatypeshow Read only
date Shows or sets the switch date and time. date Changes config
defZone Sets what happens to devices in no zone: no access or all access. defzone --noaccess Danger
deviceLogin Shows and rebalances device logins on FI port groups. devicelogin --show Changes config
diagClearError Clears the failed status left by diagnostics. diagclearerror --slot 8 Changes config
diagDisablePost Turns off the power-on self-test. diagdisablepost Changes config
diagEnablePost Turns on the power-on self-test. diagenablepost Changes config
diagHelp Lists the diagnostic commands. diaghelp Read only
diagPost Shows the power-on self-test setting. diagpost -show Read only
diagShow Shows diagnostic status of ports and blades. diagshow Read only
diagStatus Shows diagnostic tests that are running now. diagstatus Read only
distribute Sends security or other data to switches in the fabric. distribute -p "SCC;DCC" -d "3;5" Changes config
dlsReset Turns off Dynamic Load Sharing. dlsreset Changes config
dlsSet Turns on Dynamic Load Sharing without dropping frames. dlsset Changes config
dlsShow Shows the Dynamic Load Sharing setting. dlsshow Read only
dnsConfig Shows, sets or removes DNS servers and domain. dnsconfig Changes config

E

Command What it does Example Type
enclosureShow Shows enclosure details of an embedded switch.Embedded switches enclosureShow slotid Read only
errClear Clears the error log. Run supportsave first.You lose evidence for support errclear Danger
errDelimiterSet Sets start and end markers on log messages. errdelimiterset Changes config
errDump Shows the whole error log at once, without paging. errdump --all Read only
errFilterSet Filters which messages go to a log destination. errfilterset Changes config
errModuleShow Lists the modules that write to the error log. errmoduleshow Read only
errShow Shows the error log one page at a time. errshow -a Read only
ethIf Shows or sets speed and duplex of the management port. ethif --set eth0 Changes config
extnCfg Sets the extension mode (FCIP, IP extension).Extension platforms only extncfg --show Danger
extnPerfMon Captures extension performance data to a file.Extension platforms only extnperfmon --status Read only

F

Command What it does Example Type
fabRetryShow Shows retry counts of fabric commands. fabretryshow Read only
fabRetryStats Shows or clears retry counts of fabric commands. fabretrystats --show Read only
fabricLog Shows the fabric event log; admins can clear or resize it. fabriclog -s Read only
fabricName Shows or sets the fabric name. fabricname --set newfabric Changes config
fabricNotification Shows congestion signal support and notification registrations. fabricnotification --show -all Read only
fabricPrincipal Chooses which switch should become principal.Can force a fabric rebuild fabricprincipal --enable -p 0xff Danger
fabricShow Lists every switch in the fabric with domain ID and IP. fabricshow Read only
fabStatsShow Shows fabric event counters. fabstatsshow Read only
factoryFanShow Shows fan sensor readings from the energy module. factoryfanshow Read only
factoryReset Wipes all settings back to factory default and reboots.Run configupload first factoryreset Danger
fanDisable Turns off a fan unit. fandisable 1 Danger
fanEnable Turns a fan unit back on. fanenable 1 Changes config
fanShow Shows fan status and speed. fanshow Read only
fastBoot Reboots the CP and skips the power-on self-test. fastboot Danger
fcipHelp Lists the FCIP commands.Extension platforms only fciphelp Read only
fcipLedTest Cycles the GbE port LEDs to test them.Extension platforms only fcipledtest --slot 4 Changes config
fcipPathTest Tests the FCIP data path.Extension platforms only fcippathtest --slot 2 Danger
fcLag Creates and manages FC link aggregation groups. fclag --show Changes config
FCoE Sets and shows FCoE settings.FCoE platforms only fcoe --show -fabric Changes config
fcPing Checks reachability of a device or between two devices over FC. fcping 10:xx:xx:xx:xx:xx:xx:xx 21:xx:xx:xx:xx:xx:xx:xx Read only
fcpLogClear Clears the FCP debug log. fcplogclear Changes config
fcpLogDisable Turns off the FCP debug log. fcplogdisable Changes config
fcpLogEnable Turns on the FCP debug log. fcplogenable Changes config
fcpLogShow Shows the FCP debug log. fcplogshow Read only
fcpProbeShow Shows FCP probe details for a port. fcpprobeshow 31 Read only
fcpRlsProbe Starts link status probing on F_Ports and shows the results. fcprlsprobe --start 21 Read only
fcpRlsShow Shows link status (RLS) counters for a port. fcprlsshow 21 Read only
fcrBcastConfig Shows or sets broadcast frame forwarding on the FC router.FC routing fcrbcastconfig --show Changes config
fcrConfigure Shows or sets FC router settings like backbone fabric ID.Needs switchdisable fcrconfigure --bbfid Danger
fcrEdgeshow Lists the fabric IDs behind each EX_Port.FC routing fcredgeshow Read only
fcrFabricShow Lists FC routers in the backbone fabric.FC routing fcrfabricshow Read only
fcrIclPathBWMonitor Sets bandwidth monitoring of ICL paths on EX_Ports.FC routing fcriclpathbwmonitor --enable Changes config
fcrLsanCount Shows or sets the maximum number of LSAN zones.FC routing fcrlsancount Changes config
fcrLsanMatrix Controls which edge fabrics share LSAN zones.FC routing fcrlsanmatrix --add -lsan 4 5 Changes config
fcrPhyDevShow Lists real devices seen by the FC router.FC routing fcrphydevshow Read only
fcrProxyConfig Shows or sets proxy devices the router presents.FC routing fcrproxyconfig Changes config
fcrProxyDevShow Lists proxy devices shared across fabrics.FC routing fcrproxydevshow Read only
fcrResourceShow Shows FC router resource usage.FC routing fcrresourceshow Read only
fcrRouterPortCost Shows or sets the cost of an FC router port.FC routing fcrrouterportcost Changes config
fcrRouteShow Shows FC router routes.FC routing fcrrouteshow Read only
fcrXlateConfig Sets translate domain IDs used by the FC router.FC routing fcrxlateconfig Changes config
fddCfg Controls how security data is shared across the fabric. fddcfg --showall Changes config
fdmiCacheShow Shows short HBA details for remote switches. fdmicacheshow Read only
fdmiShow Shows HBA details the hosts report: model, driver, firmware. fdmishow Read only
femDump Sends a small debug bundle to a server. femdump -u admin -h 192.0.2.0 -d temp/ss/femdump -l sftp Read only
ficonCfg Configures a FICON database.FICON only ficoncfg --set LIRR 27 Changes config
ficonClear Clears records from a FICON database.FICON only ficonclear RLIR Changes config
ficonCupSet Sets FICON CUP parameters.FICON only ficoncupset fmsmode enable Changes config
ficonCupShow Shows FICON CUP parameters.FICON only ficoncupshow fmsmode Read only
ficonHelp Lists the FICON commands.FICON only ficonhelp Read only
ficonShow Shows a FICON database.FICON only ficonshow RNID Read only
firmwareActivate Activates firmware staged with firmwaredownload -r. Reboots. firmwareactivate Danger
firmwareCleanInstall Reinstalls switch firmware to recover a broken image. firmwarecleaninstall Danger
firmwareCommit Copies the running firmware to the other partition. firmwarecommit Changes config
firmwareDownload Installs new firmware from a server, USB or local file. firmwaredownload -U v9.x.x Danger
firmwareDownloadStatus Shows the progress of a firmware download. firmwaredownloadstatus Read only
firmwareRestore Goes back to the previous firmware before it is committed. firmwarerestore Danger
firmwareShow Shows firmware on both partitions and download history. firmwareshow Read only
firmwareSync Copies firmware from the active CP to the standby CP.Director only firmwaresync Changes config
flow Creates and shows Flow Vision flows for monitoring and mirroring. flow --create myflow1 -feature mirror Changes config
fosConfig Shows or turns on features like Virtual Fabrics and FC routing.Changes can need a reboot fosconfig --show Danger
fosExec Runs a command on other switches or logical switches. fosexec --fid 10 -cmd "switchshow" Changes config
fpgaUpgrade Upgrades the FPGA firmware image. fpgaupgrade Danger
fpiProfile Shows or sets fabric performance impact thresholds. fpiprofile --show Changes config
frameLog Shows frames the switch discarded. framelog --status Read only
fruDump Collects FRU debug data to screen or a server. frudump -u admin -h 192.0.2.0 -d /temp/support -l scp Read only
fspfShow Shows FSPF routing protocol details. fspfshow Read only

G

Command What it does Example Type
gePortErrShow Shows errors on Ethernet (GbE/XGE) ports.Extension platforms only geporterrshow Read only
gePortPerfShow Shows throughput on Ethernet (GbE/XGE) ports.Extension platforms only geportperfshow Read only

H

Command What it does Example Type
haDisable Turns off high availability between CPs.Director only hadisable Danger
haDump Shows detailed high availability status. hadump Read only
haEnable Turns high availability back on. haenable Changes config
haFailover Makes the standby CP the active CP.Director only hafailover Danger
haReboot Reboots with high availability (non-disruptive where supported). hareboot Danger
haRedundancy Shows CP redundancy and uptime. haredundancy --show Read only
haShow Shows the state of the control processors. hashow Read only
haShutdown Stops HA services before a reboot. hashutdown Danger
help Lists commands, or shows help for one command. help -p Read only
history Shows the commands typed in this shell session. history Read only
historyLastShow Shows the latest entry in the parts (FRU) log. historylastshow Read only
historyMode Shows how the parts (FRU) log stores entries. historymode Read only
historyShow Shows the full parts (FRU) log: inserted and removed parts. historyshow Read only

I

Command What it does Example Type
iflShow Shows inter-fabric links.FC routing iflshow Read only
iodReset Turns off in-order delivery. iodreset Changes config
iodSet Turns on in-order delivery. iodset Changes config
iodShow Shows the in-order delivery setting. iodshow Read only
ipAddrSet Sets the management IP address, mask and gateway.You can lose your SSH session ipaddrset -ipv6 --add Danger
ipAddrShow Shows the management IP address, mask and gateway. ipaddrshow Read only
ipfilter Manages IP filter policies for management access.A wrong policy can lock you out ipfilter --create ex1 -type ipv6 Danger
ipsArpTable Shows the ARP table for IP storage.IP storage platforms ipsarptable --show Read only
ipsConfigurationSize Shows the IP storage configuration size.IP storage platforms ipsConfigurationSize --show Read only
ipsDiag Shows frame counters from IP storage diagnostics.IP storage platforms ipsdiag --showFrameStats Read only
ipsInterface Sets the native VLAN on Ethernet ports and LAGs.IP storage platforms ipsinterface --config 1/0/33 -nativeVlanID 985 Changes config
ipsLag Creates, changes or shows Ethernet link aggregation groups.IP storage platforms ipslag --create 1/LAG20 Changes config
ipsNeighborInfo Checks connectivity to an end device.IP storage platforms ipsneighborinfo 192.0.2.0 -vrfID 1 Read only
ipsPathVerify Checks the route between two IP addresses.IP storage platforms ipspathverify 10.10.11.3 10.10.14.3 -vrfid 1 Read only
ipsPing Pings an end device in a VRF.IP storage platforms ipsping 10.15.17.3 -vrfID 1 -sourceGateway 10.15.17.1 -size 100 -count 4 Read only
ipsReachable Summarises reachability of local devices per VRF.IP storage platforms ipsReachable -vrfID 9 Read only
ipsRouteTable Shows IP storage routes.IP storage platforms ipsroutetable --show Read only
ipsStaticArp Manages static ARP entries.IP storage platforms ipsstaticarp --create 192.0.10.23 985 Changes config
ipsStaticRoute Manages static routes for IP storage.IP storage platforms ipsstaticroute --create 192.0.1.1/30 192.1.2.3 -vrfid 10 -metric 55 Changes config
ipsTraceRoute Traces the route to an end device in a VRF.IP storage platforms ipstraceroute xx.xx.xx.xx -vrfID 9 Read only
ipsVlan Manages VLANs for IP storage.IP storage platforms ipsvlan --create 9 -vrfid 40 -interfaces 47/0/34 -gateway 192.0.10.23/28; Changes config
ipsVrf Creates, deletes and shows VRFs.IP storage platforms ipsvrf --create 15 Changes config
islShow Lists each inter-switch link with speed and the switch on the other end. islshow Read only
isnsConfig Sets iSNS server attributes.IP storage platforms isnsConfig --update 30 -server 40.40.40.40 Changes config
isnsDD Manages members of an iSNS discovery domain.IP storage platforms isnsDD --create dd.10_1 -vrfID 10 Changes config
isnsDDSet Manages iSNS discovery domain sets.IP storage platforms isnsDDSet --create dds.0_1 Changes config
isnsShow Shows storage nodes registered with iSNS.IP storage platforms isnsShow --device Read only
itemList Explains the syntax of parameter lists. itemlist Read only

K

Command What it does Example Type
killTelnet Ends an open Telnet session. killtelnet Changes config

L

Command What it does Example Type
lacp Shows or sets LACP parameters. lacp --config -sysprio 100 Changes config
ldapCfg Maps LDAP / Active Directory groups to switch roles. ldapcfg --show Changes config
lfCfg Configures and shows logical fabrics.Virtual Fabrics lfcfg --show -cfg Changes config
license Adds, removes or shows license keys. license --install -h 10.20.30.40 Changes config
linkCost Shows or sets the FSPF cost of a link. linkcost Changes config
lldp Shows or sets LLDP settings. lldp --show Changes config
logicalGroup Manages MAPS groups of ports or parts. logicalgroup --create CRITICAL_PORTS Changes config
logout Logs out of the shell. logout Read only
lsanZoneShow Shows LSAN zones used for FC routing.FC routing lsanzoneshow Read only
lsCfg Creates, deletes and configures logical switches.Virtual Fabrics lscfg --create 1 -base Danger
lsDbShow Shows the FSPF link state database. lsdbshow 1 Read only

M

Command What it does Example Type
mapsConfig Sets MAPS alerting: actions, email and decommission. mapsconfig --config pause -type port Changes config
mapsDb Shows the MAPS health dashboard, or clears it. mapsdb --show all Read only
mapsHelp Lists the MAPS commands. mapshelp Read only
mapsPolicy Creates, enables and shows MAPS policies. mapspolicy --create userPolicy Changes config
mapsRule Creates and shows MAPS monitoring rules. mapsrule --create crc_rule -monitor CRC Changes config
mapsSam Shows CPU, memory, flash and port usage reports. mapssam --show Read only
memShow Shows free and used memory. memshow Read only
mgmtApp Sets REST API session limits and keepalive. mgmtapp --config -maxrestsession 5 Changes config
motd Sets the chassis login banner. motd --set "This is a Changes config
msCapabilityShow Shows Management Server capabilities. mscapabilityshow Read only
msPlatShow Shows the Management Server platform database. msplatshow Read only
msPlatShowDBCB Shows the Management Server platform control block. msplatshowdbcb Read only
msPlClearDB Clears the platform database on every switch in the fabric. msplcleardb Changes config
msPlMgmtActivate Turns on the Management Server platform service. msplmgmtactivate Changes config
msPlMgmtDeactivate Turns off the Management Server platform service. msplmgmtdeactivate Changes config
msTdDisable Turns off Management Server topology discovery. mstddisable Changes config
msTdEnable Turns on Management Server topology discovery. mstdenable Changes config
msTdReadConfig Shows whether topology discovery is on. mstdreadconfig Read only
myId Shows details of your current login session. myid Read only

N

Command What it does Example Type
nbrShow Shows FSPF neighbour details. nbrshow 63 Read only
nbrStateShow Shows the state of FSPF neighbours. nbrstateshow 2/0 Read only
nbrStatsClear Resets FSPF interface counters. nbrstatsclear 1/0 Changes config
nodeFind Finds a WWN, port ID or alias anywhere in the fabric. nodefind 30:19:01:eb:1a:bb:6c:fd Read only
nodeWwn Manages user-added WWN vendor entries. nodewwn --add -vendor Cisco 20:00:8c:7c:ff:5e:a3:00 Changes config
nsAliasShow Shows devices on this switch, with their aliases. nsaliasshow Read only
nsAllShow Lists the port ID of every device in the fabric. nsAllShow Read only
nsCamShow Shows devices logged in to the other switches. nscamshow Read only
nsDevLog Manages the device login history log. nsdevlog --enable Changes config
nsShow Shows devices logged in to this switch. nsshow Read only
nsZoneMember Shows online devices zoned with a given device. nszonemember 021300 Read only
nsZoneShow Shows zone names known to the name server. nszoneshow -pid 0x010200 Read only

O

Command What it does Example Type
objServer Shows upper-layer object server registrations. objserver --show Read only
openSource Shows open source licences used in Fabric OS. opensource --show Read only

P

Command What it does Example Type
passwd Changes a user’s password. passwd Changes config
passwdCfg Sets password rules like length and expiry. passwdcfg --showall Changes config
pathBwConfig Shows and sets ISL and ICL bandwidth features. pathbwconfig --enable rebal Changes config
pathInfo Shows the route and stats along a path through the fabric. pathinfo 39 Read only
pdShow Shows data from a panic dump file. pdshow Read only
portAddress Assigns the lower 16 bits of a port’s FC address.Port must be disabled portaddress --bind 5/18 1a00 Danger
portBeacon Flashes a port’s LED so you can find it. portbeacon --enable 2/1 Changes config
portBufferCalc Calculates buffers a port needs for a distance and speed. portbuffercalc 9/4 Read only
portBufferShow Shows buffer usage per port group. portbuffershow 17 Read only
portCamShow Shows filter CAM usage per port. portcamshow 3/2 Read only
portCfg Manages settings on FC, VE and Ethernet ports. portcfg rscnsupr 2/4-7 --enable Changes config
portCfgAppHeader Turns application header removal on or off for a port. portcfgappheader 2 --enable Changes config
portCfgAutoDisable Manages auto-disable of a port on certain events. portcfgautodisable --disable 18 Changes config
portCfgBreakout Turns QSFP breakout mode on or off.Ports must be disabled portcfgbreakout --enable 8/60 Danger
portCfgCleanAddress Turns Clean Address bit support on or off.FICON portcfgcleanaddress --enable 1/0 Changes config
portCfgCompress Sets compression on a port.Port bounces portcfgcompress --enable 3/4 Danger
portCfgCongestionSignal Turns congestion signal primitives on or off. portcfgcongestionsignal --enable 0 Changes config
portCfgCreditRecovery Turns buffer credit recovery on or off for a port. portcfgcreditrecovery --enable 3/15 Changes config
portCfgDefault Resets a port to factory default settings.Port bounces portcfgdefault 1/3 Danger
portCfgDPort Sets a port as a D_Port for link testing.Port goes offline portcfgdport --enable 42 Danger
portCfgEncrypt Sets encryption on a port.Port bounces portcfgencrypt --enable 3/4 Danger
portCfgEport Allows or blocks E_Port (ISL) mode on a port. portcfgeport 1/3 0 Danger
portCfgEportCredits Sets buffer credits for a normal-distance E_Port.Port bounces portcfgeportcredits --enable 12/6 10 Danger
portCfgEXPort Sets a port as an EX_Port for FC routing.Port must be disabled portcfgexport 2/1 -f 5 -p 1 Danger
portCfgFaultDelay Sets the fault delay on an FC port. portcfgfaultdelay 2/3 1 Changes config
portCfgFec Turns Forward Error Correction on or off.Port bounces portcfgfec --enable -FEC 5/28 Danger
portCfgFlexPort Changes a port between Ethernet and Fibre Channel.Ports must be disabled portcfgflexport --proto eth 4/0 Danger
portCfgFlogiLogout Turns on base device logout on a port. portcfgflogilogout --enable 2/1 Changes config
portCfgFportBuffers Sets buffer credits for an F_Port.Port bounces portcfgfportbuffers --enable 2/44 12 Danger
portCfgGE Manages Ethernet port settings.Extension platforms only portcfgge --show Changes config
portCfgISLMode Turns ISL R_RDY mode on or off.Port bounces portcfgislmode 1/3, 1 Danger
portCfgLld Turns link latency measurement on or off.Gen 7 only portcfglld --enable 49 Changes config
portCfgLongDistance Sets a port for long-distance links.Port bounces portcfglongdistance 12/6 LS 1 -distance 100 Danger
portCfgLossTov Turns signal-loss debounce on or off. portcfglosstov 1/5 1 Changes config
portCfgMsAcl Controls Management Server access per port. portcfgmsacl --configure appsrvr Changes config
portCfgNPIVPort Turns NPIV on or off and sets the login limit.Port bounces portcfgnpivport --disable 7 Danger
portCfgNPort Turns N_Port mode on or off in Access Gateway.Access Gateway only portcfgnport 8 1 Danger
portCfgOctetSpeedCombo Sets the allowed speed mix for a group of 8 ports.Ports bounce portcfgoctetspeedcombo 3 -default Danger
portCfgPersistence Sets or removes the persistent-disable flag. portcfgpersistence --set -pe 2 Changes config
portCfgPersistentDisable Turns a port off and keeps it off after a reboot. portcfgpersistentdisable 2/4 Danger
portCfgPersistentEnable Removes a persistent disable and turns the port on. portcfgpersistentenable 2/4 Changes config
PortCfgQoS Turns QoS on or off on a port.Port bounces portcfgqos --enable 1/15-18 Danger
portCfgShow Shows port settings: speed, trunking, NPIV and more. portcfgshow 10/38 Read only
portCfgSpeed Sets a port’s speed in Gbps (0 = auto). Port bounces. portcfgspeed 2/3 10 Changes config
portCfgTdz Sets a port for target driven zoning. portcfgtdz --enable 8 Changes config
portCfgTrunkPort Turns trunking on (1) or off (0) on a port.Port bounces portcfgtrunkport 1/3, 1 Changes config
portChannel Shows or sets port channel parameters. portchannel --create dyn123 -type dynamic Changes config
portChannelShow Shows port channels to remote domains. portchannelshow Read only
portCmd Runs diagnostics on intelligent ports.Extension platforms only portcmd --ping 12/ge0.dp0 Read only
portDecom Takes an E_Port out of service without losing frames. portdecom 2/5 Danger
portDisable Turns a port off until enabled or rebooted. portdisable 2/4 Danger
portDPortTest Starts, stops or shows a D_Port link test.Port is out of service during test portdporttest --start Danger
portEnable Turns a port back on. portenable 2/4 Changes config
portEncCompShow Shows encryption and compression settings per port. portenccompshow Read only
portErrShow Shows error counters for every port in one table. porterrshow Read only
portFlagsShow Shows status flags for every port. portflagsshow Read only
portImpair Clears the impaired flag on a port and its peer. portimpair --clear 0 Changes config
portLedTest Cycles port LEDs to test them. portledtest --slot 1 -ports 213 Changes config
portLogClear Clears the port log. portlogclear Changes config
portLogConfigShow Shows the port log settings. portlogconfigshow Read only
portLogDisable Turns off the port log. portlogdisable Changes config
portLogDump Shows the port log without paging. portlogdump 10 Read only
portLogDumpPort Shows one port’s log without paging. portlogdumpport 14 Read only
portLogEnable Turns on the port log. portlogenable Changes config
portLogEventShow Shows which events the port log records. portlogeventshow Read only
portLoginShow Shows device logins on a port, and the last device that logged out. portloginshow 23 Read only
portLogReset Turns the port log back on. portlogreset Changes config
portLogResize Changes how many entries the port log keeps. portlogresize 17288 Changes config
portLogShow Shows the port log with paging. portlogshow 24 Read only
portLogShowPort Shows one port’s log with paging. portlogshowport 14 Read only
portLogTypeDisable Stops logging one type of port event. portlogtypedisable 2 Changes config
portLogTypeEnable Starts logging one type of port event. portlogtypeenable 2 Changes config
portLoopbackTest Runs a loopback test on a port.Port is out of service during test portloopbacktest Danger
portName Shows or sets a port’s name. portname 1/3 -n "Tape drive 8" Changes config
portPeerBeacon Flashes LEDs on both ends of a link to trace the cable. portpeerbeacon --enable 2/15 Changes config
portPerfShow Shows live throughput per port. portperfshow Read only
portShow Shows everything about one port: state, speed, WWN and counters. portshow 9 Read only
portStats64Show Shows a port’s 64-bit hardware counters. portstats64show 4/15 Read only
portStatsClear Resets a port’s hardware counters. portstatsclear 4/15 Changes config
portStatsShow Shows a port’s hardware counters, including CRC errors. portstatsshow 11 Read only
portTrunkArea Assigns a trunk area for F_Port trunking.Ports must be disabled porttrunkarea --enable 10-11 -index 11 Danger
portZoneShow Shows the zoning enforcement type per F_Port. portzoneshow Read only
powerOffListSet Sets the order in which slots power off.Director only powerofflistset Changes config
powerOffListShow Shows the order in which slots power off.Director only powerofflistshow Read only
psShow Shows power supply status. psshow Read only
psUtil Upgrades power supply firmware on X6 and X7 directors.Director only psutil --version --ps 1 Danger

R

Command What it does Example Type
rasAdmin Turns RASlog messages on or off. rasadmin --disable -log SULB-1001 Changes config
rasMan Shows the meaning of a RASlog message ID. rasman ZONE-3009 Read only
reBoot Reboots the switch or CP. All ports go down. reboot Danger
relayConfig Sets the email relay host for alerts. relayconfig --config -rla_ip 192.0.2.0 Changes config
roleConfig Creates and manages custom user roles. roleconfig --add myzonesec Changes config
ron Shows or sets the registered organization name. ron --set "XXXX_Organization" Changes config
routeHelp Lists the routing (FSPF) commands. routehelp Read only

S

Command What it does Example Type
sBoot Shows secure boot information. sboot --show Read only
sddQuarantine Shows or clears quarantined slow-drain ports. sddquarantine --clear 33 Changes config
secActiveSize Shows the size of the active security database. secactivesize Read only
secAuthSecret Manages DH-CHAP shared secrets. secauthsecret --show Changes config
secCertMgmt Imports, exports and shows certificates. seccertmgmt generate -cert https -type rsa Changes config
secCryptoCfg Shows and sets crypto settings like TLS and SSH ciphers. seccryptocfg --replace -type SSH -cipher Changes config
secDefineSize Shows the size of the defined security database. secdefinesize Read only
secPolicyAbort Throws away unsaved security policy changes. secpolicyabort Changes config
secPolicyActivate Saves and activates the security policies.A wrong policy can block devices or access secpolicyactivate Danger
secPolicyAdd Adds members to a security policy. secpolicyadd "SCC_POLICY", Changes config
secPolicyCreate Creates a security policy. secpolicycreate "FCS_POLICY", "3; 4" Changes config
secPolicyDelete Deletes a security policy. secpolicydelete "DCC_POLICY_ab1" Changes config
secPolicyDump Shows members of security policies. secpolicydump Read only
secPolicyFCSMove Changes the order of switches in the FCS policy. secpolicyfcsmove Changes config
secPolicyRemove Removes members from a security policy. secpolicyremove "SCC_POLICY", Changes config
secPolicySave Saves security policies without activating them. secpolicysave Changes config
secPolicyShow Shows security policies, including FCS. secpolicyshow "active","FCS_POLICY" Read only
secStatsReset Resets security counters to zero. secstatsreset Changes config
secStatsShow Shows security counters. secstatsshow LOGIN Read only
sensorShow Shows all sensor readings: temperature, fans, power. sensorshow Read only
setContext Moves your session into a logical switch by fabric ID.Virtual Fabrics setcontext 20 Read only
setVerbose Sets the debug detail level of a module. setverbose NS 3 Changes config
sfpProgram Tunes SFP receiver settings for the link partner. sfpprogram 17 Changes config
sfpShow Shows SFP type, speed and RX/TX light levels. sfpshow -health Read only
sfpUpgrade Upgrades SFP firmware. sfpupgrade 15 Danger
shellFlowControlDisable Turns off XON/XOFF on the console port. shellflowcontroldisable Changes config
shellFlowControlEnable Turns on XON/XOFF on the console port. shellflowcontrolenable Changes config
slotCfg Recovers faulted blades and resets them to default.Director only slotcfg --default 12 Danger
slotCfgPersistence Sets or removes the persistent-disable flag on a slot.Director only slotcfgpersistence --poweroff 8 Danger
slotPowerOff Powers off a blade slot.Director only slotpoweroff 3 Danger
slotPowerOn Powers a blade slot back on.Director only slotpoweron 3 Changes config
slotShow Shows the status of every slot.Director only slotshow Read only
slotStatsClear Clears hardware counters for ports in a slot. slotstatsclear Changes config
snmpConfig Manages SNMP communities, users and trap targets. snmpconfig --show snmpv1 Changes config
snmpStatistics Shows or sets SNMP throttling. snmpStatistics --set SNMP -maxPT 250 -avgPT 10 -mul 5 Changes config
snmpTraps Sends a test trap or shows trap settings. snmpTraps --send Read only
spinFab Tests ISL cabling and trunks by sending frames.Traffic test on live links spinfab -ports 1/0 - 1/2 Danger
sshUtil Manages SSH keys and settings. sshutil allowuser username Changes config
statsClear Clears port and diagnostic counters. statsclear -bports 1/10-1/62 -use_bports 1 Changes config
supportFfdc Shows or changes first-fault data capture. supportffdc --show Changes config
supportFtp Saves server details for automatic support uploads. supportftp -s -h xxxx::x:xxx:xxxx:xxxx Changes config
supportInfoClear Clears port counters and port logs in the switch.You lose evidence for support supportinfoclear --clear Danger
supportLink Sets up Brocade Support Link uploads. supportlink --config -server bsnconnect.broadcom.com Changes config
supportSave Collects all logs and support data to a server or USB. supportsave Read only
supportShow Prints a large dump of switch state for support. supportshow 3-4 Read only
supportShowCfgDisable Removes a command group from supportshow output. supportshowcfgdisable os Changes config
supportShowCfgEnable Adds a command group to supportshow output. supportshowcfgenable os Changes config
supportShowCfgShow Shows which groups supportshow includes. supportshowcfgshow Read only
switchBeacon Flashes the switch LEDs so you can find it. switchbeacon 1 Changes config
switchCfgPersistentDisable Disables the switch and keeps it disabled after reboot. switchcfgpersistentdisable Danger
switchCfgPersistentEnable Enables a persistently disabled switch. switchcfgpersistentenable Changes config
switchCfgSpeed Sets the speed of every port on the switch.All ports bounce switchcfgspeed 0 Danger
switchCfgTrunk Turns trunking on or off on every port.All ports bounce switchcfgtrunk 1 Danger
switchDecommission Wipes the switch’s flash and settings for disposal. switchdecommission Danger
switchDisable Takes every port on the switch offline. switchdisable Danger
switchEnable Brings every port on the switch back online. switchenable Changes config
switchName Shows or sets the switch name. switchname Lab1_demo_1298765_AY4TYI60 Changes config
switchShow Shows the switch state and every port with speed and WWN. switchshow -portcount Read only
switchType Shows the switch model. switchtype Read only
switchViolation Shows device connection control (DCC) violations. switchviolation --dump -dcc Read only
syslogAdmin Adds, removes or shows syslog servers. syslogadmin --set -ip 10.20.30.40 -port 512 Changes config
sysShutDown Shuts the switch down cleanly before power off. sysshutdown Danger

T

Command What it does Example Type
tcpTimeStamp Turns TCP timestamps on or off. tcptimestamp --disable Changes config
tempShow Shows temperature readings. tempshow Read only
timeOut Shows or sets the idle timeout for login sessions. timeout 10 Changes config
topologyShow Shows paths from this switch to every other domain. topologyshow Read only
traceDump Starts, removes or shows a trace dump. tracedump -n -s 5 Changes config
trafClass Manages traffic classes. trafClass --create usertc1 -interfaces 102/0/40 -features sFlow Changes config
trafOpt Configures Traffic Optimizer. trafopt --show Changes config
trunkDebug Helps find why a trunk link failed. trunkdebug 104 105 Read only
trunkShow Shows trunk groups and their member ports. trunkshow Read only
tsClockServer Shows or sets NTP servers. tsclockserver Changes config
tsTimeZone Shows or sets the time zone. tstimezone Changes config
turboRamTest Tests ASIC memory.Offline diagnostic turboramtest -passcnt 2 Danger

U

Command What it does Example Type
upTime Shows how long the switch has been up. uptime Read only
uRouteShow Shows unicast routes. urouteshow Read only
usbStorage Manages files on a USB stick in the switch. usbstorage -e Changes config
userConfig Adds, changes, deletes and shows user accounts. userconfig --add test -l 1-10 Changes config

V

Command What it does Example Type
version Shows the Fabric OS version. version Read only

W

Command What it does Example Type
wwn Shows the switch WWN and serial number. wwn Read only
wwnAddress Binds a fixed port ID to a device WWN. wwnaddress --bind Changes config
wwnRecover Repairs mismatched data on the WWN card. wwnrecover Danger

Z

Command What it does Example Type
zone Runs special zone tasks, such as peer zones and validation. zone --validate Changes config
zoneAdd Adds members to a zone or peer zone. zoneadd "Blue_Zone", "array3; array4; array5" Changes config
zoneCreate Creates a zone or peer zone. zonecreate "Purple_zone", "1,0" Changes config
zoneDelete Deletes a zone or peer zone. zonedelete "Blue_zone" Changes config
zoneFabricLock Shows or sets the zoning lock timeout. zonefabriclock --timeout 10 Changes config
zoneHelp Lists the zoning commands. zonehelp Read only
zoneObjectCopy Copies a zone, alias or configuration. zoneobjectcopy "USA_cfg", "UK_cfg" Changes config
zoneObjectExpunge Removes an object from every zone and configuration that uses it. zoneobjectexpunge "White_zone" Changes config
zoneObjectRename Renames a zone, alias or configuration. zoneobjectrename "USA_cfg", "UK_cfg" Changes config
zoneObjectReplace Replaces a member in every zone that uses it. zoneobjectreplace Changes config
zoneRemove Removes members from a zone or peer zone. zoneremove "Blue_zone", "array2" Changes config
zoneShow Shows zones and their members. zoneshow Read only

Commands you may see in old guides

These names appear in older blogs but are not in Fabric OS 9.2.x.

Old command Use this in FOS 9.x
switchstatusshow mapsdb --show
licenseshow license --show
portcfgspeed 5, 16G portcfgspeed 5 16 (number only, 0 = auto)

Common questions

Are Brocade commands case-sensitive? No. Broadcom writes them in camelCase, like zoneCreate, but you can type zonecreate. Alias, zone and configuration names are case-sensitive.

How do I see the options of a command on the switch? Type help and the command name, for example help portcfgspeed. Many commands also accept --help.

Why does a command say it is not supported? Some commands only work on certain hardware (directors, extension switches), with a feature turned on (Virtual Fabrics, FC routing, FICON), or with the admin role.

Further reading: all Brocade FOS commands

The full syntax of every command is in Broadcom’s Fabric OS Command Reference Manual, 9.2.x. To learn the switch step by step, take our Brocade FC (Fibre Channel) Switches course.

Scroll to Top

This website uses cookies

We use a few cookies to keep this site working. If you allow it, we also use Google Analytics to count visits so we can improve our lessons. You can accept all, deny the optional ones, or choose what to allow.