Operation Manual – IPv4 RoutingH3C S5500-EI Series Ethernet Switches Chapter 6 Routing Policy Configuration6-8To do… Use the command… RemarksMatch routes having communityattributes in the specified communitylist(s)if-match community{ basic-community-list-number[ whole-match ] |adv-community-list-number }&<1-16>OptionalNot configuredby defaultMatch routes having the specified cost if-match cost valueOptionalNot configuredby defaultMatch BGP routes having extendedattributes contained in the extendedcommunity list(s)if-matchextcommunityext-comm-list-number&<1-16>OptionalNot configuredby defaultMatch routes having specifiedoutbound interface(s)if-match interface{ interface-typeinterface-number }&<1-16>OptionalNot configuredby defaultMatch routes having the specified routetypeif-match route-type{ internal |external-type1 |external-type2 |external-type1or2 |is-is-level-1 |is-is-level-2 |nssa-external-type1 |nssa-external-type2 |nssa-external-type1or2 } *OptionalNot configuredby defaultMatch RIP, OSPF, or IS-IS routeshaving the specified tag value if-match tag valueOptionalNot configuredby defaultNote:z The if-match clauses of a route-policy are in logic AND relationship, namely, routinginformation has to satisfy all if-match clauses before being executed with applyclauses.z You can specify no or multiple if-match clauses for a routing policy. If no if-matchclause is specified, and the routing policy is in permit mode, all routing informationcan pass the node; if in deny mode, no routing information can pass.6.4.4 Defining apply Clauses for the Routing PolicyFollow these steps to define apply clauses for a route-policy: