码迷,mamicode.com
首页 > 其他好文 > 详细

ISIS在IPV6中的应用

时间:2020-03-31 12:09:20      阅读:71      评论:0      收藏:0      [点我收藏+]

标签:拓扑图   loop   bit   dynamic   区域   hosts   并且   current   协议   

ISIS在IPV6中的应用
技术图片

拓扑图拓扑图

?实验目的:

熟练掌握IPV6与IPV4的在ISIS协议下各种模式如何使用,并且能根据实验要求完成各项指标。

实验要求

1.各个相连链路的接口ipv4地址按:XY.1.1.X/Y--/24位掩码的方式配置,各路由器的环回口地址按:X.X.X.X/32形式配置。

2.各个相连链路的接口ipv6地址按:2001:XY::X/Y--/64位掩码的方式配置,各路由器的环回口地址按:2002::X/Y--/128位的方式配置。

3.R1配置在47.0123的区域内,R2.R3,R4 配置在47.0234区域内,各路由器的系统ID按:XXXX.XXXX.XXXX.或者YYYY.YYYY.YYYY的形式配置

4.R1配置在ISIS Level-2的级别,R2.R3配置在ISIS Level-1-2的级别,R4配置在ISIS Level-1的级别。

5.通过修改R4接口下COST值的方式,使得IPV4到达R1的路由走R3,IPV6 的路由走R2.

实验步骤:

1.配置各路由器的相连接口的IP地址

2.配置各路由器的ISIS进程

3.配置各路由器接口下开启isis进程

具体配置:

#R1 的配置

[AR1]sysname R1

[R1]ipv6 // 在路由器上开启ipv6功能

[R1]interface GigabitEthernet 0/0/0

[R1-GigabitEthernet0/0/0]ip address 12.1.1.1 255.255.255.0

[R1-GigabitErhernet0/0/0]ipv6 enable

[R1-GigabitEthernet0/0/0]ipv6 address 2001:12::1 64 //配置ipv6的地址

[R1-GigabitEthernet0/0/0]isis enable

[R1-GigabitEthernet0/0/0]isis ipv 6 enable

[R1-GigabitEthernet0/0/0]quit

[R1]interface GigabitEthernet0/0/1

[R1-GigabitEthernet0/0/1]ip address 13.1.1.1 255.255.255.0

[R1-GigabitEthernet0/0/1]ipv6 enable

[R1-GigabitEthernet0/0/1]ipv6 address 2001:13::2 64

[R1-GigabitEthernet0/0/1]isis enable

[R1-GigabitEthernet0/0/1]isis ipv6 enable

[R1-GigabitEthernet0/0/1]quit

[R1]interface Loopback0

[R1-Loopback0]ip address 1.1.1.1 255.255.255.255

[R1-Loopback0]ipv6 enable //接口下开启IPV6功能

[R1-Loopback0]ipv6 address 2002::1 128 //配置IPV6地址

[R1-Loopback0]isis enable       //在该接口下的IP地址宣告进ipv4的ISIS进程下

[R1-Loopback0]isis ipv6 enable //将该接口下的IP地址宣告进IPV6的ISIS进程中

[R1-Loopback0]quit

[R1]isis 1 //开启ISIS进程

[R1-isis-1] network-entity 47.0123.1111.1111.1111.00 //配置ISIS的区域ID和系统ID

[R1-isis-1]is-level level-2 //配置路由的ISIS级别为Level-2

[R1-isis-1]isis ipv6 enable standed //开启IPV6的标准模式

[R1-isis-1]quit

[R1]

#R2的配置

[AR2]sysname R2

[R2]ipv6

[R2]interface GigabitEthernet0/0/0

[R2-GigabitEthernet0/0/0]ip address 12.1.1.2 255.255.255.0

[R2-GigabitEthernet0/0/0]ipv6 enable

[R2-GigabitEthernet0/0/0]ipv6 address 2001:12::2 64

[R2-GigabitEthernet0/0/0]isis enable

[R2-GigabitEthernet0/0/0]isis ipv6 enable

[R2-GigabitEthernet0/0/0]quit

[R2]interface GigabitEthernet0/0/1

[R2-GigabitEthernet0/0/1]ip address 23.1.1.2 255.255.255.0

[R2-GigabitEtherne0/0/1]ipv6 enable

[R2-GigabitEthernet0/0/1]ipv6 adress 2001:23::2 64

[R2-GigabitEthernet0/0/1]isis enable

[R2-GigabitEthernet0/0/1]isis ipv6 enable

[R2-GigabitEthernet0/0/1]quit

