386
Description
Use
network
to inject a network to the IPv6 MBGP routing table.
Use
undo network
to remove a network from the routing table.
By default, no network is injected.
The network to be injected must exist in the local IPv6 routing table. You can use a routing policy to
control the advertisement of the route with more flexibility.
The route injected through the
network
command has the IGP origin attribute.
Examples
# Inject the network 2002::/16.
<Sysname> system-view
[Sysname]bgp 100
[Sysname-bgp]ipv6-family multicast
[Sysname-bgp-af-ipv6-mul] network 2002:: 16
peer advertise-community (IPv6 MBGP address family view)
Syntax
peer
{
ipv6-group-name
|
ipv6-address
}
advertise-community
undo peer
{
ipv6-group-name
|
ipv6-address
}
advertise-community
View
IPv6 MBGP address family view
Default level
2: System level
Parameters
group-name
: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.
ipv6-address
: Specifies an IPv6 MBGP peer by its IP address.
Description
Use
peer advertise-community
to advertise the COMMUNITY attribute to an IPv6 MBGP peer or a peer
group.
Use
undo peer advertise-community
to remove the configuration.
By default, no COMMUNITY attribute is advertised to any IPv6 MBGP peer group/peer.
Examples
# Advertise the COMMUNITY attribute to the IPv6 MBGP peer 1:2::3:4.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100
[Sysname-bgp-af-ipv6] quit
[Sysname-bgp] ipv6-family multicast
[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable
[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 advertise-community