![Huawei S6700 Series Configuration Manual Download Page 624](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517624.webp)
Procedure
l
Filtering the Received Routes
Do as follows on the switch that runs BGP:
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgp
as-number
The BGP view is displayed.
3.
Run:
filter-policy
{
acl-number
|
acl-name
acl-name
|
ip-prefix
ip-prefix-
name
}
import
The filtering policy is configured for routes received by BGP.
l
Filtering Routes Received from the Peers or Peer Groups
Do as follows on the switch that runs BGP:
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgp
as-number
The BGP view is displayed.
3.
Run:
ipv4-family
unicast
The IPv4 unicast address family view is displayed.
4.
Run:
peer
{
group-name
|
ipv4-address
}
filter-policy
{
acl-number
|
acl-name
acl-name
}
import
The filtering policy is configured for routes received from peers or peer groups.
----End
10.5.6 Checking the Configuration
After filters are applied to the received routes, you can check information about the routing table
of each protocol.
Prerequisites
The configurations for applying filters to received routes are complete.
Procedure
l
Run the
display rip
process-id
route
command to check information about the RIP routing
table.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
10 Routing Policy Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
605