HP StorageWorks Fabric OS 6.x administrator guide (5697-7344, March 2008)

Fabric OS 6.x administrator guide 107
Examples of creating DCC policies
To create the 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:
switch:admin> secpolicycreate "DCC_POLICY_server",
"11:22:33:44:55:66:77:aa;1(1,3)"
DCC_POLICY_server has been created
To create the 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:
switch:admin> secpolicycreate "DCC_POLICY_storage",
"22:33:44:55:66:77:11:bb;2[*]"
DCC_POLICY_storage has been created
To create the 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:
switch: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 the 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:
switch: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
Creating an SCC policy
Fabric OS 5.2.0 and later support an SCC policy in Fabric OS. The SCC policy is used to restrict which
switches can join the fabric. Switches are checked against the policy each time an E_Port-to-E_Port
connection is made. The policy is named SCC_POLICY and accepts members listed as WWNs, Domain
IDs, or switch names. Only one SCC policy can be created.
By default, any switch is allowed to join the fabric; the SCC policy does not exist until it is created. When
connecting a Fibre Channel router to a fabric or switch that has an active SCC policy, the front domain of
the Fibre Channel router must be included in the SCC policy.
SCC policy states are shown in Table 29.
To create an SCC policy:
1. Connect to the switch and log in using an account assigned to the admin role.
2. Type secPolicyCreate “SCC_POLICY”, “member;...;member”.
member indicates a switch that is permitted to join the fabric. Specify switches by WWN, Domain ID,
or switch name. Enter an asterisk (*) to indicate all the switches in the fabric.
Table 29 SCC policy states
Policy state SCC policy enforcement
No active policy All switches can connect to the switch with the specified policy.
Active policy that has no members All neighboring switches are segmented.
Active policy that has members The neighboring switches not specified in the SCC policy are
segmented.