ipv6 dhcp relay iapd-route-add doesnt fix the DHCP6-PD bug in Comware v5.
The bug is when the builtin DHCP6-server in Comware v5 (on HP 5820, most likely on other models aswell) lease a prefix delegation (DHCP6-PD) for a client then the local routing table is never updated with the PD the client just received. The result is that the PD the client got is never routed towards the client CPE.
I have tried to setup DHCP6-relay as a workaround but it seems that the DHCP6-server gets even more confused if you try to DHCP6-relay to yourself (that is the 5820 will DHCP6-relay to its own DHCP6-server). I got the PD updating routingtable to work but then the native DHCP6 leases stopped working (client requesting a regular DHCP6 lease never receives an answer).
Would be great if builtiin DHCP6-server in Comware v7 once handing out a prefix delegation to a client would be able to update the local routing table the same way as competitors does. This works for example without problem if using Cisco 7200/NPE-G2 and I have seen similar for 3750 too, take a look here: http://www.cisco.com/c/en/us/products/collateral/ios-nx-os-software/enterprise-ipv6-solution/whitepaper_c11-689821.html
"
DHCPv6-PD Router: Installation of the route towards the CPE for the delegated prefix
Jan 28 02:18:55.620: IPv6RT0: static, Add 2001:DB8:1::/48 to table
Jan 28 02:18:55.620: IPv6RT0: static, Adding next-hop FE80::21A:2FFF:FE87:5602 over FastEthernet6/0 for 2001:DB8:1::/48, [1/0]
Jan 28 02:18:55.620: IPv6RT0: Event: 2001:DB8:1::/48, Add, owner static, previous None
! Note: If the Service Provider edge router made the binding between the CPE and its delegated prefix it will install automatically a static route for this delegated prefix into the routing table. The next-hop addresses used will be Link-Local.
"
How come HP refuse to fix this properly (I reported this back in february 2014, dunno if other(s) might have reported the same before me)?
Anyhow I couldnt care less about Comware v5 if v7 is about to get released for 5820 and the above works in v7.