Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 5 BGP Configuration Commands
3Com Corporation
5-50
Example
# Configure the peer group "test" as the route reflector client.
[3Com -bgp] peer test reflect-client
5.1.54 peer route-policy
Syntax
peer { group-name | peer-address } route-policy policy-name import
undo peer { group-name | peer-address } route-policy policy-name import
peer group-name route-policy policy-name export
undo peer group-name route-policy policy-name export
View
BGP view, VPNv4 view, VPN instance view
Parameter
group-name: Specifies the name of the peer group.
peer-address: Specifies the IP address of the peer.
route-policy-name: Specifies the route-policy.
import: Applies the route-policy to routes received from the peer (group).
export: Applies the route-policy to routes advertised to the peer (group).
Description
Use the peer route-policy import command to configure MBGP to filter routes
received from the peer (group) based on the route-policy.
Use the undo peer route-policy import command to disable the specified
route-policy.
Use the peer route-policy export command to configure MBGP to filter routes
advertised to the peer (group) based on the route-policy.
Use the undo peer route-policy export command to disable the specified
route-policy.
By default, the peer (group) has no route-policy associated.
Example
# Apply routing policy test-policy to routes from peer group test.
[3Com -bgp] peer test route-policy test-policy import










