8.62 Printing IP address format +CGPIAF

27.0073GPPAT command set for User Equipment (UE)Release 18TS

Table 8.62-1: +CGPIAF parameter command syntax

Command

Possible response(s)

+CGPIAF=[<IPv6_AddressFormat>[,<IPv6_SubnetNotation>[,<IPv6_LeadingZeros>[,<IPv6_CompressZeros>]]]]

+CGPIAF?

+CGPIAF: <IPv6_AddressFormat>,<IPv6_SubnetNotation>,<IPv6_LeadingZeros>,<IPv6_CompressZeros>

+CGPIAF=?

+CGPIAF: (list of supported <IPv6_AddressFormat>s),(list of supported <IPv6_SubnetNotation>s),(list of supported <IPv6_LeadingZeros>s),(list of supported <IPv6_CompressZeros>s)

Description

Set command decides what format to print IPV6 address parameters of other AT commands. See RFC 4291 [88] for details of the IPv6 address format.

The +CGPIAF parameters <IPv6_AddressFormat>, <IPv6_SubnetNotation>, <IPv6_LeadingZeros> and <IPv6_CompressedZeros> affect the following commands and parameters:

a) in +CGTFT and +CGTFTRDP, the <remote address and subnet mask>;

b) in +CGDCONT, the <PDP_addr>;

c) in +CGPADDR, the <PDP_addr_1> and <PDP_addr_2>;

d) in +CGCONTRDP, the <local address and subnet mask>, <DNS_prim_addr>, <DNS_sec_addr>, <P_CSCF_prim_addr> and <P_CSCF_sec_addr>; and

e) in +CRC, the <PDP_addr> of unsolicited result code +CRING: GPRS <PDP_type>, <PDP_addr>[, [<L2P>][,<APN>]].

Read command returns the current command parameter settings.

Test command returns values supported as compound values.

Defined values

<IPv6_AddressFormat>: integer type, decides the IPv6 address format. Relevant for all AT command parameters that can hold an IPv6 address.

0 Use IPv4-like dot-notation. IP address, and subnetwork mask if applicable, are dot-separated.

Example: For <remote address and subnet mask>:
"32.1.13.184.0.0.205.48.0.0.0.0.0.0.0.0.255.255.255.255.255.255.255.240.0.0.0.0.0.0.0.0"
For other IP address parameters:
"32.1.13.184.0.0.205.48.0.0.0.0.0.0.0.0"

1 Use IPv6-like colon-notation. IP address, and subnetwork mask if applicable and when given explicitly, are separated by a space.

Example: For <remote address and subnet mask>:
"2001:0DB8:0000:CD30:0000:0000:0000:0000 FFFF:FFFF:FFFF:FFF0:0000:0000:0000:0000"
For other IP address parameters:
"2001:0DB8:0000:CD30:0000:0000:0000:0000"

<IPv6_SubnetNotation>: integer type, decides the subnet-notation for <remote address and subnet mask. Setting does not apply if <IPv6_AddressFormat>=0.

0 Both IP Address and subnet mask are stated explicitly, separated by a space.

Example: "2001:0DB8:0000:CD30:0000:0000:0000:0000 FFFF:FFFF:FFFF:FFF0:0000:0000:0000:0000"

1 The printout format is applying / (forward slash) subnet-prefix Classless Inter-Domain Routing (CIDR) notation.

Example: "2001:0DB8:0000:CD30:0000:0000:0000:0000/60"

<IPv6_LeadingZeros>: integer type, decides whether leading zeros are omitted or not. Setting does not apply if <IPv6_AddressFormat>=0.

0 Leading zeros are omitted.

Example: "2001:DB8:0:CD30:0:0:0:0"

1 Leading zeros are included.

Example: "2001:0DB8:0000:CD30:0000:0000:0000:0000"

<IPv6_CompressZeros>: integer type, decides whether 1-n instances of 16-bit zero-values are replaced by only ‘::’. This applies only once. Setting does not apply if <IPv6_AddressFormat>=0.

0 No zero compression.

Example: "2001:DB8:0:CD30:0:0:0:0"

1 Use zero compression.

Example: "2001:DB8:0:CD30::"

Implementation

Optional.