[R2]interface GigabitEthernet0/0/2

[R2-GigabitEthernet0/0/2]ip address 24.1.1.2 255.255.255.0

[R2-GigabitEthernet0/0/2]ipv6 enable

[R2-Gigabit Ethernet0/0/2]ipv6 address 2001:24::2 64

[R2-GigabitEthernet0/0/2]isis enable

[R2-GigabitEthernet0/0/2]isis ipv6 enable

[R2-GigabitEthernet0/0/2]quit

[R2]interface loopback0

[R2-Loopback0]ip addrss 2.2.2.2 255.255.255.255

[R2-Loopback0]ipv6 enable

[R2-Loopback0]ipv6 address 2002::2 128

[R2-Loopback0]isis enable

[R2-Loopback0]isis ipv6 enable

[R2-Loopback0]quit

[R2]isis 1 //开启ISIS进程

[R2-isis-1] network-entity 47.0234.2222.2222.2222.00 //配置ISIS的区域ID和系统ID

[R2-isis-1]is-level level-2 //配置路由的ISIS级别为Level-2

[R2-isis-1]isis ipv6 enable standed //开启IPV6的标准模式

[R2-isis-1]quit

[R2]

#R3的配置

[AR3]sysname R3

[R3]ipv6

[R3]interface GigabitEthernet0/0/0

[R3-GigabitEthernet0/0/0]ip address 23.1.1.3 255.255.255.0

[R3-GigabitEthernet0/0/0]ipv6 enable

[R3-GigabitEthernet0/0/0]ipv6 address 2001:23::3 64

[R3-GigabitEthernet0/0/0]isis enable

[R3-GigabitEthernet0/0/0]isis ipv6 enable

[R3-GigabitEthernet0/0/0]quit

[R3]interface GigabitEthernet0/0/1

[R3-GigabitEthernet0/0/1]ip address 13.1.1.3 255.255.255.0

[R3-GigabitEtherne0/0/1]ipv6 enable

[R3-GigabitEthernet0/0/1]ipv6 adress 2001:13::3 64

[R3-GigabitEthernet0/0/1]isis enable

[R3-GigabitEthernet0/0/1]isis ipv6 enable

[R3-GigabitEthernet0/0/1]quit

[R3]interface GigabitEthernet0/0/2

[R3-GigabitEthernet0/0/2]ip address 34.1.1.3 255.255.255.0

[R3-GigabitEthernet0/0/2]ipv6 enable

[R3-Gigabit Ethernet0/0/2]ipv6 address 2001:34::3 64

[R3-GigabitEthernet0/0/2]isis enable

[R3-GigabitEthernet0/0/2]isis ipv6 enable

[R3-GigabitEthernet0/0/2]quit

[R3]interface loopback0

[R3-Loopback0]ip addrss 3.3.3.3 255.255.255.255

[R3-Loopback0]ipv6 enable

[R3-Loopback0]ipv6 address 2002::3 128

[R3-Loopback0]isis enable

[R3-Loopback0]isis ipv6 enable

[R3-Loopback0]quit

[R3]isis 1 //开启ISIS进程

[R3-isis-1] network-entity 47.0234.3333.3333.3333.00 //配置ISIS的区域ID和系统ID

[R3-isis-1]is-level level-2 //配置路由的ISIS级别为Level-2

[R3-isis-1]isis ipv6 enable standed //开启IPV6的标准模式

[R3-isis-1]quit

[R3]

#R4的配置

[AR4]sysname R4

[R4]ipv6 // 在路由器上开启ipv6功能

[R4]interface GigabitEthernet 0/0/0

[R4-GigabitEthernet0/0/2]ip address 24.1.1.4 255.255.255.0

[R4-GigabitErhernet0/0/2]ipv6 enable

[R4-GigabitEthernet0/0/2]ipv6 address 2001:24::4 64 //配置ipv6的地址

[R4-GigabitEthernet0/0/2]isis enable

[R4-GigabitEthernet0/0/2]isis ipv 6 enable

[R4-GigabitEthernet0/0/2]isis ipv6 cost 5 //在接口下修改IPV6的cost值

[R4-GigabitEthernet0/0/2]quit

[R4]interface GigabitEthernet0/0/1

[R4-GigabitEthernet0/0/1]ip address 34.1.1.4 255.255.255.0

[R4-GigabitEthernet0/0/1]ipv6 enable

[R4-GigabitEthernet0/0/1]ipv6 address 2001:34::4 64

[R4-GigabitEthernet0/0/1]isis enable

