Operation Manual – Routing ProtocolH3C S5600 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration6-56.3.3 Defining if-match Clauses and apply ClausesFollow these steps to define if-match clauses and apply clauses:To do... Use the command... RemarksEnter system view system-view —Enter the route-policyviewroute-policyroute-policy-name { permit| deny } nodenode-number—Define a rule tomatch AS path ofBGP routinginformationif-match as-pathas-path-number OptionalDefine a rule tomatch COMMUNITYattributes of BGProuting informationif-match community{ basic-community-number[ whole-match ] |adv-community-number }OptionalDefine a rule tomatch the IP addressof routing informationif-match { acl acl-number |ip-prefix ip-prefix-name }OptionalBy default, no matching isperformed on the address ofrouting information.Define a rule tomatch the cost ofroutesif-match cost valueOptionalBy default, no matching isperformed against the cost ofroutes.Define a rule tomatch the next-hopinterface of routinginformationif-match interfaceinterface-typeinterface-numberOptionalBy default, no matching isperformed on the next-hopinterface of routinginformation.Define a rule tomatch the next-hopaddress of routinginformationif-match ip next-hop { aclacl-number | ip-prefixip-prefix-name }OptionalBy default, no matching isperformed on the next-hopaddress of routinginformation.Define a rule tomatch the tag field ofOSPF routinginformationif-match tag valueOptionalBy default, no matching isperformed on the tag field ofOSPF routing information.Add specified ASnumber for as-path inBGP routinginformationapply as-pathas-number&<1-10> Optional