HP StorageWorks MSA 2/8 HP StorageWorks Secure Fabric OS V1.0 User Guide (AA-R - Page 73

connected devices of switch domain 2, 22:33:44:55:66:77:11:bb, all ports of switch domain 2

Page 73 highlights

Creating Secure Fabric OS Policies [*] 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. 3. To save or activate the new policy, enter the secpolicysave or the secpolicyactivate command. If neither of these commands are entered, the changes are lost when you log out. For more information about these commands, see "Saving Changes to Secure Fabric OS Policies" on page 77 and "Activating Changes to Secure Fabric OS Policies" on page 77. Example, creating 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)" primaryfcs:admin> Creating a DCC policy "DCC_POLICY_storage" that includes device 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[*]" primaryfcs:admin> Creating a DCC policy "DCC_POLICY_abc" that includes device "33:44:55:66:77:11:22:cc" and ports 1-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)" primaryfcs:admin> Creating 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-4 of switch domain 4, and all devices currently connected to ports 1-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]" primaryfcs:admin> Secure Fabric OS Version 1.0 User Guide 73

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129

Creating Secure Fabric OS Policies
73
Secure Fabric OS Version 1.0 User Guide
[*] 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.
3.
To save or activate the new policy, enter the
secpolicysave
or the
secpolicyactivate
command.
If neither of these commands are entered, the changes are lost when you log
out. For more information about these commands, see “
Saving Changes to
Secure Fabric OS Policies
” on page 77 and “
Activating Changes to Secure
Fabric OS Policies
” on page 77.
Example, creating 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:
Creating a DCC policy “DCC_POLICY_storage” that includes device WWN
“22:33:44:55:66:77:11:bb,” all ports of switch domain 2, and all currently
connected devices of switch domain 2:
Creating a DCC policy “DCC_POLICY_abc” that includes device
“33:44:55:66:77:11:22:cc” and ports 1-6 and port 9 of switch domain 3:
Creating 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-4 of switch
domain 4, and all devices currently connected to ports 1-4 of switch domain 4:
primaryfcs:admin> secPolicyCreate “DCC_POLICY_server”,
“11:22:33:44:55:66:77:aa;1(1,3)”
primaryfcs:admin>
primaryfcs:admin> secPolicyCreate “DCC_POLICY_storage”,
“22:33:44:55:66:77:11:bb;2[*]”
primaryfcs:admin>
primaryfcs:admin> secPolicyCreate “DCC_POLICY_abc”,
“33:44:55:66:77:11:22:cc;3(1-6,9)”
primaryfcs:admin>
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]”
primaryfcs:admin>