Brocade 交换机用的是fabric OS.

1. 重要的命令:
a)help:
 help "command"
b)没有grep,可以用pattern代替,具体:
     "pattern"
          A regular expression that  matches  zone  configuration
          names.  The pattern must be enclosed in quotation marks
          and can contain the following:

          Question mark (?)
               Matches any single character

          Asterisk (*)
               Matches any string of characters.

          Range
               Matches any character  within  the  range.  Ranges
               must  be enclosed in square brackets, for example,
               [0-9] or [a-f].
To display all zone configurations that start with "Test":

        switch:admin> cfgshow "Test*"
        cfg:   Test1 Blue_zone
        cfg:   Test_cfg Red_zone; Blue_zone
c) h (history)
d) switchshow (show port info)
e) alishow alicreate aliadd alidelete aliremove (zone as the same)

2. 理解cfg->zone->alias->wwpn
可以从GUI上看结构,cfg包括所有的zone,zone包括alias,alias包含wwpns。

平时若需create一个zone:
需要做的步骤是:
cfgshow
Aliacreate
zonecreate
zoneadd
cfgsave
cfgenable


3.The management channel
Role Name Maximum Sessions
Admin 2
BasicSwitchAdmin 4
FabricAdmin 4
Operator 4
SecurityAdmin 4
SwitchAdmin 4
User 4
ZoneAdmin 4

4.password 
a)定义policy
passwdcfg --set -uppercase 3 -lowercase 4 -digits 2 -minlength 9
b)忘记密码:
Recovering passwords
1. Open a CLI connection (serial or Telnet) to the switch.
OR
Connect to the primary FCS switch, if one exists in your fabric.
2. Log in as root.
3. Enter the command for the type of password that was lost:
passwd user
passwd admin
passwd factory
4. Enter the requested information at the prompts.
To recover a lost root password, contact your switch service provider.
To recover a lost boot PROM password, contact your switch service provider. You must have
previously set a recovery string to recover the boot PROM password.