370
[Sysname-bgp-af-vpls] peer test reflect-client
# In BGP-VPNv6 subaddress family view, configure the local device as an RR and peer 1.1.1.1 as the client
of the RR.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpnv6
[Sysname-bgp-af-vpnv6] peer 1.1.1.1 reflect-client
peer route-policy (BGP-VPNv6 subaddress family view)
Description
Use the peer route-policy command to apply a routing policy to a peer or peer group.
Use the undo peer route-policy command to remove the application.
By default, no routing policy is applied to a peer or peer group.
Syntax
In BGP-VPNv4 subaddress family view:
peer { group-name | ip-address } route-policy route-policy-name{ export | import }
undo peer { group-name | ip-address } route-policy route-policy-name{ export | import }
In BGP-VPNv6 subaddress family view:
peer ip-address route-policy route-policy-name { export | import }
undo peer ip-address route-policy route-policy-name{ export | import }
View
BGP-VPNv6 subaddress family view
Default level
2: System level
Parameters
group-name: Specifies the name of the peer group, which is a case-sensitive string of 1 to 47 characters.
ip-address: Specifies the IP address of the peer.
route-policy-name: Specifies the name of the routing policy, which is a case-sensitive string of 1 to 63
characters.
export: Filters the routes to be advertised to the peer or peer group.
import: Filters the routes received from the peer or peer group.
Examples
# In BGP-VPNv6 subaddress family view, apply routing policy test-policy to filter routes received from
p e e r 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpnv6
[Sysname-bgp-af-vpnv6] peer 1.1.1.1 route-policy test-policy import