395
[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 enable
[Sysname-bgp-af-ipv6-mul] peer 1:2::3:4 keep-all-routes
peer next-hop-local (IPv6 MBGP address family view)
Syntax
peer
{
ipv6-group-name
|
ipv6-address
}
next-hop-local
undo peer
{
ipv6-group-name
|
ipv6-address
}
next-hop-local
View
IPv6 MBGP address family view
Default level
2: System level
Parameters
ipv6-group-name
: Specifies an IPv6 MBGP peer group by its name, a string of 1 to 47 characters.
ipv6-address
: Specifies an IPv6 MBGP peer by its IP address.
Description
Use
peer next-hop-local
to configure the next hop of routes advertised to an IPv6 MBGP peer or a peer
group as the local router.
Use
undo peer next-hop-local
to restore the default.
By default, an IPv6 MBGP speaker specifies itself as the next hop for routes outgoing to an IPv6 multicast
eBGP peer or a peer group rather than an IPv6 multicast iBGP peer or a peer group.
Examples
# Set the next hop of routes advertised to iBGP peer group
test
to the advertising router.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] group test internal
[Sysname-bgp-af-ipv6] quit
[Sysname-bgp] ipv6-family multicast
[Sysname-bgp-af-ipv6-mul] peer test enable
[Sysname-bgp-af-ipv6-mul] peer test next-hop-local
peer preferred-value (IPv6 MBGP address family view)
Syntax
peer
{
ipv6-group-name
|
ipv6-address
}
preferred-value
value
undo
peer
{
ipv6-group-name
|
ipv6-address
}
preferred-value
View
IPv6 MBGP address family view
Default level
2: System level