R3303-HP 6600/HSR6600 Routers MPLS Command Reference Guide
330
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 }
Default
No routing policy is applied to a peer or peer group.
Views
BGP-VPNv4 subaddress 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.
route-policy-name: Specifies the name of the routing policy, 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-VPNv4 subaddress family view, apply routing policy test-policy to filter the routes received from
peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test route-policy test-policy import
peer upe
Use peer upe to configure a BGP peer or peer group as an HoVPN UPE for a BGP-VPNv4 subaddress
family.
Use undo peer upe to remove the configuration.
Syntax
peer { group-name | ip-address } upe
undo peer { group-name | ip-address } upe
Views
BGP-VPNv4 subaddress 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.










