Configuring Inbound Mbgp Route Filtering - H3C S5500-EI Configuration Manual

Switch series
Hide thumbs Also See for S5500-EI:
Table of Contents

Advertisement

Step
4.
Configure BGP route
distribution filtering policies.

Configuring inbound MBGP route filtering

By configuring MBGP route reception filtering policies, you can filter out unqualified routes from an
MBGP peer or peer group. Members of a peer group can have different route reception filtering policies
from the peer group.
If several filtering policies are configured, they are applied in the following sequence:
filter-policy import
1.
peer filter-policy import
2.
peer as-path-acl import
3.
peer ip-prefix import
4.
peer route-policy import
5.
Only the routes that have passed all the configured policies can be advertised.
To configure MBGP route reception filtering policies:
Step
1.
Enter system view.
Command
Configure the filtering of redistributed
routes:
filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ direct | isis
process-id | ospf process-id | rip
process-id | static ]
Apply a routing policy to
advertisements to an IPv4 MBGP peer
or a peer group:
peer { group-name | peer-address }
route-policy route-policy-name export
Reference an ACL to filter
advertisements to an IPv4 MBGP peer
or a peer group:
peer { group-name | ip-address }
filter-policy acl-number export
Reference an AS path list to filter route
advertisements to an IPv4 MBGP peer
or a peer group:
peer { group-name | ip-address }
as-path-acl as-path-acl-number export
Reference an IP prefix list to filter route
advertisements to an IPv4 MBGP peer
or a peer group:
peer { group-name | ip-address }
ip-prefix ip-prefix-name export
Command
system-view
250
Remarks
Use at least one command.
By default, no outbound
route filtering is configured.
Remarks
N/A

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5500-si

Table of Contents