3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1003
Parameters group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
route-policy-name: Routing policy name, a string of 1 to 19 characters.
export: Applies the routing policy to routes outgoing to the peer (or peer group).
import: Applies the routing policy to routes incoming from the peer (or peer
group).
Description Use the
peer route-policy command to apply a routing policy to routes
incoming from or outgoing to a peer or peer group.
Use the
undo peer route-policy command to remove the configuration.
By default, no inbound/outbound routing policy is configured for the peer/peer
group.
The peer route-policy command does not apply the if-match interface clause in
the referenced routing policy. Refer to “route-policy” on page 1205 and “if-match
interface” on page 1200
Examples # In BGP view, apply routing policy test-policy to routes outgoing to peer group
test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test route-policy test-policy export
# In BGP-VPN instance view, apply routing policy test-policy to routes outgoing to
the peer group test (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer test route-policy test-policy export
peer route-update-interval (BGP/BGP-VPN instance view)
Syntax peer { group-name | ip-address } route-update-interval seconds
undo peer { group-name | ip-address } route-update-interval
View BGP view/BGP-VPN instance view
Parameters group-name: Name of a peer group, a sting of 1 to 47 characters.
ip-address: IP address of a peer.
seconds: Minimum interval for sending the same update message. The range is 5
to 600 seconds.