Operation Manual – Routing ProtocolH3C S7500 Series Ethernet Switches Chapter 7 IP Routing Policy Configuration7-97.2.6 Applying a Routing Policy to Receive or Advertise RoutesNote:The filter-policy command (used to apply a routing policy to receive or advertiseroutes) is somewhat different in form in different routing protocol views. Refer to thefilter-policy command description under routing protocols in the command manual.7.3 Displaying and Maintaining IP Routing PolicyConfigurationTo do... Use the command... RemarksDisplay route-policyinformationdisplay route-policy[ route-policy-name ]Display information aboutthe specified AS path ACL display ip as-path-acl [ acl-number ]Display information aboutthe specified addressprefix listdisplay ip ip-prefix [ ip-prefix-name ]Display information aboutthe specified communitylistdisplay ip community-list[ basic-comm-list-number |adv-comm-list-number ]Available inany view7.4 IP Routing Policy Configuration Example7.4.1 Filtering Routing InformationI. Network requirementsz As shown in Figure 7-1, Switch A communicates with Switch B. Both switchesenable the OSPF protocol. Switch A’s router ID is 1.1.1.1 and Switch B’s is2.2.2.2.z Configure OSPF routing process on Switch A: configuring and importing threestatic routes.z Configure a routing policy on Switch A to filter imported static routes. In thisexample, 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.