3Com 3031 Command Reference Manual page 582

3com 3031: reference guide
Hide thumbs Also See for 3031:
Table of Contents

Advertisement

582
C
6: R
P
HAPTER
OUTING
import-route
network
ROTOCOL
Example
Filter the received routing information according to the rule defined by the access
control list 2.
[3Com] acl number 2
[3Com-acl-basic-2] rule permit source 20.0.0.0 0.255.255.255
[3Com-acl-basic-2] rule deny source any
[3Com-ospf-1] filter-policy 2 import
Syntax
import-route protocol [ cost value ] [ type value ] [ tag value ] [ route-policy
route-policy-name ]
undo import-route protocol
View
OSPF view
Parameter
protocol: Specifies the source routing protocol that can be imported. At
present, it includes direct, rip, bgp, isis, static, ospf, ospf-ase, and ospf-nssa.
ospf process-id: Imports only the internal routes found by OSPF process-id as
external routing information. If no process number is specified, the OSPF
default process number 1 is used.
ospf-ase process-id: Imports only the ASE external routes found by OSPF
process-id as external routing information. If no process number is specified,
the OSPF default process number 1 is used.
ospf-nssa process-id: Imports only the NSSA external routes found by OSPF
process-id as external routing information. If no process number is specified,
the OSPF default process number 1 is used.
route-policy route-policy-name: Imports only the routes matching the specified
Route-policy.
Description
Using the import-route command, you can import the information of another
routing protocol. Using the undo import-route command, you can cancel the
imported external routing information.
By default, the routing information of other protocols is not imported.
Example
Specify an imported RIP route as the route of type 2, with the route tag as 33 and
the route cost as 50.
[3Com-ospf-1] import-route rip type 2 tag 33 cost 50
Specify OSPF process 100 to import the route found by OSPF 160.
[3Com-ospf-160] import-route ospf 160
Syntax
network ip-address wildcard
undo network ip-address wildcard

Advertisement

Table of Contents
loading

Table of Contents