3Com Switch 7750 SeriesCommand Reference Guide – Routing Protocol Chapter 6 IP Routing Policy Configuration Commands6-12ViewRoute policy viewParameterbasic-community-list-number: Basic community list number, ranging from 1 to 99.adv-community-list-number: Advanced community list number, ranging from 100 to199.whole-match: Exact match, which means that all communities and only thesecommunities must be displayed.DescriptionUse the if-match community command to match community attributes of BGProuting information.Use the undo if-match community command to cancel community attributematching settings.Be default, community attributes are not set for matching.An if-match statement of Route-policy sets community attributes as matchingconditions to filter BGP routing information.Related command: route-policy and ip community-list.Example# Create community-list 1, which permits routing information of AS 100 and AS 200.Then create a Route-policy named test and define an if-match statement quoting thedefinitions of community-list 1 for node 10 of the Route-policy.<3Com> system-viewSystem View: return to User View with Ctrl+Z.[3Com] ip community-list 1 permit 100:200[3Com] route-policy test permit node 10[3Com-route-policy] if-match community 16.1.15 if-match costSyntaxif-match cost valueundo if-match costViewRoute policy view