[R4-GigabitEthernet0/0/1]isis ipv6 enable

[R4-GigabitEthernet0/0/2]isis cost 5 //在接口下修改IPV4的cost值

[R4-GigabitEthernet0/0/1]quit

[R4]interface Loopback0

[R4-Loopback0]ip address 4.4.4.4 255.255.255.255

[R4-Loopback0]ipv6 enable //接口下开启IPV6功能

[R4-Loopback0]ipv6 address 2002::4 128 //配置IPV6地址

[R4-Loopback0]isis enable       //在该接口下的IP地址宣告进ipv4的ISIS进程下

[R4-Loopback0]quit

[R4]isis 1 //开启ISIS进程

[R4-isis-1] network-entity 47.0234.4444.4444.4444.00 //配置ISIS的区域ID和系统ID

[R4-isis-1]is-level level-2 //配置路由的ISIS级别为Level-2

[R4-isis-1]isis ipv6 enable standed //开启IPV6的标准模式

[R4-isis-1]quit

[R4]

验证结果:

#R4上查看IPV6接口配置

[R4]display ipv6 interface //显示接口下IPV6的地址配置

GigabitEthernet0/0/1 current state : UP //接口物理状态UP

IPv6 protocol current state : UP //接口协议状态:UP

IPv6 is enabled, link-local address is FE80::2E0:FCFF:FE88:411 //接口链路本地地址

Global unicast address(es): //接口全局单播地址

2001:34::4, subnet is 2001:34::/64 //ipv6 地址以及前缀信息

Joined group address(es): //加入的组播组

FF02::1:FF00:4 //请求节点组播地址

FF02::2 //本地链路上所有节点的组播地址

FF02::1 //本地链路上所有路由器的组播地址

FF02::1:FF88:411 //链路本地地址组播组

MTU is 1500 bytes

ND DAD is enabled, number of DAD attempts: 1

ND reachable time is 30000 milliseconds

ND retransmit interval is 1000 milliseconds

Hosts use stateless autoconfig for addresses

GigabitEthernet0/0/2 current state : UP

IPv6 protocol current state : UP

IPv6 is enabled, link-local address is FE80::2E0:FCFF:FE88:412

Global unicast address(es):

2001:24::4, subnet is 2001:24::/64

Joined group address(es):

FF02::1:FF00:4

FF02::2

FF02::1

FF02::1:FF88:412

MTU is 1500 bytes

ND DAD is enabled, number of DAD attempts: 1

ND reachable time is 30000 milliseconds

ND retransmit interval is 1000 milliseconds

Hosts use stateless autoconfig for addresses

LoopBack0 current state : UP

Line protocol current state : UP (spoofing)

IPv6 is enabled, link-local address is FE80::800:0

Global unicast address(es):

2002::4, subnet is 2002::4/128

Joined group address(es):

FF02::1:FF00:4

FF02::2

FF02::1

FF02::1:FF00:0

MTU is 1500 bytes

ND DAD is enabled, number of DAD attempts: 1

ND reachable time is 30000 milliseconds

ND retransmit interval is 1000 milliseconds

Hosts use stateless autoconfig for addresses

[R4]

#R4的Gigabit Ethernet0/0/2的详细信息:

[R4]display isis interface GigabitEthernet 0/0/2 verbose

Interface information for ISIS(1)


Interface id IPV4.State IPV6.State MTU Type DIS

GE0/0/2 002 Up Up 1497 L1/L2 Yes/No

Circuit MT State : Standard

Description : HUAWEI, AR Series, GigabitEthernet0/0/2 Interface

SNPA Address : 00e0-fc88-0412

IP Address : 24.1.1.4

IPV6 Link Local Address : FE80::2E0:FCFF:FE88:412

IPV6 Global Address(es) : 2001:24::4/64

Csnp Timer Value : L1 10 L2 10

Hello Timer Value : L1 10 L2 10

DIS Hello Timer Value : L1 3 L2 3

Hello Multiplier Value : L1 3 L2 3

LSP-Throttle Timer : L12 50

Cost : L1 10 L2 10

Ipv6 Cost : L1 50 L2 50

Priority : L1 64 L2 64

Retransmit Timer Value : L12 5

Bandwidth-Value : Low 1000000000 High 0

Static Bfd : NO

Dynamic Bfd : NO

Fast-Sense Rpr : NO

[R4]

ISIS在IPV6中的应用

标签:拓扑图   loop   bit   dynamic   区域   hosts   并且   current   协议   

原文地址:https://blog.51cto.com/dfsshan/2483270

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!