H3C实验报告大全ISIS实验大集合ipv6.docx
《H3C实验报告大全ISIS实验大集合ipv6.docx》由会员分享,可在线阅读,更多相关《H3C实验报告大全ISIS实验大集合ipv6.docx(18页珍藏版)》请在冰豆网上搜索。
H3C实验报告大全ISIS实验大集合ipv6
ISIS实验大集合(IPv6)
实验人:
高承旺
实验目录:
1.实现多区域多level之间的通信
2.路由渗透
3.ipv6default-route-advertise命令用来设置默认路由器
4.配置IS-IS链路度量值
5.配置isis路由的优先级
6.配置接口网络类型(同ipv4实验)
7.配置IS-IS引入外部路由
8.配置IS-IS最大等价路由条数
9.配置IS-IS路由聚合(路由汇总)
1.实现多区域多level之间的通信(ipv6)
配置ipv6地址
[R1]ipv6
[R1]intlo0
[R1-LoopBack0]ipv6add1:
:
1/128
[R1-LoopBack0]q
[R1]ints0/2/0
[R1-Serial0/2/0]ipv6add2001:
:
1/64
[R1-Serial0/2/0]q
[R2]ipv6
[R2]intlo0
[R2-LoopBack0]ipv6add2:
:
2/128
[R2-LoopBack0]ints0/2/0
[R2-Serial0/2/0]ipv6add2001:
:
2/64
[R2-Serial0/2/0]ints0/2/2
[R2-Serial0/2/2]ipv6add2002:
:
1/64
[R2-Serial0/2/2]q
[R3]ipv6
[R3]intlo0
[R3-LoopBack0]ipv6add3:
:
3/128
[R3-LoopBack0]q
[R3]ints0/2/0
[R3-Serial0/2/0]ipv6add2002:
:
2/64
[R3-Serial0/2/0]q
[R3]ints0/2/2
[R3-Serial0/2/2]ipv6add2003:
:
1/64
[R3-Serial0/2/2]q
[R4]ipv6
[R4]intlo0
[R4-LoopBack0]ipv6add4:
:
4/128
[R4-LoopBack0]q
[R4]ints0/2/0
[R4-Serial0/2/0]ipv6add2003:
:
2/64
[R4-Serial0/2/0]q
[R4]ints0/2/2
[R4-Serial0/2/2]ipv6add2004:
:
1/64
[R4-Serial0/2/2]q
[R5]ipv6
[R5]intlo0
[R5-LoopBack0]ipv6add5:
:
5/128
[R5-LoopBack0]q
[R5]ints0/2/2
[R5-Serial0/2/2]ipv6add2004:
:
2/64
[R5-Serial0/2/2]q
开启ipv6的isis功能
[R1]isis
[R1-isis-1]network-entity01.0000.0000.0001.00
[R1-isis-1]is-levellevel-1
[R1-isis-1]ipv6?
default-route-advertiseControltheadvertisementofthedefaultroute
enableEnableIPV6Processing
filter-policySetroutefilteringpolicy
import-routeImportroutesfromotherprotocolsintoISIS
maximumSetnumberofequalcostroutes(paths)
preferenceSetISISroutepreference
summaryConfigureSummaryAddressforIPv6
[R1-isis-1]ipv6enable开启ipv6功能,如果这不开启,在接口下就不能开启ISIS的功能。
[R1-isis-1]q
[R1]intlo0
[R1-LoopBack0]isisipv6enable
[R1-LoopBack0]q
[R1]ints0/2/0
[R1-Serial0/2/0]isisipv6enable
[R1-Serial0/2/0]q
[R2]isis
[R2-isis-1]network-entity01.0000.0000.0002.00
[R2-isis-1]is-levellevel-1-2
[R2-isis-1]ipv6enable
[R2-isis-1]q
[R2]intlo0
[R2-LoopBack0]isisipv6enable
[R2-LoopBack0]ints0/2/2
[R2-Serial0/2/2]isisipv6enable
[R2-Serial0/2/2]q
[R2]ints0/2/0
[R2-Serial0/2/0]isisipv6enable
[R2-Serial0/2/0]q
[R3]isis
[R3-isis-1]network-entity02.0000.0000.0001.00
[R3-isis-1]is-levellevel-2
[R3-isis-1]ipv6enable
[R3-isis-1]q
[R3]intlo0
[R3-LoopBack0]isisipv6enable
[R3-LoopBack0]q
[R3]ints0/2/0
[R3-Serial0/2/0]isisipv6enable
[R3-Serial0/2/0]q
[R3]ints0/2/2
[R3-Serial0/2/2]isisipv6enable
[R3-Serial0/2/2]q
[R4]isis
[R4-isis-1]network-entity03.0000.0000.0003.00
[R4-isis-1]is-levellevel-1-2
[R4-isis-1]ipv6enable
[R4-isis-1]q
[R4]intlo0
[R4-LoopBack0]isisipv6enable
[R4-LoopBack0]q
[R4]ints0/2/0
[R4-Serial0/2/0]isisipv6enable
[R4-Serial0/2/0]q
[R4]ints0/2/2
[R4-Serial0/2/2]isisipv6enable
[R4-Serial0/2/2]q
[R5]isis
[R5-isis-1]network-entity03.0000.0000.0002.00
[R5-isis-1]is-levellevel-1
[R5-isis-1]ipv6enable
[R5-isis-1]q
[R5]intlo0
[R5-LoopBack0]isisipv6enable
[R5-LoopBack0]ints0/2/2
[R5-Serial0/2/2]isisipv6enable
[R5-Serial0/2/2]q
查看ipv6的isis路由表的命令寥寥无几啊
[R1]displayipv6routing-tableprotocolisisv6
ISISv6RoutingTable:
SummaryCount:
3
ISISv6RoutingTable'sStatus:
SummaryCount:
3
Destination:
:
:
/0Protocol:
ISISv6
NextHop:
FE80:
:
8D1B:
0:
22FE:
1Preference:
15
Interface:
S0/2/0Cost:
10
Destination:
2:
:
2/128Protocol:
ISISv6
NextHop:
FE80:
:
8D1B:
0:
22FE:
1Preference:
15
Interface:
S0/2/0Cost:
10
Destination:
2002:
:
/64Protocol:
ISISv6
NextHop:
FE80:
:
8D1B:
0:
22FE:
1Preference:
15
Interface:
S0/2/0Cost:
20
ISISv6RoutingTable'sStatus:
SummaryCount:
0
[R1]ping5:
:
5
Error:
Ping:
Unknownhost5:
:
5
[R1]pingipv65:
:
5
PING5:
:
5:
56databytes,pressCTRL_Ctobreak
Replyfrom5:
:
5
bytes=56Sequence=1hoplimit=61time=9ms
Replyfrom5:
:
5
bytes=56Sequence=2hoplimit=61time=10ms
Replyfrom5:
:
5
bytes=56Sequence=3hoplimit=61time=15ms
Requesttimeout
Replyfrom5:
:
5
bytes=56Sequence=5hoplimit=61time=20ms
---5:
:
5pingstatistics---
5packet(s)transmitted
4packet(s)received
20.00%packetloss
round-tripmin/avg/max=9/13/20ms
此时就实现了多区域多leve之间的通信!
查看isis接口情况
[R1]displayisisinterface
InterfaceinformationforISIS
(1)
---------------------------------
Interface:
LoopBack0
IdIPV4.StateIPV6.StateMTUTypeDIS
001UpUp1536L1/L2--
Interface:
Serial0/2/0
IdIPV4.StateIPV6.StateMTUTypeDIS
002UpUp1500L1/L2--
查看数据库详细信息
[R1]displayisislsdbverbose
DatabaseinformationforISIS
(1)
--------------------------------
Level-1LinkStateDatabase
LSPIDSeqNumChecksumHoldtimeLengthATT/P/OL
-------------------------------------------------------------------------------
0000.0000.0001.00-00*0x000000180xaf8d1181930/0/0
SOURCE0000.0000.0001.00
NLPIDIPV4
NLPIDIPV6
AREAADDR01
INTFADDR1.1.1.1
INTFADDR192.168.1.1
INTFADDRV61:
:
1
INTFADDRV62001:
:
1
NBRID0000.0000.0002.00COST:
10
0000.0000.0001.00-01*0x000000130xdff71181910/0/0
SOURCE0000.0000.0001.00
IP-Internal1.1.1.1255.255.255.255COST:
0
IP-Internal192.168.1.0255.255.255.0COST:
10
IPV61:
:
1/128COST:
0
IPV62001:
:
/64COST:
10
0000.0000.0002.00-000x000000200x285711671131/0/0
SOURCE0000.0000.0002.00
NLPIDIPV4
NLPIDIPV6
AREAADDR01
INTFADDR192.168.1.2
INTFADDR192.168.2.1
INTFADDR2.2.2.2
INTFADDRV62:
:
2
INTFADDRV62002:
:
1
INTFADDRV62001:
:
2
NBRID0000.0000.0001.00COST:
10
0000.0000.0002.00-010x000000180x103e11671170/0/0
SOURCE0000.0000.0002.00
IP-Internal192.168.1.0255.255.255.0COST:
10
IP-Internal192.168.2.0255.255.255.0COST:
10
IP-Internal2.2.2.2255.255.255.255COST:
0
IPV62:
:
2/128COST:
0
IPV62002:
:
/64COST:
10
IPV62001:
:
/64COST:
10
*-SelfLSP,+-SelfLSP(Extended),ATT-Attached,P-Partition,OL-Overload
[R2]displayipv6routing-tableprotocolisisv6
ISISv6RoutingTable:
SummaryCount:
6
ISISv6RoutingTable'sStatus:
SummaryCount:
6
Destination:
1:
:
1/128Protocol:
ISISv6
NextHop:
FE80:
:
886D:
0:
17A4:
1Preference:
15
Interface:
S0/2/0Cost:
10
Destination:
3:
:
3/128Protocol:
ISISv6
NextHop:
FE80:
:
D50:
0:
20E2:
1Preference:
15
Interface:
S0/2/2Cost:
10
Destination:
4:
:
4/128Protocol:
ISISv6
NextHop:
FE80:
:
D50:
0:
20E2:
1Preference:
15
Interface:
S0/2/2Cost:
20
Destination:
5:
:
5/128Protocol:
ISISv6
NextHop:
FE80:
:
D50:
0:
20E2:
1Preference:
15
Interface:
S0/2/2Cost:
30
Destination:
2003:
:
/64Protocol:
ISISv6
NextHop:
FE80:
:
D50:
0:
20E2:
1Preference:
15
Interface:
S0/2/2Cost:
20
Destination:
2004:
:
/64Protocol:
ISISv6
NextHop:
FE80:
:
D50:
0:
20E2:
1Preference:
15
Interface:
S0/2/2Cost:
30
ISISv6RoutingTable'sStatus:
SummaryCount:
0
二.路由渗透
实验拓扑同实验一
[R2]isis
[R2-isis-1]import-route?
bgp4+BorderGatewayProtocol(BGP4+)routes
directDirectroutes
isisv6IntermediateSystemtoIntermediateSystem(ISISv6)routes
ospfv3OpenShortestPathFirstVersion3(OSPFv3)routes
ripngRoutingInformationProtocolforIPv6(RIPng)routes
staticStaticroutes
[R2-isis-1]ipv6import-routeisisv6?
INTEGER<1-65535>ProcessID
costCostofimportedroutes
level-1Importintolevel-1area
level-1-2Importintolevel-1andlevel-2area
level-2Importintolevel-2areaorsetRouteLeaking
route-policyApplythespecifiedroutepolicytofilterroute
tagSettagforroutesimportedintoISIS
[R2-isis-1]ipv6import-routeisisv6level-2intolevel-1
R1可以学到R5的路由,以及level2的路由
[R1]displayipv6routing-tableprotocolisisv6
ISISv6RoutingTable:
SummaryCount:
8
ISISv6RoutingTable'sStatus:
SummaryCount:
8
Destination:
:
:
/0Protocol:
ISISv6
NextHop:
FE80:
:
8D1B:
0:
22FE:
1Preference:
15
Interface:
S0/2/0Cost:
10
Destination:
2:
:
2/128Protocol:
ISISv6
NextHop:
FE80:
:
8D1B:
0:
22FE:
1Preference:
15
Interface:
S0/2/0Cost:
10
Destination:
3:
:
3/128Protocol:
ISISv6
NextHop:
FE80:
:
8D1B:
0:
22FE:
1Preference:
15
Interface:
S0/2/0Cost:
20
Destination:
4:
:
4/128Protocol:
ISISv6
NextHop:
FE80:
:
8D1B:
0:
22FE:
1Preference:
15
Interface:
S0/2/0Cost:
30
Destination:
5:
:
5/128Protocol:
ISISv6
NextHop:
FE80:
:
8D1B:
0:
22FE:
1Preference:
15
Interface:
S0/2/0Cost:
40
Destination:
2002:
:
/64Protocol:
ISISv6
NextHop:
FE80:
:
8D1B:
0:
22FE:
1Preference:
15
Interface:
S0/2/0Cost:
20
Destination:
2003:
:
/64Protocol:
ISISv6
NextHop:
FE80:
:
8D1B:
0:
22FE:
1Preference:
15
Interface:
S0/2/0Cost:
30
Destination:
2004:
:
/64Protocol:
ISISv6
NextHop:
FE80:
:
8D1B:
0:
22FE:
1Preference:
15
Interface:
S0/2/0Cost:
40
ISISv6RoutingTable'sStatus:
SummaryCount:
0
3.Ipv6default-route-advertise命令用设置默认路由器
实验拓扑同实验一
[R4]isis
[R4-isis-1]ipv6default-route-advertise
下面的查看时没有默认路由的,level-2默认没有默认路由
[R2]displayipv6routing-tableprotocolisisv6
ISISv6RoutingTable:
SummaryCount:
6
ISISv6RoutingTable'sStatus:
SummaryCount:
6
Destination:
1:
:
1/128Protocol:
ISISv6
NextHop:
FE80:
:
886D:
0:
17A4:
1Preference:
15
Interface:
S0/2/0Cost:
10
Destination:
3:
:
3/128Protocol:
ISISv6
NextHop:
FE80:
:
D50:
0:
20E2:
1Preference:
15
Interface:
S0/2/2Cost:
10
Destination:
4:
:
4/128Protocol:
ISISv6
NextHop:
FE80:
:
D50:
0:
20E2:
1Preference:
15
Interface:
S0/2/2Cost:
20
Destination:
5:
:
5/128Protocol:
ISISv6
NextHop:
FE80:
:
D50:
0:
20E2:
1Preference:
15
Interface:
S0/2/2Cost:
30
Destination:
2003:
:
/64Protocol:
ISISv6
NextHop:
FE80:
:
D50:
0:
20E2:
1Preference:
15
Interface:
S0/2/2Cost:
20
Destination:
2004:
:
/64Protocol:
ISISv6
NextHop:
FE80:
:
D50:
0:
20E2:
1Preference:
15
Interface:
S0/2/2Cost:
30
ISISv6RoutingTable'sStatus:
SummaryCount:
0
使用Ipv6default-route-advertise命令后,就可以向level-2存放默认路由
[R2]displayipv6routing-tableprotocolisis