2.8.2 IPv6 address format
This section describes the IPv6 address format that can be used by SNMP Agent.
-
In each individual block separated by a colon (:), leading zeros can be omitted.
fec0:0001:2020:0033:4000:0500:0060:0077 fec0:1:2020:33:4000:500:60:77
-
Contiguous blocks of zeros can be compressed to a single unit, which can be represented by :: (double colon).
fec0:0:0:0:100:0:0:22 fec0::100:0:0:22
-
The final 32 bits of the address can be written in the IPv4 address format (dotted decimal notation).
::ffff:0b16:212c ::ffff:11.22.33.44
-
You can attach a scope ID using a percent sign (%) at the end of the address. The scope ID can be expressed as an interface number (numeric characters) or interface name.
fec0::1111:2222:3333:4444:5555%4 The scope ID is 4. fec0::1111:2222:3333:4444:5555%eth0 The scope ID is eth0.
The numeric value representing an IPv6 address in the above format can contain numeric characters (0 to 9), as well as alphabetic characters (A to F and a to f). Alphabetic characters are not case sensitive.