Brocade Secure Fabric OS Administrator's Guide - Supporting Fabric OS v3.2.0, v4.4.0, v5.0.1, v5.1.0, 5.2.0, and 5.3.0 (53-1000244-02, June 2007)

Secure Fabric OS Administrator’s Guide 53
53-1000244-02
3
- switch can be the switch WWN, domain ID, or switch name. The port can be specified by
port or area number. Designating ports automatically includes the devices currently
attached to those ports. The ports can be specified using any of the following syntax
methods:
(1-6)—Selects ports 1 through 6.
(*)—Selects all ports on the switch.
[*]—Selects all ports and all devices attached to those ports.
[3, 9]—Selects ports 3 and 9 and all devices attached to those ports.
[1-3, 9]—Selects ports 1, 2, 3, 9, and all devices attached to those ports
NOTE
Fabric OS v5.1.x and earlier switches have a 256 ports limit per DCC policy. Fabric OS v5.2.0
limit is 384 ports. DCC policies used in fabrics that contain v5.1.0 or earlier switches may only
have 256 ports (or less).
3. To save or activate the new policy, enter either the secPolicySave or the secPolicyActivate
command.
If neither of these commands is entered, the changes are lost when the session is logged out.
For more information about these commands, see “Saving Changes to Secure Fabric OS
Policies” on page 56 and Activating Changes to Secure Fabric OS Policies” on page 56.
For example, to create a DCC policy “DCC_POLICY_server” that includes device
11:22:33:44:55:66:77:aa and port 1 and port 3 of switch domain 1:
primaryfcs:admin> secpolicycreate “DCC_POLICY_server”,
“11:22:33:44:55:66:77:aa;1(1,3)”
DCC_POLICY_xxx has been created
To create a DCC policy “DCC_POLICY_storage” that includes device port WWN
22:33:44:55:66:77:11:bb, all ports of switch domain 2, and all currently connected devices of
switch domain 2:
primaryfcs:admin> secpolicycreate “DCC_POLICY_storage”,
“22:33:44:55:66:77:11:bb;2[*]”
DCC_POLICY_xxx has been created
To create a DCC policy “DCC_POLICY_abc” that includes device 33:44:55:66:77:11:22:cc and
ports 1 through 6 and port 9 of switch domain 3:
primaryfcs:admin> secpolicycreate “DCC_POLICY_abc”,
“33:44:55:66:77:11:22:cc;3(1-6,9)”
DCC_POLICY_xxx has been created
To create a DCC policy “DCC_POLICY_example” that includes devices
44:55:66:77:22:33:44:dd and 33:44:55:66:77:11:22:cc, ports 1 through 4 of switch domain
4, and all devices currently connected to ports 1 through 4 of switch domain 4:
primaryfcs:admin> secpolicycreate “DCC_POLICY_example”,
“44:55:66:77:22:33:44:dd;33:44:55:66:77:11:22:cc;4[1-4]”
DCC_POLICY_xxx has been created