Operation Manual – Routing ProtocolH3C S7500 Series Ethernet Switches Chapter 7 IP Routing Policy Configuration7-11[SwitchA-acl-basic-2000] quit# Configure a route-policy.[SwitchA] route-policy ospf permit node 10[SwitchA -route-policy] if-match acl 2000[SwitchA -route-policy] quit# Apply route policy when the static routes are imported.[SwitchA] ospf[SwitchA-ospf-1] import-route static route-policy ospf2) Configure Switch B:# Configure the IP address of the interface. system-view[SwitchB] interface vlan-interface 100[SwitchB-Vlan-interface100] ip address 10.0.0.2 255.0.0.0[SwitchB-Vlan-interface100] quit# Enable the OSPF protocol and specify the ID of the area to which the interface10.0.0.2 belongs.[SwitchB] router id 2.2.2.2[SwitchB] ospf[SwitchB-ospf-1] area 0[SwitchB-ospf-1-area-0.0.0.0] network 10.0.0.0 0.255.255.255[SwitchB-ospf-1-area-0.0.0.0] quit[SwitchB-ospf-1] quit7.5 Troubleshooting IP Routing PolicySymptom: Routing information cannot be filtered when the routing protocol runsnormally.Solution: Check to see the following requirements are satisfied.At least one node in a route-policy should be in permit mode. When a route-policy isused to filter routing information, if a route fails to pass the match test against anynode, the route information will not pass the filtering of the route-policy. When all thenodes in the route-policy are in the deny mode, no routing information will pass thefiltering of the route-policy.At least one item in an ip-prefix list should be in permit mode. The items in denymode can be defined first to rapidly filter out the routing information not meeting theconditions. However, if all the items are in the deny mode, no route will pass thefiltering of the ip-prefix list. Therefore, you need to define a permit 0.0.0.0 0greater-equal 0 less-equal 32 item following multiple deny mode items to permit allother routes to pass through (if less-equal 32 is not specified, only the default routewill be matched).