3com 3031 Instruccion De Instalación
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
578
C
HAPTER
43: IP R
OUTING
P
OLICY
C
ONFIGURATION
Importing Routing
Information Discovered
by Other Routing
Protocols
A routing protocol can import the routes discovered by other routing protocols to
enrich its route information. When other protocol routing information is to be
imported, the route-policy can be used for route information filtering to
implement the purposeful redistribution. If the destination routing protocol
importing the routes cannot directly reference the route costs of the source
routing protocol, you should satisfy the requirement of the protocol by specifying
a route cost for the imported route.
enrich its route information. When other protocol routing information is to be
imported, the route-policy can be used for route information filtering to
implement the purposeful redistribution. If the destination routing protocol
importing the routes cannot directly reference the route costs of the source
routing protocol, you should satisfy the requirement of the 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.
In different routing protocol views, the parameter options are different. For
details, respectively refer to the
details, respectively refer to the
import-route
command in different protocols.
Defining IP Prefix List
An ip-prefix list is identified by the ip-prefix name. Each ip-prefix can include
multiple items, and each item can independently specify the matching range of
the network prefix forms. The index-number specifies the matching sequence in
the ip-prefix list.
multiple items, and each item can independently specify the matching range of
the network prefix forms. The index-number specifies the matching sequence in
the ip-prefix list.
Perform the following configuration 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 (will not enter the testing of the next list item).
the ascending order. If only one list item meets the condition, it means that it has
passed the ip-prefix filtering (will not enter the testing of the next list item).
Please note that if more than one ip-prefix item are 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 firstly defined to rapidly filter the routing information not satisfying
the requirement, but if all the items are in the deny mode, any routes will not pass
the ip-prefix filtering. You can define an item of permit 0.0.0.0/0 greater-equal 0
less-equal 32 after the multiple list items in the deny mode so as to let all the other
routes pass.
of at least one list item should be the permit mode. The list items of the deny
mode can be firstly defined to rapidly filter the routing information not satisfying
the requirement, but if all the items are in the deny mode, any routes will not pass
the ip-prefix filtering. You can define an item of permit 0.0.0.0/0 greater-equal 0
less-equal 32 after the multiple list items in the deny mode so as to let all the other
routes pass.
Table 675 Importing routes of other protocols
Operation
Command
Set to import routes of other
protocols
protocols
import-route protocol [ med med | cost cost
] [ tag value ] [ type 1 | 2 ] [
route-policy route-policy-name ]
] [ tag value ] [ type 1 | 2 ] [
route-policy route-policy-name ]
Cancel the setting for importing
routes of other protocols
routes of other protocols
undo import-route protocol
Table 676 Defining IP prefix list
Operation
Command
Define IP prefix list
ip ip-prefix ip-prefix-name [ index
index-number ] { permit | deny } network
len [ greater-equal greater-equal |
less-equal less-equal ]
index-number ] { permit | deny } network
len [ greater-equal greater-equal |
less-equal less-equal ]
Remove IP prefix list
undo ip ip-prefix ip-prefix-name [ index
index-number | permit | deny ]
index-number | permit | deny ]