3Com Switch 7750 SeriesCommand Reference Guide – Routing Protocol Chapter 6 IP Routing Policy Configuration Commands6-3Example#Create a Route-policy named setcommunity and set its node sequence number as16 and matching mode as permit. Enter route policy view and set matching conditionsand execute attribute change command<3Com> system-viewSystem View: return to User View with Ctrl+Z.[3Com]route-policy 10 permit node 10[3Com] route-policy setcommunity permit node 16[3Com-route-policy] if-match as-path 8[3Com-route-policy] apply community no-export6.1.3 apply costSyntaxapply cost valueundo apply costViewRoute policy viewParametervalue: Route cost value of route information. The value ranges from 0 to 4294967295.DescriptionUse the apply cost command to configure the route cost value of route information.Use the undo apply cost command to cancel the apply statement.By default, no apply statement is defined.An apply statement of Route-policy sets the cost of the routes passing the filtering.Related command: if-match interface, if-match acl, if-match ip-prefix, if-match ipnext-hop, if-match cost, if-match tag, route-policy, apply ip next-hop, applylocal-preference, apply origin, and apply tag.Example# Define an apply statement. When it is used for setting route information attribute, itsets the route cost value of route information as 120.<3Com> system-viewSystem View: return to User View with Ctrl+Z.[3Com] route-policy policy_10 permit node 12%New sequence of this list[3Com-route-policy] apply cost 120