11-43
By default, no IPv6 prefix list is specified for filtering.
Examples
# Reference the IPv6 prefix list
list 1
to filter routes outgoing to peer 1:2::3:4.
<Sysname> system-view
[Sysname] ip ipv6-prefix list1 permit 2002:: 64
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 ipv6-prefix list1 export
peer keep-all-routes (IPv6 address family view)
Syntax
peer
{
group-name
|
ipv4-address
|
ipv6-address
}
keep-all-routes
undo peer
{
group-name
|
ipv4-address
|
ipv6-address
}
keep-all-routes
View
IPv6 address family view
Default Level
2: System level
Parameters
group-name
: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters.
ipv4-address
: IPv4 address of a peer.
ipv6-address
: IPv6 address of a peer.
Description
Use the
peer keep-all-routes
command to save the original routing information from a peer or peer
group, including even routes that failed to pass the inbound filtering policy.
Use the
undo peer keep-all-routes
command to disable this function.
By default, the function is not enabled.
Examples
# Save routing information from peer 1:2::3:4.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 keep-all-routes
peer log-change (IPv6 address family view)
Syntax
peer
{
ipv6-group-name | ipv6-address
}
log-change
undo peer
{
ipv6-group-name | ipv6-address
}
log-change
View
IPv6 address family view