![Huawei S6700 Series Скачать руководство пользователя страница 289](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517289.webp)
3.
Configuring IS-IS to Import External Routes
–
If you want to set the cost for the imported route, you can run the
import-route
protocol
[
process-id
] [
cost-type
{
external
|
internal
} |
cost
cost
|
tag
tag
|
route-policy
route-policy-name
| [
level-1
|
level-2
|
level-1-2
] ]
*
command to
import the external routes.
–
If you want to keep the original cost for the imported route, you can run the
import-
route
{ {
rip
|
isis
|
ospf
} [
process-id
] |
direct
|
unr
|
bgp
}
inherit-cost
[
tag
tag
|
route-policy
route-policy-name
| [
level-1
|
level-2
|
level-1-2
] ]
*
command
to import the external routes. When configuring IS-IS to retain the original cost
value of the imported route, the source routes cannot be
static
.
NOTE
IS-IS will advertise all imported external routes to the IS-IS areas by default.
If only some imported external routes need to be advertised, run the
filter-policy export
command to set a filtering policy.
l
(Optional) Configure IS-IS to advertise some external routes to the IS-IS areas.
1.
Run:
system-view
The system view is displayed.
2.
Run:
isis
[
process-id
]
The IS-IS view is displayed.
3.
Run:
filter-policy
{
acl-number
|
acl-name
acl-name
|
ip-prefix
ip-prefix-name
|
route-policy
route-policy-name
}
export
[
protocol
[
process-id
] ]
IS-IS is configured to advertise specified external routes to the IS-IS areas.
NOTE
After this command is run, only external routes that meet the specified conditions can be
advertised to the IS-IS areas.
----End
6.7.5 Checking the Configuration
After IS-IS is enabled to import routes from other protocols, run the following commands to
verify that the configurations are correct.
Procedure
l
Run the
display isis lsdb
[ {
level-1
|
level-2
} |
verbose
| {
local
|
lsp-id
|
is-name
symbolic-
name
} ]
*
[
process-id
|
vpn-instance
vpn-instance-name
] command to check IS-IS LSDB
information.
l
Run the
display isis route
[
process-id
|
vpn-instance
vpn-instance-name
] [
ipv4
]
[
verbose
| [
level-1
|
level-2
] |
ip-address
[
mask
|
mask-length
] ]
*
command to check IS-
IS routing information.
l
Run the
display ip routing-table
ip-prefix
ip-prefix-name
[
verbose
] command to check
the IP routing table.
----End
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
6 IS-IS Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
270