Command Manual – IPv4 RoutingH3C S7500E Series Ethernet Switches Chapter 6 Routing Policy Configuration Commands6-4[Sysname] route-policy setcommunity permit node 16[Sysname-route-policy] if-match as-path 8[Sysname-route-policy] apply community no-export6.1.4 apply costSyntaxapply cost [ + | - ] valueundo apply costViewRouting policy viewParameters+: Increases cost value.+: Decreases cost value.cost: Specifies a cost from 0 to 4294967295.DescriptionUse the apply cost command to set a cost for routing information.Use the undo apply cost command to remove the clause configuration.No cost is set for routing information by default.Related commands: if-match interface, if-match acl, if-match ip-prefix, if-match ipnext-hop, if-match cost, if-match tag, route-policy, apply ip-address next-hop,apply local-preference, apply origin, apply tag.Examples# Create routing policy policy1 with node 10, matching mode as permit. If a routematches the outbound interface VLAN-interface 10, set the cost for the route to 120. system-view[Sysname] route-policy policy1 permit node 10[Sysname-route-policy] if-match interface vlan-interface 10[Sysname-route-policy] apply cost 1206.1.5 apply cost-typeSyntaxapply cost-type { external | internal | type-1 | type-2 }undo apply cost-type