3Com Switch 7750 Configuration Guide
IP Routing Policy Configuration 381
By default, no apply clause is defined.
Note that, if the apply cost-type internal clause is defined for a route-policy
node, when all the matching conditions of the node are met, IGP cost will be used
as the BGP MED value when the system advertises IGP routes to EBGP peers. The
apply cost clause takes precedence over the apply cost-type internal clause,
while the latter takes precedence over the default med command.
Defining an IP Prefix List An ip-prefix (IP prefix list) is identified by its ip-prefix name. Each ip-prefix can
include multiple items, and each item, identified by an index-number, can
independently specify the match range in network prefix form. Index-numbers
specify the matching order of the items in the ip-prefix.
During a matching test, the router checks the items in the ascending order of their
index-numbers. Once an item is met, the ip-prefix filtering is passed and no other
item will be checked.
Define an action to set the
community attribute of BGP
routing information
apply community { none |
[ aa:nn ] &<1-13>
[ no-export-subconfed |
no-export | no-advertise ]*
[ additive ]}
Optional
Define a action to set the
next-hop address of routing
information
apply ip next-hop ip-address Optional
Define an action to import
routing information into the
IS-IS area(s) at specified
level(s)
apply isis [ level-1 | level-2 |
level-1-2 ]
Optional
Define an action to set the
local preference of routing
information
apply local-preference
local-preference
Optional
Define an action to set the
cost of routing information
apply cost value Optional
Define an action to set the
cost type of routing
information
apply cost-type [ internal |
external ]
Optional
Define an action to set the
routing source of routing
information
apply origin { igp | egp
as-number | incomplete }
Optional
Define an action to set the tag
field of RIP or OSPF routing
information
apply tag value Optional
Table 310 Define apply clauses
Operation Command Description
Table 311 Define an IP prefix list
Operation Command Description
Enter system view system-view -
Define an IP prefix list ip ip-prefix ip-prefix-name [ index
index-number ]{permit | deny } network len
[ greater-equal greater-equal | less-equal
less-equal ]*
Optional