Creating a dcc policy – Dell POWEREDGE M1000E User Manual

Page 204

Advertising
background image

204

Fabric OS Administrator’s Guide

53-1002745-02

Device Connection Control policies

7

Creating a DCC policy

DCC policies must follow the naming convention “DCC_POLICY_nnn,” where nnn represents a
unique string. The maximum length is 30 characters, including the prefix DCC_POLICY_.

Device ports must be specified by port WWN. Switch ports can be identified by the switch WWN,
domain ID, or switch name followed by the port or area number. To specify an allowed connection,
enter the device port WWN, a semicolon, and the switch port identification.

The following methods of specifying an allowed connection are possible:

deviceportWWN;switchWWN (port or area number)

deviceportWWN;domainID (port or area number)

deviceportWWN;switchname (port or area number)

1. Connect to the switch and log in using an account with admin permissions, or an account with

OM permissions for the Security RBAC class of commands.

2. Enter the secPolicyCreate “DCC_POLICY_nnn” command.

DCC_POLICY_nnn is the name of the DCC policy; nnn is a string consisting of up to 19
alphanumeric or underscore characters to differentiate it from any other DCC policies.

3. To save or activate the new policy, enter the appropriate command:

To save the policy, enter the secPolicySave command.

To save and activate the policy, enter the secPolicyActivate command.

If neither of these commands is entered, the changes are lost when the session is logged out.

Example 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_abc 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_example has been created

Advertising