Brocade Fabric OS Command Reference v7.1.0 (53-1002746-01, March 2013)

218 Fabric OS Command Reference
53-1002746-01
cryptoCfg
2
You are about to enable a new zoning configuration.
This action will replace the old zoning configuration
with the current configuration selected.
Do you want to enable 'itcfg' configuration \
(yes, y, no, n): [no] y
zone config "itcfg" is in effect
Updating flash ...
2. Create a disk CryptoTarget container to be hosted on the encryption engine.
FabricAdmin:switch> cryptocfg --create -container \
disk my_disk_tgt1 0:00:00:05:1e:41:9a:7e
20:0c:00:06:2b:0f:72:6d 20:00:00:06:2b:0f:72:6d
Operation Succeeded
3. Add an initiator to the CryptoTarget container and commit the transaction.
FabricAdmin:switch> cryptocfg --add -initiator my_disk_tgt \
10:00:00:00:c9:2b:c9:3a 20:00:00:00:c9:2b:c9:3a
Operation Succeeded
FabricAdmin:switch> cryptocfg --commit
Operation Succeeded
4. Display the CTC configuration.
FabricAdmin:switch> cryptocfg --show -container \
my_disk_tgt -cfg
Container name: my_disk_tgt
Type: disk
EE node: 10:00:00:05:1e:41:9a:7e
EE slot: 0
Target: 20:0c:00:06:2b:0f:72:6d \
20:00:00:06:2b:0f:72:6d
VT: 20:00:00:05:1e:41:4e:1d \
20:01:00:05:1e:41:4e:1d
Number of host(s): 1
Configuration status:committed
Host: 10:00:00:00:c9:2b:c9:3a \
20:00:00:00:c9:2b:c9:3a
VI: 20:02:00:05:1e:41:4e:1d \
20:03:00:05:1e:41:4e:1d
Number of LUN(s): 0
Operation Succeeded
5. Discover the LUNs seen by the initiators in the CryptoTarget container.
FabricAdmin:switch> cryptocfg --discoverLUN my_disk_tgt
Container name: my_disk_tgt
Number of LUN(s): 1
Host: 10:00:00:00:c9:2b:c9:3a
LUN number: 0x0
LUN serial number: 200000062B0F726D0C000000
Key ID state: Read write
Key ID:3a:21:6a:bd:f2:37:d7:ea:6b:73:f6:19:72:89:c6:4f
6. Add a LUN to the CTC with encryption enabled.
FabricAdmin:switch> cryptocfg --add -LUN \
my_disk_tgt 0 10:00:00:00:c9:2b:c9:3a \
20:00:00:00:c9:2b:c9:3a -lunstate cleartext -encrypt
Operation Succeeded