HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

552 Fabric OS commands
Examples
To add a member to the MS_POLICY using the device WWN:
To add an SNMP manager to WSNMP_POLICY:
The following policy types require members be specified by WWN address:
FCS_POLICY
SES_POLICY (HP does not support SES_POLICY)
MS_POLICY
SERIAL_POLICY
FRONTPANEL_POLICY
SCC_POLICY
These policy types require members be specified as WWN strings, domain IDs, or
switch names. If domain ID, or switch names are used, the switches associated must be
present in the fabric or the command fails.
DCC_POLICY Members
The DCC_POLICY_nnn is a list of devices associated with a specific switch and port
combination. An empty DCC_POLICY does not stop access to the switch. The device is
specified with a WWN string. The switch and port combination must be in the
following format:
<switch><port>
<switch> can be specified using WWN, domain, or switch name.
<port> can be specified by port numbers separated by commas and enclosed in
either brackets or parenthesis: for example, (2, 4, 6). Ports enclosed in brackets will
include the devices currently attached to those ports.
The following examples illustrate several ways to specify the port values:
(1-6) Selects ports 1 through 6.
(*) Selects all ports on the switch.
[3, 9] Selects ports 3 and 9 and all devices attached to those ports.
[1-3, 5] Selects ports 1 through 3 and 5 and all devices attached to those ports.
[*] Selects all ports on the switch and devices currently attached to those ports.
OPTIONS_POLICY members
NoNodeWWNZoning is the only option
switch:admin> secpolicyadd "MS_POLICY", "12:24:45:10:0a:67:00:40"
Member(s) have been added to MS_POLICY.
switch:admin> secpolicyadd "WSNMP_POLICY", "192.168.5.21"
Member(s) have been added to WSNMP_POLICY.