391
Examples
# Advertise a default route 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 default-route-advertise
peer enable (IPv6 MBGP address family view)
Syntax
peer
{
ipv6-group-name
|
ipv6-address
}
enable
undo peer
{
ipv6-group-name
|
ipv6-address
}
enable
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. You
must create the IPv6 MBGP peer group in IPv6 MBGP view before you can activate it here.
ipv6-address
: Specifies an IPv6 MBGP peer by its IP address.
Description
Use
peer enable
to enable an IPv6 MBGP peer or peer group.
Use
undo peer enable
to disable an IPv6 MBGP peer or peer group.
By default, no IPv6 MBGP peer or peer group is enabled.
If an IPv6 MBGP peer or peer group is disabled, the router does not exchange routing information with
it.
Examples
# Enable 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