Operation Manual – Routing Protocol
Quidway S5600 Series Ethernet Switches-Release 1510
Operation
Configure basic
community list
Configure
advanced
community list
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
Display route-policy
information
Display
prefix list information
6.8 IP Routing Policy Configuration Example
6.8.1 Configuring IP Routing Policy Information
I. Network requirements
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.
Configure OSPF routing process in SwitchA, and configure three static routes.
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.
Check OSPF routing table in SwitchB to verify whether the routing policy is
effective.
ip
community-list
{ permit | deny } [ aa:nn | internet |
no-export-subconfed
no-export ]*
ip
community-list
{ permit | deny } comm-regular-expression
Command
display
[ route-policy-name ]
address
display
[ ip-prefix-name ]
Huawei Technologies Proprietary
6-9
Chapter 6 IP Routing Policy Configuration
Command
basic-comm-list-number
|
no-advertise
adv-comm-list-number
route-policy
You can execute the display
command in any view.
ip
ip-prefix
Description
Optional
|
Optional
Description