Brocade Fabric OS Command Reference Manual Supporting Fabric OS v6.3.0 (53-1001337-01, July 2009)

778 Fabric OS Command Reference
53-1001337-01
secPolicyAdd
2
member Specify a list of one or more member switches to be included in the security
policy. The list must be enclosed in quotation marks; members must be
separated by semicolons. Depending on the policy type, members are
specified as follows.
FCS_POLICY or SCC_POLICY Members
This policy type requires member IDs to be specified as WWN strings,
Domains, or switch names. If Domain IDs or switch names are used, the
switches associated must be present in the fabric or the command fails.
DCC_POLICY Members
The DCC_POLICY_nnn is a list of device port names associated with a specific
switch and port index combination. An empty DCC_POLICY does not stop
access to the switch. The device port name is specified by its port WWN
string. The switch and port index combination must be in the switch port
format, where switch can be specified as a WWN, a domain, or a switch
name, and port is specified by port numbers separated by commas and
enclosed in either brackets or parentheses; for example, (2, 4, 6). Ports
enclosed in brackets include the devices currently attached to those
ports.
The following examples illustrate several ways to specify the port values:
(1-6) Selects ports 1 through 6.
(*) Selects all ports on the switch.
[3, 9] Selects ports 3 and 9 and all devices attached to those ports.
[1-3, 5] Selects ports 1 through 3 and 5 and all devices attached to
those ports.
[*] Selects all ports on the switch and devices currently attached to
those ports.
Examples To add a member to the SCC_POLICY using the device WWN:
primaryfcs:admin> secpolicyadd "SCC_POLICY", "12:24:45:10:0a:67:00:40"
Member(s) have been added to SCC_POLICY.
To add two devices to attach to domain 3, ports 1 and 3, in an existing empty DCC policy; the port
WWN of the first device is 11:22:33:44:55:66:77:aa and port WWN of the second device is
11:22:33:44:55:66:77:bb:
primaryfcs:admin> secpolicyadd "DCC_POLICY_abc",
"11:22:33:44:55:66:77:aa;11:22:33:44:55:66:77:bb;3(1,3)"
Member(s) have been added to DCC_POLICY_abc.
See Also distribute, fddCfg, secPolicyAbort, secPolicyActivate, secPolicyDelete,
secPolicyDump, secPolicyRemove, secPolicySave