Command Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches
Chapter 5 IPv6 BGP Configuration Commands
5-39
5.1.45 peer ipv6-prefix
Syntax
peer
{
ipv6-group-name
|
ipv6-address
}
ipv6-prefix ipv6-prefix-name
{
import
|
export
}
undo peer
{
ipv6-group-name
|
ipv6-address
}
ipv6-prefix
{
import
|
export
}
View
IPv6 address family view
Parameters
ipv6-group-name
: Name of an IPv6 peer group, a string of 1 to 47 characters.
ipv6-address
: IPv6 address of a peer.
ipv6-prefix-name
: IPv6 prefix list name, a string of 1 to 19 characters.
import
: Applies the filtering policy to routes received from the specified peer/peer
group.
export
: Applies the filtering policy to routes advertised to the specified peer/peer group.
Description
Use the
peer ipv6-prefix
command to specify an IPv6 prefix list to filter routes
incoming from or outgoing to a peer or peer group.
Use the
undo peer ipv6-prefix
command to remove the configuration.
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
5.1.46 peer keep-all-routes
Syntax
peer
{
ipv6-group-name
|
ipv6-address
}
keep-all-routes
undo peer
{
ipv6-group-name
|
ipv6-address
}
keep-all-routes
View
IPv6 address family view