534
Predefined user roles
network-admin
Parameters
protocol
: Redistributes routes from the specified routing protocol, which can be
direct
,
static
,
ripng
,
isisv6
,
bgp4+
, or
ospfv3
.
process-id
: Specifies a process by its ID in the range of 1 to 65535. It is available only when the protocol
is
ripng
,
isisv6
, or
ospfv3
.
cost
cost
: Specifies a cost for redistributed routes, in the range of 0 to 4261412864.
level-1
: Redistributes routes into the Level-1 routing table.
level-1-2
: Redistributes routes into Level-1 and Level-2 routing tables.
level-2
: Redistributes routes into the Level-2 routing table.
route-policy
route-policy-name
: Specifies a routing policy by its name, a case-sensitive string of 1 to 63
characters, to filter redistributed routes.
tag
tag
: Specifies an administrative tag for marking redistributed routes, in the range of 1 to
4294967295.
allow-ibgp
: Allows redistribution of IBGP routes. This keyword is available only when the protocol is
bgp4+
.
Usage guidelines
IPv6 IS-IS considers redistributed routes as AS-external routes.
You can specify a cost and a level for redistributed routes.
The
import-route bgp4+
command redistributes only EBGP routes. The
import-route bgp4+ allow-ibgp
command redistributes both EBGP and IBGP routes, and might cause routing loops. Therefore, use it with
caution.
Examples
# Configure IPv6–IS-IS to redistribute static routes and set the cost for redistributed routes to 15.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] ipv6 import-route static cost 15
ipv6 import-route isisv6 level-1 into level-2
Use
ipv6 import-route isisv6 level-1 into level-2
to enable route advertisement from Level-1 to Level-2.
Use
undo ipv6 import-route isisv6 level-1 into level-2
to disable route advertisement from Level-1 to
Level-2.
Syntax
ipv6 import-route isisv6 level-1 into level-2
[
filter-policy
{
acl6-number
|
prefix-list
prefix-list-name
|
route-policy
route-policy-name
} |
tag
tag
] *
undo ipv6 import-route isisv6 level-1 into level-2
Default
Route advertisement from Level-1 to Level-2 is enabled.
Содержание 5900
Страница 554: ...541 Sysname Vlan interface100 isis ipv6 enable 1 ...