实验拓扑
实验需求及解法
1.如图所示,配置所有路由器的接口IP地址。
R1:
interface GigabitEthernet0/0/0
ip address 10.0.123.1 255.255.255.0
#
R2:
interface GigabitEthernet0/0/0
ip address 10.0.123.2 255.255.255.0
interface GigabitEthernet0/0/1
ip address 10.0.24.2 255.255.255.0
#
R3:
interface GigabitEthernet0/0/0
ip address 10.0.123.3 255.255.255.0
interface Serial1/0/0
ip address 10.0.34.3 255.255.255.0
#
R4:
interface GigabitEthernet0/0/0
ip address 10.0.24.4 255.255.255.0
interface Serial1/0/0
ip address 10.0.34.4 255.255.255.0
interface GigabitEthernet0/0/1
ip address 10.0.45.4 255.255.255.0
#
R5:
interface GigabitEthernet0/0/0
ip address 10.0.45.5 255.255.255.0
interface LoopBack0
ip address 10.0.5.5 255.255.255.255
2.运行IS-IS,进程号1
- 2.1 R1/2/3属于区域49.0123,R4属于区域49.0004,R5属于区域49.0005
- 2.2 系统ID如下:
- R1:0000.0000.0001
- R2:0000.0000.0002
- R3:0000.0000.0003
- R4:0000.0000.0004
- R5:0000.0000.0005
- 2.3 R1为Level-1路由器,R4为Level-2路由器,R5为Level-2路由器。
- R2和R3为Level1-2路由器。
- 2.4 将各路由器的is–name修改为各自的设备名称。
- 2.5 确保R1可以ping通10.0.5.5
R1:
isis 1
is-level level-1
network-entity 49.0123.0000.0000.0001.00
is-name R1
interface GigabitEthernet0/0/0
isis enable 1
#
R2
isis 1
network-entity 49.0123.0000.0000.0002.00
is-name R2
interface GigabitEthernet0/0/0
isis enable 1
interface GigabitEthernet0/0/1
isis enable 1
#
R3:
isis 1
network-entity 49.0123.0000.0000.0003.00
is-name R3
interface GigabitEthernet0/0/0
isis enable 1
interface Serial1/0/0
isis enable 1
#
R4:
isis 1
is-level level-2
network-entity 49.0004.0000.0000.0004.00
is-name R4
interface GigabitEthernet0/0/0
isis enable 1
interface GigabitEthernet0/0/1
isis enable 1
interface Serial1/0/0
isis enable 1
#
R5:
isis 1
is-level level-2
network-entity 49.0005.0000.0000.0005.00
is-name R5
interface GigabitEthernet0/0/0
isis enable 1
interface LoopBack0
isis enable 1
3.IS-IS优化
R1:
interface GigabitEthernet0/0/0
isis dis-priority 120
- 3.2 在R2/3上修改circuit-level,使得R2/3向R1只发送Level-1的IIH,向R4只发送Level-2的IIH。(IIH:ISIS Hello)查看R2/3的ISIS邻居,确认R2与R3只有L1的邻居关系。
R2:
interface GigabitEthernet0/0/0
isis circuit-level level-1
interface GigabitEthernet0/0/1
isis circuit-level level-2
#
R3:
interface GigabitEthernet0/0/0
isis circuit-level level-1
interface Serial1/0/0
isis circuit-level level-2
R4:
interface GigabitEthernet0/0/1
isis circuit-type p2p
#
R5:
interface GigabitEthernet0/0/0
isis circuit-type p2p
4.路径优化
R2/3:
isis 1
import-route isis level-2 into level-1
[R1]dis ip routing-table 10.0.5.5
R2/3:
isis 1
auto-cost enable
[R1]dis ip routing-table 10.0.5.5
原文地址:https://blog.csdn.net/qq_33794290/article/details/134591525
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若转载,请注明出处:http://www.7code.cn/show_21610.html
如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱:suwngjj01@126.com进行投诉反馈,一经查实,立即删除!
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。