207
[Sysname-bgp-af-mul] peer test ip-prefix list1 export
peer keep-all-routes (MBGP address family view)
Syntax
peer
{
group-name
|
ip-address
}
keep-all-routes
undo peer
{
group-name
|
ip-address
}
keep-all-routes
View
IPv4 MBGP address family view
Default level
2: System level
Parameters
group-name
: Specifies an IPv4 MBGP peer group by its name, a string of 1 to 47 characters.
ip-address
: Specifies an IPv4 MBGP peer by its IP address.
Description
Use
peer keep-all-routes
to save original routing information from a peer or a peer group, including the
routes that fail to pass the inbound policy (if configured).
Use
undo peer keep-all-routes
to disable this feature.
By default, the feature is not enabled.
Examples
# In IPv4 MBGP address family view, save all the routing information from peer 131.108.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 131.108.1.1 as-number 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] peer 131.108.1.1 enable
[Sysname-bgp-af-mul] peer 131.108.1.1 keep-all-routes
peer next-hop-local (MBGP address family view)
Syntax
peer
{
group-name
|
ip-address
}
next-hop-local
undo peer
{
group-name
|
ip-address
}
next-hop-local
View
IPv4 MBGP address family view
Default level
2: System level
Parameters
group-name
: Specifies an IPv4 MBGP peer group by its name, a string of 1 to 47 characters.
ip-address
: Specifies an IPv4 MBGP peer by its IP address.