SnapMirror supports the use of IPv6 addresses to specify source and destination systems. However, there are some differences between the specification of IPv6 and IPv4 addresses.
The
SnapMirror commands that are affected by the support for IPv6 addresses are given in the following list:
- snapmirror initialize
- snapmirror update
- snapmirror resync
Note: Before using IPv6 functionality for a system, ensure that the ip.v6.enable option is set to on.
When using an IPv6 address to specify a
SnapMirror source or destination system, you need to enclose the IPv6 address within square brackets. The usage is shown in the following examples:
Use of IPv6 address with the snapmirror initialize command
systemB> snapmirror initialize -S [fd20:8b1e:b255:4166:2a0:98ff:fe07:23f3]:src_vol dst_vol
Use of IPv6 address in a snapmirror.conf file entry
[fd20:8b1e:b255:4166:2a0:98ff:fe07:23f3]:src_vol dst_system:dst_vol - 15 2 * *
Use of IPv6 addresses in a snapmirror.conf file entry for a multipath SnapMirror relationship
relation_1=multi(fd20:8b1e:b255:4166:2a0:98ff:fe07:23f3,dst_system)(2001:0:0:0:0:ffd3:0:57ab,dst_system)relation_1:src_vol dst_system:dst_vol - * * * *
Use of IPv6 address in the snapmirror.allow file
fd20:8b1e:b255:4166:2a0:98ff:fe07:23f3
Use of IPv6 address with the snapmirror.access option
When using an IPv6 address with the
snapmirror.access option, it is optional to enclose the access specification within double quotes. The usage is shown in the following example.
systemB> options snapmirror.acess "host=fd20:8b1e:b255:4166:2a0:98ff:fe07:23f3"