I've tested on the latest version and here is the situation:
You can create peer groups, address peers by their group and set 'advertise-community' only under 'ipv6-family' context. The global one. Here are all the options available for peers in that context:
[H3C-bgp-af-ipv6]peer 2001::1 ?
advertise-community Send community attribute to this peer
advertise-ext-community Advertise extended community
allow-as-loop Configure permit of as-path loop
as-number AS number
as-path-acl Set the filter list of peer or peer group
bfd Enable BFD for this peer
capability-advertise Advertise capability
connect-interface Set interface name to be used as session's output
interface
default-route-advertise Advertise default route to this peer
description Configure description information about peer
dscp Differentiated Services Codepoint (DSCP)
ebgp-max-hop EBGP Multihop
enable Enable peer
fake-as Configure a fake AS number for the peer
filter-policy BGP filter list
group Specify a peer group
ignore Suspend the peer session for this peer
ipsec-policy Specify an IPsec security policy
ipv6-prefix Specify BGP route filtering policy based on
ip-prefix
keep-all-routes Keep all original routes' information from the peer
log-change Log any session status and event change information
next-hop-local Specify local address as the next hop of routes
advertised to the peer
password Peer password
preferred-value Set route PrefVal to this peer
public-as-only Remove private AS number from outbound updates
reflect-client Configure a peer as a route reflector client
route-limit Number of routes limited from this peer
route-policy Apply route-policy
route-update-interval Route update interval
substitute-as Substitute with local AS
timer Configure timers for a peer
However, under the 'ipv6-family vpn-instance ...' context you can address peers only by IPv6 address:
[H3C-bgp-ipv6-test]peer ?
X:X::X:X Specify an IPv6 peer address
[H3C-bgp-ipv6-test]peer
You have only these options even if you put the IPv6:
[H3C-bgp-ipv6-test]peer 2001::1 ?
as-number AS number
bfd Enable BFD for this peer
capability-advertise Advertise capability
preferred-value Set route PrefVal to this peer
route-policy Apply route-policy
[H3C-bgp-ipv6-test]peer 2001::1
So that document for 5800 not applicable for 5500. The command exists, but only for the global IPv6 routing table, not for the vpn-instance.