367
Syntax
peer ip-address ipv6-prefix prefix-name { export | import }
undo peer ip-address ipv6-prefix { export | import }
View
BGP-VPNv6 subaddress family view
Default level
2: System level
Parameters
ip-address: Specifies the IP address of a peer.
prefix-name: Specifies the name of an IPv6 prefix list, which is a string of 1 to 19 characters.
export: Filters routes to be advertised to the peer.
import: Filters routes received from the peer.
Examples
# In BGP-VPNv6 subaddress family view, apply IPv6 prefix list list1 to filter routes received from peer
1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpnv6
[Sysname-bgp-af-vpnv6] peer 1.1.1.1 ipv6-prefix list1 import
peer preferred-value (BGP-VPNv6 subaddress family view)
Description
Use the peer preferred-value command to specify the preference value for the routes received from the
specified peer or peer group.
Use the undo peer preferred-value command to restore the default.
By default, the preference value for the routes received from a peer or peer group is 0.
Syntax
In BGP-VPNv4 subaddress family view:
peer { group-name | ip-address } preferred-value value
undo peer { group-name | ip-address } preferred-value
In BGP-VPNv6 subaddress family view:
peer ip-address preferred-value value
undo peer ip-address preferred-value
View
BGP-VPNv6 subaddress family view
Default level
2: System level