The ipv6 import-route command enables IS-IS to import IPv6 routes from other protocols.
The undo ipv6 import-route command disables IS-IS from importing IPv6 routes from other protocols.
By default, IS-IS does not import IPv6 routes from other protocols.
ipv6 import-route { direct | static | unr | { ospfv3 | ripng | isis } [ process-id ] | bgp } [ cost cost | tag tag | { route-policy route-policy-name | route-filter route-filter-name } | [ level-1 | level-2 | level-1-2 ] ] *
ipv6 import-route { { ospfv3 | ripng | isis } [ process-id ] | bgp | direct | unr } inherit-cost [ { level-1 | level-2 | level-1-2 } | tag tag | { route-policy route-policy-name | route-filter route-filter-name } ] *
undo ipv6 import-route { direct | static | unr | { ospfv3 | ripng | isis } [ process-id ] | bgp }
Parameter | Description | Value |
---|---|---|
direct |
Imports direct routes. |
- |
static |
Imports static routes. |
- |
unr |
Imports UNR routes. |
- |
ospfv3 |
Imports OSPFv3 routes. |
- |
ripng |
Imports RIPng routes. |
- |
isis |
Imports IS-IS routes. Before you specify this parameter, enable an IS-IS process with a. process-id different from the local one. |
- |
process-id |
Specifies the process ID of the imported protocol. |
The value is an integer ranging from 1 to 4294967295. The default value is 1. |
bgp |
Imports BGP routes. |
- |
cost cost |
Specifies a cost for the imported route. |
The value ranges from 0 to 4261412864, regardless of cost types. |
tag tag |
Assigns administrative tags to the imported routes. |
The value is an integer ranging from 1 to 4294967295. |
route-policy route-policy-name |
Specifies the name of a route-policy. |
The name is a string of 1 to 200 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
route-filter route-filter-name |
Specifies the name of route filter policy. The policy is used to filter the imported routes so that only some of the routes of other routing domains can be imported. |
The value is a string of 1 to 200 case-sensitive characters, spaces not supported. If parameters are included in the referenced route-filter, specify values for them in the format of (var1, var2, ...var8) behind the route-filter name. A maximum of eight parameters can be specified, and each value ranges from 1 to 200 characters. |
level-1 |
Imports routes to the Level-1 routing table. |
- |
level-2 |
Imports routes to the Level-2 routing table. |
- |
level-1-2 |
Imports routes to Level-1 and Level-2 routing tables. If no level is specified in the command, routes are imported to the Level-2 routing table by default. |
- |
inherit-cost |
Retains the original cost of the imported route. If this parameter is specified, you cannot configure the cost and cost type for the routes imported by IS-IS. |
- |
Usage Scenario
When IS-IS and other routing protocols are deployed on a network, you can enable the traffic within an IS-IS domain to reach a destination outside the IS-IS domain using either of the following methods:
Prerequisites
An IS-IS process has been created using the isis command, and the IPv6 has been enabled on IS-IS process using the ipv6 enable command.
Configuration Impact
The imported routes may lead to a routing loop. Therefore, exercise caution. Using a routing policy to filter imported routes is recommended.