1SMP_ZONE_ACTIVATE(8) SMP_UTILS SMP_ZONE_ACTIVATE(8)
2
3
4
6 smp_zone_activate - invoke ZONE ACTIVATE SMP function
7
9 smp_zone_activate [--expected=EX] [--help] [--hex] [--interface=PARAMS]
10 [--raw] [--sa=SAS_ADDR] [--verbose] [--version] SMP_DEVICE[,N]
11
13 Sends a SAS Serial Management Protocol (SMP) ZONE ACTIVATE function
14 request to an SMP target. The SMP target is identified by the
15 SMP_DEVICE and the --sa=SAS_ADDR. Depending on the interface, the
16 SAS_ADDR may be deduced from the SMP_DEVICE. The mpt interface uses
17 SMP_DEVICE to identify a HBA (an SMP initiator) and needs the addi‐
18 tional ,N to differentiate between HBAs if there are multiple present.
19
20 This function, if successful, will cause various zoning related shadow
21 values (e.g. zone permission table and zone phy information) to be
22 copied to the corresponding current values. If the saving to "saved"
23 values option has been selected then the various zoning related shadow
24 values will also be copied to the corresponding saved values.
25
27 Mandatory arguments to long options are mandatory for short options as
28 well.
29
30 -E, --expected=EX
31 set the 'expected expander change count' field in the SMP
32 request. The value EX is from 0 to 65535 inclusive with 0 being
33 the default value. When EX is greater than zero then if the
34 value doesn't match the expander change count of the SMP target
35 (i.e. the expander) when the request arrives then the target
36 ignores the request and sets a function result of "invalid
37 expander change count" in the response.
38
39 -h, --help
40 output the usage message then exit.
41
42 -H, --hex
43 output the response (less the CRC field) in hexadecimal.
44
45 -I, --interface=PARAMS
46 interface specific parameters. In this case "interface" refers
47 to the path through the operating system to the SMP initiator.
48 See the smp_utils man page for more information.
49
50 -r, --raw
51 send the response (less the CRC field) to stdout in binary. All
52 error messages are sent to stderr.
53
54 -s, --sa=SAS_ADDR
55 specifies the SAS address of the SMP target device. The mpt
56 interface needs this option and it will typically be an
57 expander's SAS address. The SAS_ADDR is in decimal but most SAS
58 addresses are shown in hexadecimal. To give a number in hexa‐
59 decimal either prefix it with '0x' or put a trailing 'h' on it.
60
61 -v, --verbose
62 increase the verbosity of the output. Can be used multiple
63 times.
64
65 -V, --version
66 print the version string and then exit.
67
69 The SMP ZONE ACTIVATE function was introduced in SAS-2 .
70
72 Written by Douglas Gilbert.
73
75 Report bugs to <dgilbert at interlog dot com>.
76
78 Copyright © 2011 Douglas Gilbert
79 This software is distributed under a FreeBSD license. There is NO war‐
80 ranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR‐
81 POSE.
82
84 smp_utils, smp_zone_lock, smp_zone_unlock, smp_ena_dis_zon‐
85 ing(smp_utils)
86
87
88
89smp_utils-0.96 June 2011 SMP_ZONE_ACTIVATE(8)