HP StorageWorks Storage Mirroring scripting guide (T2558-96074, February 2008)

7 - 11
Configuring compression
1. To determine the current compression setting, use the compression list command. By default, compression is
disabled.
2. To set the level of compression, use the compression set command.
3. To initiate compression, use the compression enable command.
4. If you need to stop compression, use the compression disable command.
Command COMPRESSION LIST
Description Identifies the compression level set and if compression is enabled
Syntax
COMPRESSION LIST
Command COMPRESSION SET
Description Sets the compression level
Syntax
COMPRESSION SET <con_id> <level>
Options con_id—Connection ID assigned to the source/target connection
level—Any whole number from 1 to 3 where 1 is minimum compression and 3 is maximum
compression
Examples
compression set 1 2
Notes This command only sets the level of compression. It does not initiate compression.
Command COMPRESSION ENABLE
Description Enables compression
Syntax
COMPRESSION ENABLE <con_id>
Options con_id—Connection ID assigned to the source/target connection
Examples
compression enable 1
Command COMPRESSION DISABLE
Description Disables compression
Syntax
COMPRESSION DISABLE <con_id>
Options con_id—Connection ID assigned to the source/target connection
Examples
compression disable 1