394
Description
Use
peer ipv6-prefix
to specify an IPv6 prefix list to filter routes incoming from or outgoing to an IPv6
MBGP peer or peer group.
Use
undo peer ipv6-prefix
to remove the configuration.
By default, no IPv6 prefix list-based filtering is configured.
Examples
# Apply the IPv6 ACL
list1
to filter routes advertised to the IPv6 MBGP 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 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 ipv6-prefix list1 export
peer keep-all-routes (IPv6 MBGP address family view)
Syntax
peer
{
ipv6-group-name
|
ipv6-address
}
keep-all-routes
undo peer
{
ipv6-group-name
|
ipv6-address
}
keep-all-routes
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
: IPv6 address of an IPv6 MBGP peer.
Description
Use
peer keep-all-routes
to save the original routing information from an IPv6 MBGP peer or peer group,
including the routes that fail to pass the inbound filtering policy (if configured).
Use
undo peer keep-all-routes
to disable this function.
By default, the original routing information from an IPv6 MBGP peer or peer group is not saved.
Examples
# Save the original routing information from 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