Operation Manual – Routing ProtocolH3C S5600 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration6-7Note:z A routing policy comprises multiple nodes. There is an OR relationship betweenthe nodes in a routing policy. As a result, the system examines the nodes insequence, and once the route matches a node in the routing policy, it will pass thematching test of the routing policy without entering the test of the next node.z During the matching, there is an AND relationship between the if-match clausesfor a routing policy node. That is, a matching test against a node is successful onlywhen all the matching conditions specified by the if-match clauses in the node aresatisfied.z If no if-match clauses are specified, all the routes will filter through the node.z A node can comprise no if-match clause or multiple if-match clauses.z Each node comprises a set of if-match and apply clauses. if-match clausesdefine matching rules. apply clauses specify the actions performed after amatching test against the node is successful, and the actions can be the attributesettings of routing information.6.4 IP-Prefix ConfigurationIP-prefix plays a role similar to ACL and but is more flexible and easier to understand.When IP-prefix is applied to filtering routing information, its matching object is thedestination address information field of routing information.6.4.1 Configuration PrerequisitesBefore configuring a filter list, prepare the following data:z IP-prefix namez Range of addresses to be matched6.4.2 Configuring an ip-prefix listAn IP-prefix list is identified by its IP-prefix list name. Each IP-prefix list can comprisemultiple entries. Each entry can independently specify a match range in the form ofnetwork prefix and is identified by an index-number. For example, the following is anIP-prefix list named abcd:z ip ip-prefix abcd index 10 permit 1.0.0.0 8z ip ip-prefix abcd index 20 permit 2.0.0.0 8During the matching of a route, the router checks the entries in ascending order ofindex-number. Once the route matches an entry, the route passes the filtering of theIP-prefix list and no other entry will be matched.Follow these steps to configure an IPv4 IP-prefix list: