![Huawei Quidway S5600 Operation Manual Download Page 399](http://html.mh-extra.com/html/huawei/quidway-s5600/quidway-s5600_operation-manual_169841399.webp)
Operation Manual – Routing Protocol
Quidway S5600 Series Ethernet Switches-Release 1510
Chapter 6 IP Routing Policy Configuration
Huawei Technologies Proprietary
6-9
Operation
Command
Description
Configure basic
community list
ip community-list basic-comm-list-number
{
permit
|
deny
} [
aa:nn
|
internet
|
no-export-subconfed
|
no-advertise
|
no-export
]*
Optional
Configure
advanced
community list
ip community-list adv-comm-list-number
{
permit
|
deny
}
comm-regular-expression
Optional
By default, no BGP community list is defined.
6.7 Displaying IP Routing Policy
After the above configuration, execute the
display
command in any view to display and
verify the routing policy configuration.
Table 6-7
Display and debug a route policy
Operation
Command
Description
Display route-policy
information
display route-policy
[
route-policy-name
]
Display address
prefix list information
display ip ip-prefix
[
ip-prefix-name
]
You can execute the
display
command in any view.
6.8 IP Routing Policy Configuration Example
6.8.1 Configuring IP Routing Policy Information
I. Network requirements
z
As shown in Figure 6-1, SwitchA communicates with SwitchB using OSPF
protocol. SwitchA’s router ID is 1.1.1.1 and SwitchB’s is 2.2.2.2.
z
Configure OSPF routing process in SwitchA, and configure three static routes.
z
Configure a routing policy for SwitchA to filter imported static routes. In this
example, the routes in 20.0.0.0 and 40.0.0.0 network segments can be imported,
but those in 30.0.0.0 network segment will be filtered out.
z
Check OSPF routing table in SwitchB to verify whether the routing policy is
effective.