IPv6 Configuration Guide K/KA/KB.15.15

Example 5 Configuring an IPv6 address on a loopback interface
HP Switch(config)# interface loopback 1
HP Switch(lo-1)# IPv6 address 2001:db8::1
NOTE:
You can configure a loopback interface only from the CLI; you cannot configure a loopback
interface from the Menu interface.
IPv6 loopback interfaces share the same IPv6 address space with VLAN configurations. The
maximum number of IPv6 addresses supported on a switch is 2048, which includes all IPv6
addresses configured for both VLANs and loopback interfaces (except for the default loopback
IPv6 address, ::1 /128).
Each IPv6 address that you configure on a loopback interface must be unique in the AS; see
“OSPFv3 Routing” (page 209). This means that the address cannot be used by a VLAN interface
or another loopback interface.
You can configure up to 32 IPv6 and 32 IPv4 addresses on a loopback interface (lo0 to
lo7).
Displaying loopback interface configurations
Use show ipv6 to display the list of loopback interfaces configured with nondefault IPv6 addresses.
(Loopback interface 0, if configured only with the default ::1/128 IPv6 address, does not appear
in this listing.)
NOTE: A loopback interface does not appear in the show ipv6 command output unless it is
configured with a non-default IPv6 address.
Viewing the current IPv6 addressing configuration
Use these commands to view the current status of the IPv6 configuration on the switch.
Syntax:
show ipv6
Lists the current, global IPv6 settings and per-VLAN IPv6 addressing on the switch.
IPv6 Routing
For software releases K.13.01 through K.14.01, this setting is always
Disabled. This is a global setting and is not configured per-VLAN.
Default Gateway
Lists the IPv4 default gateway, if any, configured on the switch. This is a globally
configured router gateway address and is not configured per-VLAN.
ND DAD
Indicates whether DAD is enabled (the default) or disabled. Using ipv6 nd
dad-attempts 0 disables ND.
DAD Attempts
Indicates the number of neighbor solicitations the switch transmits per-address
for duplicate (IPv6) address detection. Implemented when a new address is
configured or when an interface with configured addresses comes up (such as
after a reboot).
Default: 3; Range: 0 255 ms. 0 disables duplicate address detection. See
“Duplicate address detection (DAD)” (page 31).
Viewing the current IPv6 addressing configuration 21