3Com Switch 7750 SeriesCommand Reference Guide – Routing Protocol Chapter 6 IP Routing Policy Configuration Commands6-11System View: return to User View with Ctrl+Z.[3Com] route-policy policy_10 permit node 12%New sequence of this list[3Com-route-policy] if-match ip-prefix p16.1.13 if-match as-pathSyntaxif-match as-path as-path-numberundo if-match as-pathViewRoute policy viewParameteras-path-number: AS path number, ranging from 1 to 199.DescriptionUse the if-match as-path command to match the AS path field of BGP routinginformation.Use the undo if-match as-path command to cancel the AS path field matching.By default, AS regular expression is not set for matching in Route-policy.An if-match statement of Route-policy sets AS path attributes as matching conditionsto filter BGP routing information.Example# Create as-path 2, which permits the routing information of AS 200 and AS 300. Thencreate a Route-policy named test, and define an if-match statement quoting thedefinitions of as-path 2 for node 10 of the Route-policy.<3Com> system-viewSystem View: return to User View with Ctrl+Z.[3Com] ip as-path-acl 2 permit 200:300[3Com] route-policy test permit node 10[3Com-route-policy] if-match as-path 26.1.14 if-match communitySyntaxif-match community { basic-community-list-number [ whole-match ] |adv-community-list-number }undo if-match community