Command Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches
Chapter 5 IPv6 BGP Configuration Commands
5-28
Note that:
z
The route to be advertised must exist in the local IP routing table, and using a
routing policy makes route management more flexible.
z
The route advertised to the BGP routing table using the
network
command has
the IGP origin attribute.
Examples
# Advertise the network 2002::/16 into the IPv6 BGP routing table.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] network 2002:: 16
5.1.31 peer advertise-community
Syntax
peer
{
ipv6-group-name
|
ipv6-address
}
advertise-community
undo peer
{
ipv6-group-name
|
ipv6-address
}
advertise-community
View
IPv6 address family view
Parameters
ipv6-group-name
: Name of an IPv6 peer group, a string of 1 to 47 characters.
ipv6-address
: IPv6 address of a peer.
Description
Use the
peer advertise-community
command to advertise the community attribute to
a peer/peer group.
Use the
undo peer advertise-community
command to remove the configuration.
By default, no community attribute is advertised to any peer group/peer.
Examples
# Advertise the community attribute to the peer 1:2::3:4.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 advertise-community