3Com S7902E Command Reference Manual - page 1459
1-37
Examples
# Save the original routing information from IPv6 MBGP peer 1:2::3:4.
[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 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
: Name of an IPv6 MBGP peer group, a string of 1 to 47 characters.
ipv6-address
: IPv6 address of an IPv6 MBGP peer.
Description
Use the
peer next-hop-local
command to configure the next hop of routes advertised to an IPv6 MBGP
peer/peer group as the local router.
Use the
undo peer next-hop-local
command 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/peer group rather than an IPv6 multicast iBGP peer/peer group.
Examples
# Set the next hop of routes advertised to iBGP peer group
test
to the advertising router.
[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