IPV6浮动静态路由.docx
《IPV6浮动静态路由.docx》由会员分享,可在线阅读,更多相关《IPV6浮动静态路由.docx(22页珍藏版)》请在冰豆网上搜索。
IPV6浮动静态路由
配置IPV6 浮动静态路由
r1配置
router>en
router#conft
router(config)#hostr1
r1(config)#enasec123
r1(config)#noipdomain-lookup
r1(config)#banmot#Welcometor1#
r1(config)#linevty04
r1(config-line)#nologin
r1(config-line)#linecon0
r1(config-line)#noexec-time
r1(config-line)#ipv6unicast-routing
r1(config)#ipv6cef
r1(config-if)#intlo0
r1(config-if)#destestip
r1(config-if)#ipv6addfec0:
0:
0:
3:
:
1/128
r1(config-if)#intf0/0
r1(config-if)#deslinktor2
r1(config-if)#ipv6addfec0:
0:
0:
1:
:
/64eui-64
r1(config-if)#noshut
r1(config-if)#intf1/0
r1(config-if)#deslinktor2forback
r1(config-if)#ipv6addfec0:
0:
0:
2:
:
/64eui-64
r1(config-if)#noshut
r1(config-if)#exit
r1(config)#ipv6routefec0:
0:
0:
4:
:
/64fec0:
:
1:
c800:
2ff:
fe14:
0
r1(config)#ipv6routefec0:
0:
0:
5:
:
/64fec0:
:
1:
c800:
2ff:
fe14:
0
r1(config)#ipv6routefec0:
0:
0:
6:
:
/64fec0:
:
1:
c800:
2ff:
fe14:
0
r1(config)#ipv6routefec0:
0:
0:
4:
:
/64fec0:
:
2:
c800:
2ff:
fe14:
1c50
r1(config)#ipv6routefec0:
0:
0:
5:
:
/64fec0:
:
2:
c800:
2ff:
fe14:
1c50
r1(config)#ipv6routefec0:
0:
0:
6:
:
/64fec0:
:
2:
c800:
2ff:
fe14:
1c50
r1(config)#end
r1#
r2配置
router>en
router#conft
router(config)#hostr2
r2(config)#enasec123
r2(config)#noipdomain-lookup
r2(config)#banmot#Welcometor2#
r2(config)#linevty04
r2(config-line)#nologin
r2(config-line)#linecon0
r2(config-line)#noexec-time
r2(config-line)#ipv6unicast-routing
r2(config)#ipv6cef
r2(config-if)#intlo0
r2(config-if)#destestip
r2(config-if)#ipv6addfec0:
0:
0:
4:
:
1/128
r2(config-if)#intf0/0
r2(config-if)#deslinktor1
r2(config-if)#ipv6addfec0:
0:
0:
1:
:
/64eui-64
r2(config-if)#noshut
r2(config-if)#intf1/0
r2(config-if)#deslinktor1forback
r2(config-if)#ipv6addfec0:
0:
0:
2:
:
/64eui-64
r2(config-if)#noshut
r2(config-if)#intf2/0
r2(config-if)#deslinktor3
r2(config-if)#ipv6addfec0:
:
5:
c800:
2ff:
fe14:
38
r2(config-if)#noshut
r2(config-if)#exit
r2(config)#ipv6routefec0:
0:
0:
3:
:
/64fec0:
:
1:
c800:
2ff:
fec8:
0
r2(config)#ipv6routefec0:
0:
0:
6:
:
/64fec0:
:
5:
c800:
5ff:
fea4:
0
r2(config)#ipv6routefec0:
0:
0:
3:
:
/64fec0:
:
2:
c800:
2ff:
fec8:
1c50
r2(config)#end
r2#
r3配置
router>en
router#conft
router(config)#hostr3
r3(config)#enasec123
r3(config)#noipdomain-lookup
r3(config)#banmot#Welcometor3#
r3(config)#linevty04
r3(config-line)#nologin
r3(config-line)#linecon0
r3(config-line)#noexec-time
r3(config-line)#ipv6unicast-routing
r3(config)#ipv6cef
r3(config-if)#intlo0
r3(config-if)#destestip
r3(config-if)#ipv6addfec0:
0:
0:
6:
:
1/128
r3(config-if)#intf0/0
r3(config-if)#deslinktor2
r3(config-if)#ipv6addfec0:
0:
0:
5:
:
/64eui-64
r3(config-if)#noshut
r3(config-if)#exit
r3(config)#ipv6routefec0:
0:
0:
1:
:
/64fec0:
:
5:
c800:
2ff:
fe14:
38
r3(config)#ipv6routefec0:
0:
0:
2:
:
/64fec0:
:
5:
c800:
2ff:
fe14:
38
r3(config)#ipv6routefec0:
0:
0:
3:
:
/64fec0:
:
5:
c800:
2ff:
fe14:
38
r3(config)#ipv6routefec0:
0:
0:
4:
:
/64fec0:
:
5:
c800:
2ff:
fe14:
38
r3(config)#end
r3#
Weclometor1
r1>showrun
Password:
r1#showrun
Buildingconfiguration...
Currentconfiguration:
1197bytes
!
version12.3
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnamer1
!
boot-start-marker
boot-end-marker
!
enablesecret5$1$ZJdq$sXB/we0Xn5mXCf6njEMcL1
!
noaaanew-model
ipsubnet-zero
!
!
noipdomainlookup
!
ipcef
ipv6unicast-routing
ipv6cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interfaceLoopback0
descriptiontestip
noipaddress
ipv6addressFEC0:
0:
0:
3:
:
1/128
!
interfaceFastEthernet0/0
descriptionlinktor2
noipaddress
duplexhalf
ipv6addressFEC0:
0:
0:
1:
:
/64eui-64
!
interfaceFastEthernet1/0
descriptionlinktor2forback
noipaddress
duplexhalf
ipv6addressFEC0:
0:
0:
2:
:
/64eui-64
!
ipclassless
noiphttpserver
!
!
ipv6routeFEC0:
0:
0:
4:
:
/64FEC0:
:
2:
C800:
2FF:
FE14:
1C50
ipv6routeFEC0:
0:
0:
4:
:
/64FEC0:
:
1:
C800:
2FF:
FE14:
0
ipv6routeFEC0:
0:
0:
5:
:
/64FEC0:
:
2:
C800:
2FF:
FE14:
1C50
ipv6routeFEC0:
0:
0:
5:
:
/64FEC0:
:
1:
C800:
2FF:
FE14:
0
ipv6routeFEC0:
0:
0:
6:
:
/64FEC0:
:
2:
C800:
2FF:
FE14:
1C50
ipv6routeFEC0:
0:
0:
6:
:
/64FEC0:
:
1:
C800:
2FF:
FE14:
0
!
!
!
!
!
!
!
gatekeeper
shutdown
!
bannermotd^CWeclometor1^C
!
linecon0
exec-timeout00
stopbits1
lineaux0
stopbits1
linevty04
nologin
!
!
end
r1#showipv6route
IPv6RoutingTable-10entries
Codes:
C-Connected,L-Local,S-Static,R-RIP,B-BGP
U-Per-userStaticroute
I1-ISISL1,I2-ISISL2,IA-ISISinterarea,IS-ISISsummary
O-OSPFintra,OI-OSPFinter,OE1-OSPFext1,OE2-OSPFext2
ON1-OSPFNSSAext1,ON2-OSPFNSSAext2
L FE80:
:
/10[0/0]
via:
:
Null0
C FEC0:
0:
0:
1:
:
/64[0/0]
via:
:
FastEthernet0/0
L FEC0:
:
1:
C800:
2FF:
FEC8:
0/128[0/0]
via:
:
FastEthernet0/0
C FEC0:
0:
0:
2:
:
/64[0/0]
via:
:
FastEthernet1/0
L FEC0:
:
2:
C800:
2FF:
FEC8:
1C/128[0/0]
via:
:
FastEthernet1/0
LC FEC0:
0:
0:
3:
:
1/128[0/0]
via:
:
Loopback0
S FEC0:
0:
0:
4:
:
/64[1/0]
viaFEC0:
:
1:
C800:
2FF:
FE14:
0
S FEC0:
0:
0:
5:
:
/64[1/0]
viaFEC0:
:
1:
C800:
2FF:
FE14:
0
S FEC0:
0:
0:
6:
:
/64[1/0]
viaFEC0:
:
1:
C800:
2FF:
FE14:
0
L FF00:
:
/8[0/0]
via:
:
Null0
r1#telnetfec0:
:
1:
c800:
2ff:
fe14:
0
TryingFEC0:
:
1:
C800:
2FF:
FE14:
0...Open
Welcometor2
r2>en
Password:
r2#showrun
Buildingconfiguration...
Currentconfiguration:
1153bytes
!
version12.3
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnamer2
!
boot-start-marker
boot-end-marker
!
enablesecret5$1$gNIo$TyIsx2FDaXRAMbJkkiwgm0
!
noaaanew-model
ipsubnet-zero
!
!
noipdomainlookup
!
ipcef
ipv6unicast-routing
ipv6cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interfaceLoopback0
descriptiontestip
noipaddress
ipv6addressFEC0:
0:
0:
4:
:
1/128
!
interfaceFastEthernet0/0
descriptionlinktor1
noipaddress
duplexhalf
ipv6addressFEC0:
0:
0:
1:
:
/64eui-64
!
interfaceFastEthernet1/0
descriptionlinktor1forback
noipaddress
duplexhalf
ipv6addressFEC0:
0:
0:
2:
:
/64eui-64
!
interfaceFastEthernet2/0
descriptionlinktor3
noipaddress
duplexhalf
ipv6addressFEC0:
0:
0:
5:
:
/64eui-64
!
ipclassless
noiphttpserver
!
!
ipv6routeFEC0:
0:
0:
3:
:
/64FEC0:
:
2:
C800:
2FF:
FEC8:
1C50
ipv6routeFEC0:
0:
0:
3:
:
/64FEC0:
:
1:
C800:
2FF:
FEC8:
0
ipv6routeFEC0:
0:
0:
6:
:
/64FEC0:
:
5:
C800:
5FF:
FEA4:
0
!
!
!
!
!
!
!
gatekeeper
shutdown
!
bannermotd^CWelcometor2^C
!
linecon0
exec-timeout00
stopbits1
lineaux0
stopbits1
linevty04
nologin
!
!
end
r2#showipv6route
IPv6RoutingTable-11entries
Codes:
C-Connected,L-Local,S-Static,R-RIP,B-BGP
U-Per-userStaticroute
I1-ISISL1,I2-ISISL2,IA-ISISinterarea,IS-ISISsummary
O-OSPFintra,OI-OSPFinter,OE1-OSPFext1,OE2-OSPFext2
ON1-OSPFNSSAext1,ON2-OSPFNSSAext2
L FE80:
:
/10[0/0]
via:
:
Null0
C FEC0:
0:
0:
1:
:
/64[0/0]
via:
:
FastEthernet0/0
L FEC0:
:
1:
C800:
2FF:
FE14:
0/128[0/0]
via:
:
FastEthernet0/0
C FEC0:
0:
0:
2:
:
/64[0/0]
via:
:
FastEthernet1/0
L FEC0:
:
2:
C800:
2FF:
FE14:
1C/128[0/0]
via:
:
FastEthernet1/0
S FEC0:
0:
0:
3:
:
/64[1/0]
viaFEC0:
:
1:
C800:
2FF:
FEC8:
0
LC FEC0:
0:
0:
4:
:
1/128[0/0]
via:
:
Loopback0
C FEC0:
0:
0:
5:
:
/64[0/0]
via:
:
FastEthernet2/0
L FEC0:
:
5:
C800:
2FF:
FE14:
38/128[0/0]
via:
:
FastEthernet2/0
S FEC0:
0:
0:
6:
:
/64[1/0]
viaFEC0:
:
5:
C800:
5FF:
FEA4:
0
L FF00:
:
/8[0/0]
via:
:
Null0
r2#telnetfec0:
:
5:
c800:
5ff:
fea4:
0
TryingFEC0:
:
5:
C800:
5FF:
FEA4:
0...Open
Welcometor3
r3>en
Password:
r3#showrun
Buildingconfiguration...
Currentconfiguration:
1026bytes
!
version12.3
servicetimestampsdebugdatetimemsec
servicetimestampslogdatetimemsec
noservicepassword-encryption
!
hostnamer3
!
boot-start-marker
boot-end-marker
!
enablesecret5$1$BaqM$DhvX6kzvNAUr7C7pnyQ0l1
!
noaaanew-model
ipsubnet-zero
!
!
noipdomainlookup
!
ipcef
ipv6unicast-routing
ipv6cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interfaceLoopback0
descriptiontestip
noipaddress
ipv6addressFEC0:
0:
0:
6:
:
/128
!
interfaceFastEthernet0/0
descriptionlinktor2
noipaddress
duplexhalf
ipv6addressFEC0:
0:
0:
5:
:
/64eui-64
!
interfaceFastEthernet1/0
noipaddress
shutdown
duplexhalf
!
ipclassless
noiphttpserver
!
!
ipv6routeFEC0:
0:
0:
1:
:
/64FEC0:
:
5:
C800:
2FF:
FE14:
38
ipv6routeFEC0:
0:
0:
2:
:
/64FEC0:
:
5:
C800:
2FF:
FE14:
38
ipv6routeFEC0:
0:
0:
3:
:
/64FEC0:
:
5:
C800:
2FF:
FE14:
38
ipv6routeFEC0:
0:
0:
4:
:
/64FEC0:
:
5:
C800:
2FF:
FE14:
38
!
!
!
!
!
!
!
gatekeeper
shutdown
!
bannermotd^CWelcometor3^C
!
linecon0
exec-timeout00
stopbits1
lineaux0
stopbits1
linevty04
nologin
!
!
end
r3#showipv6route
IPv6RoutingTable-9entries
Codes:
C-Connected,L-Local,S-Static,R-RIP,B-BGP
U-Per-userStaticroute
I1-ISISL1,I2-ISISL2,IA-ISISinterarea,IS-ISISsummary
O-OSPFintra,OI-OSPFinter,OE1-OSPFext1,OE2-OSPFext2
ON1-OSPFNSSAext1,ON2-OSPFNSSAext2
L FE80:
:
/10[0/0]
via:
:
Null0
S FEC0:
0:
0:
1:
:
/64[1/0]
viaFEC0:
:
5:
C800:
2FF:
FE14:
38
S FEC0:
0:
0:
2:
:
/64[1/0]
viaFEC0:
:
5:
C800:
2FF:
FE14:
38
S FEC0:
0:
0:
3:
:
/64[1/0]
viaFEC0:
:
5:
C800:
2FF:
FE14:
38
S FEC0:
0:
0:
4:
:
/64[1/0]
viaFEC0:
:
5:
C800:
2FF:
FE14:
38
C FEC0:
0:
0:
5:
:
/64[0/0]
via:
:
FastEthernet0/0
L FEC0:
:
5:
C800:
5FF:
FEA4:
0/128[0/0]
via:
:
FastEthernet0/0
LC FEC0:
0:
0:
6:
:
/128[0/0]
via:
:
Loopback0
L FF00:
:
/8[0/0]
via:
:
Null0
r3#
模拟fec0:
:
1/64链路断开
r1#showipv6route
IPv6RoutingTable-8entries
Codes:
C-Connected,L-Local,S