R3303-HP HSR6800 Routers MPLS Command Reference
329
Views
BGP-VPNv4 subaddress family view, BGP-L2VPN address family view, BGP-VPLS address family view
Default command level
2: System level
Parameters
group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address: Specifies the IP address of the peer.
Usage guidelines
For more information about RR, see Layer 3—IP Routing Configuration Guide.
The BGP view, BGP-VPNv4 subaddress family view, and BGP-VPNv6 subaddress family view support the
peer reflect-client command. If you configure this command in BGP view, you configure the local device
to reflect public network routes. If you configure this command in BGP-VPNv4 subaddress family view or
BGP-VPNv6 subaddress family view, you configure the local device to reflect VPN routes. For more
information about BGP view, see Layer 3—IP Routing Command Reference.
Examples
# In BGP-VPNv4 subaddress family view, configure the local device as RR and peer group test as the
client of the RR.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test reflect-client
# In BGP-L2VPN address family view, configure the local device as an RR and peer group test as the
client of the RR.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] l2vpn-family
[Sysname-bgp-af-l2vpn] peer test reflect-client
# In BGP-VPLS address family view, configure the local device as an RR and peer group test as the client
of the RR.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] vpls-family
[Sysname-bgp-af-vpls] peer test reflect-client
peer route-policy (BGP-VPNv4 subaddress family view)
Use peer route-policy to apply a routing policy to a peer or peer group.
Use undo peer route-policy to remove the application.
Syntax
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 }










