3Com Switch 7750 Configuration Guide Guide

Configuring the Way to Advertise/Receive Routing Information 345
c
CAUTION:
Only the routes that pass the specified filter are advertised.
A peer group member uses the same outbound route filtering policy as that of
the peer group it belongs to. That is, a peer group adopts the same outbound
route filtering policy.
Configuring BGP Route
Receiving Policy
Configuring BGP-IGP
Route Synchronization
Filter the
routing
information
to be
advertised to
a peer group
Specify an ACL-based
BGP route filtering
policy for a peer
group
peer group-name
filter-policy acl-number
export
Required
By default, a peer group
has no peer group-based
ACL BGP route filtering
policy, AS path ACL-based
BGP route filtering policy,
or IP prefix list-based BGP
route filtering policy
configured.
Specify an AS path
ACL-based BGP
filtering policy for a
peer group
peer group-name
as-path-acl acl-number
export
IP prefix-based BGP
route filtering policy
for a peer group
peer group-name
ip-prefix ip-prefix-name
export
Table 277 Configure the BGP route advertising policy
Operation Command Description
Table 278 Configure BGP route receiving policy
Operation Command Description
Enter system view system-view -
Enable BGP, and enter BGP view bgp as-number
Required
By default, BGP is disabled.
Filter the received global routing
information
filter-policy { acl-number |
ip-prefix ip-prefix-name }
import
Required
By default, the received
routing information is not
filtered.
Specify a route filtering policy for
routes coming from a peer/peer
group
peer { group-name |
ip-address } route-policy
policy-name import
Required
By default, no route
filtering policy is specified
for a peer/peer group.
Filter the
routing
information
received
from a
peer/peer
group
Specify an ACL-based
BGP route filtering
policy for a peer/peer
group
peer { group-name |
ip-address } filter-policy
acl-number import
Required
By default, no ACL-based
BGP route filtering policy,
AS path ACL-based BGP
route filtering policy, or IP
prefix list-based BGP route
filtering policy is configured
for a peer/peer group.
Specify an AS path
ACL-based BGP route
filtering policy for a
peer/peer group
peer { group-name |
ip-address } as-path-acl
acl-number import
Specify an IP prefix
list-based BGP route
filtering policy for a
peer/peer group
peer { group-name |
ip-address } ip-prefix
ip-prefix-name import
Table 279 Configure BGP-IGP route synchronization
Operation Command Description
Enter system view system-view -