Reference Guide

Brocade Fabric OS Command Reference 973
53-1004112-02
secPolicyAdd
Operands
This command has the following operands:
"name"
Specify the name of an existing policy to which you want to add members. Valid values for
this operand include the following:
DCC_POLICY_nnn
FCS_POLICY
SCC_POLICY
The specified policy name must be capitalized.
The DCC_POLICY_nnn name has the common prefix DCC_POLICY_ followed by a string
of user-defined characters. These characters do not have to be capitalized like regular
policy names, but they are case-sensitive.
"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.
-legacy
Adds a security policy with the desired order.