3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1706 CHAPTER 98: MPLS L3VPN CONFIGURATION COMMANDS
peer route-policy (BGP-VPNv4 subaddress family view)
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 }
View BGP-VPNv4 subaddress family view
Parameter group-name: Name of the peer group, a string of 1 to 47 characters.
ip-address: IP address of the peer.
route-policy-name: Name of the routing policy, a string of 1 to 19 characters.
export: Filters the routes to be advertised.
import: Filters the received routes.
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.
Example # In BGP-VPNv4 subaddress family view, apply routing policy test-policy to peer
group test to filter the received routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test route-policy test-policy import
peer upe
Syntax peer { group-name | ip-address } upe
undo peer { group-name | ip-address } upe
View BGP-VPNv4 subaddress family view
Parameter group-name: Name of the peer group, a string of 1 to 47 characters.
ip-address: IP address of the peer.
Description Use the
peer upe command to configure a BGP peer or peer group as an HoVPN
UPE for a BGP-VPNv4 subaddress family.
Use the
undo peer upe command to remove the configuration.