![Huawei S6700 Series Configuration Manual Download Page 629](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517629.webp)
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
}
export
The filtering policy is configured for routes advertised to the peers or peer groups.
----End
10.6.6 Checking the Configuration
After filters are applied to advertised routes, you can check information about the routing table
of each protocol.
Prerequisites
The configurations for applying filters to advertised routes are complete.
Procedure
l
Run the
display rip
process-id
route
command to check information about the RIP routing
table.
l
Run the
display ospf
[
process-id
]
routing
command to check information about the OSPF
routing table.
l
Run the
display isis
[
process-id
]
route
command to check information about the ISIS
routing table.
l
Run the
display bgp routing-table
command to check information about the BGP routing
table.
l
Run the
display ip routing-table
command to check information about the public IPv4
routing table.
Run the
display ip routing-table
command on the neighboring switch. You can find that
the routes that meets the matching rules set on the neighboring switch are filtered or the
actions defined by the
apply
clauses are performed.
----End
10.7 Applying Filters to Imported Routes
By applying the related filters of routing policies to routing protocols, you can filter imported
routes.
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.
610