3Com Switch 8800 Advanced Software V5 Configuration Guide
438 CHAPTER 35: BGP CONFIGURATION
Configuring BGP Route
Distribution Policy
To configure BGP route distribution policy, use the following commands:
c
CAUTION: Only routes passing the filters can be advertised.
Configuring BGP Route
Reception Policy
To configure BGP routing reception policy, use the following commands:
To do... Use the command... Remarks
Enter system view system-view -
Enter BGP view bgp as-number -
Filter redistributed routes when
advertising them
filter-policy {
acl-number | ip-prefix
ip-prefix-name } export [
direct | isis process-id |
ospf process-id | rip
process-id | | static ]
Required to choose any;
The filtering is not configured by
default;
You can configure a filtering
policy as needed;
If several filtering policies are
configured, they are applied in
the following sequence:
■ filter-policy export
■ peer filter-policy export
■ peer as-path-acl export
■ peer ip-prefix export
■ peer route-policy export
Only routes passing the first
policy, can they go through the
next; and only routes passing all
the configured policies, can they
be advertised.
Reference a routing policy to
filter routes to a peer/peer
group
peer { group-name |
ip-address }
route-policy
route-policy-name
export
Reference an ACL to filer
routing information to a
peer/peer group
peer { group-name |
ip-address } filter-policy
acl-number export
Reference an AS path ACL to
filer routing information to a
peer/peer group
peer { group-name |
ip-address } as-path-acl
as-path-acl-number
export
Reference an IP prefix list to filer
routing information to a
peer/peer group
peer { group-name |
ip-address } ip-prefix
ip-prefix-name export
To do... Use the command... Remarks
Enter system view system-view -
Enter BGP view bgp as-number -