3Com 3.01.01 Switch User Manual


 
156 CHAPTER 5: IP ROUTING PROTOCOL OPERATION
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 are not imported.
In different routing protocol views, the parameter options are different. For
details, refer to the description of the import-route command for each protocol .
Defining IP Prefix
A prefix list is identified by the IP prefix name. Each IP prefix can include multiple
items, and each item can specify the matching range of the network prefix forms.
The index-number specifies the matching sequence in the prefix list.
Perform the following configurations in system view.
During the matching, the router checks list items identified by the index-number in
the ascending order. If only one list item meets the condition, it means that it has
passed the ip-prefix filtering (and does not enter the testing of the next list item).
If more than one IP prefix item is defined, then the match mode of at least one list
item should be the permit mode. The list items of the deny mode can be defined
to rapidly filter the routing information not satisfying the requirement, but if all
Table 135 Configuring Importing Routes of Other Protocols
Operation Command
Import routes of other protocols import-route protocol [ med med | cost cost
]
[ tag value ] [ type 1 | 2 ] [ route-policy
route-policy-name ]
Do not import routes of other protocols undo import-route protocol
Table 136 Defining Prefix-list
Operation Command
Define a prefix list ip ip-prefix ip-prefix-name [ index
index-number ] { permit | deny } network len
[ greater-equal greater-equal ] [ less-equal
less-equal ]
Remove a prefix list undo ip ip-prefix ip-prefix-name [ index
index-number | permit | deny ]