Command Reference Guide

3Com Router 5000 Family and Router 6000 Family peer route-policy 247
Command Reference
peer route-policy
Purpose 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.
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
Parameters 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).
Default 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 importpurpose_body
View This command can be used in the following views:
BGP view
VPNv4 view
VPN Instance view