Switch 7700 Configuration Guide, v2

146 CHAPTER 5: ROUTING PROTOCOL OPERATION
By default, no apply clauses are defined.
Note that if the routing information meets the match conditions specified in the
route policy and also notifies the MED value configured with apply cost-type
internal when notifying the IGP route to the EBGP peers, then this value is
regarded as the MED value of the IGP route. The preference configured with the
apply cost-type internal is lower than the preference that is configured with the
apply cost command, but higher than the preference that is configured with the
default med command.
Importing Routing Information Discovered by Other Routing Protocols
A routing protocol can import the routes that are discovered by other routing
protocols to enrich its route information. The route policy can filter route
information to implement the redistribution. If the destination routing protocol
that imports the routes cannot directly reference the route costs of the source
routing protocol, you should satisfy the requirement of the destination protocol by
specifying a route cost for the imported route.
Perform the following configuration in routing protocol view.
By default, the routes discovered by other protocols will not be distributed.
Note: In different routing protocol views, the parameter options are different. For
details, refer to the description of the import-route command for each protocol .
Set the routing cost of the routing
information
apply cost value
Cancel the routing cost of the
routing information
undo apply cost
set the cost type of the routing
information
apply cost-type [ internal | external ]
remove the setting of the cost type undo apply cost-type
Set the route origin of the BGP
routing information
apply origin { igp | egp as-number | incomplete }
Cancel the route origin of the BGP
routing information
undo apply origin
Set the tag domain of the OSPF
routing information
apply tag value
Cancel the tag domain of the OSPF
routing information
undo apply tag
Tab le 125 Configure Importing Routes of other Protocols
Operation Command
Set to import routes of other
protocols
import-route protocol [ med med | cost cost ] [ tag value ] [
type 1 | 2 ] [ route-policy route-policy-name ]
Cancel the setting for
importing routes of other
protocols
undo import-route protocol
Table 124 Define Apply Clauses
Operation Command