IPV6 浮动静态路由.doc
-作者xxxx-日期xxxxIPV6 浮动静态路由【精品文档】配置IPV6 浮动静态路由r1 配置router>enrouter#conf trouter(config)#host r1r1(config)#ena sec 123r1(config)#no ip domain-lookupr1(config)#ban mot #Welcome to r1#r1(config)#line vty 0 4r1(config-line)#no loginr1(config-line)#line con 0r1(config-line)#no exec-timer1(config-line)#ipv6 unicast-routingr1(config)#ipv6 cefr1(config-if)#int lo0r1(config-if)#des test ipr1(config-if)#ipv6 add fec0:0:0:3:1/128r1(config-if)#int f 0/0r1(config-if)#des link to r2r1(config-if)#ipv6 add fec0:0:0:1:/64 eui-64r1(config-if)#no shutr1(config-if)#int f 1/0r1(config-if)#des link to r2 for backr1(config-if)#ipv6 add fec0:0:0:2:/64 eui-64r1(config-if)#no shutr1(config-if)#exitr1(config)#ipv6 route fec0:0:0:4:/64 fec0:1:c800:2ff:fe14:0r1(config)#ipv6 route fec0:0:0:5:/64 fec0:1:c800:2ff:fe14:0r1(config)#ipv6 route fec0:0:0:6:/64 fec0:1:c800:2ff:fe14:0r1(config)#ipv6 route fec0:0:0:4:/64 fec0:2:c800:2ff:fe14:1c 50r1(config)#ipv6 route fec0:0:0:5:/64 fec0:2:c800:2ff:fe14:1c 50r1(config)#ipv6 route fec0:0:0:6:/64 fec0:2:c800:2ff:fe14:1c 50r1(config)#endr1#r2 配置router>enrouter#conf trouter(config)#host r2r2(config)#ena sec 123r2(config)#no ip domain-lookupr2(config)#ban mot #Welcome to r2#r2(config)#line vty 0 4r2(config-line)#no loginr2(config-line)#line con 0r2(config-line)#no exec-timer2(config-line)#ipv6 unicast-routingr2(config)#ipv6 cefr2(config-if)#int lo0r2(config-if)#des test ipr2(config-if)#ipv6 add fec0:0:0:4:1/128r2(config-if)#int f 0/0r2(config-if)#des link to r1r2(config-if)#ipv6 add fec0:0:0:1:/64 eui-64r2(config-if)#no shutr2(config-if)#int f 1/0r2(config-if)#des link to r1 for backr2(config-if)#ipv6 add fec0:0:0:2:/64 eui-64r2(config-if)#no shutr2(config-if)#int f 2/0r2(config-if)#des link to r3r2(config-if)#ipv6 add fec0:5:c800:2ff:fe14:38r2(config-if)#no shutr2(config-if)#exitr2(config)#ipv6 route fec0:0:0:3:/64 fec0:1:c800:2ff:fec8:0r2(config)#ipv6 route fec0:0:0:6:/64 fec0:5:c800:5ff:fea4:0r2(config)#ipv6 route fec0:0:0:3:/64 fec0:2:c800:2ff:fec8:1c 50r2(config)#endr2#r3 配置router>enrouter#conf trouter(config)#host r3r3(config)#ena sec 123r3(config)#no ip domain-lookupr3(config)#ban mot #Welcome to r3#r3(config)#line vty 0 4r3(config-line)#no loginr3(config-line)#line con 0r3(config-line)#no exec-timer3(config-line)#ipv6 unicast-routingr3(config)#ipv6 cefr3(config-if)#int lo0r3(config-if)#des test ipr3(config-if)#ipv6 add fec0:0:0:6:1/128r3(config-if)#int f 0/0r3(config-if)#des link to r2r3(config-if)#ipv6 add fec0:0:0:5:/64 eui-64r3(config-if)#no shutr3(config-if)#exitr3(config)#ipv6 route fec0:0:0:1:/64 fec0:5:c800:2ff:fe14:38r3(config)#ipv6 route fec0:0:0:2:/64 fec0:5:c800:2ff:fe14:38r3(config)#ipv6 route fec0:0:0:3:/64 fec0:5:c800:2ff:fe14:38r3(config)#ipv6 route fec0:0:0:4:/64 fec0:5:c800:2ff:fe14:38r3(config)#endr3# Weclome to r1r1>show runPassword:r1#show runBuilding configuration.Current configuration : 1197 bytes!service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname r1!boot-start-markerboot-end-marker!enable secret 5 $1$ZJdq$sXB/we0Xn5mXCf6njEMcL1!no aaa new-modelip subnet-zero!no ip domain lookup!ip cefipv6 unicast-routingipv6 cef!interface Loopback0 description test ip no ip address ipv6 address FEC0:0:0:3:1/128!interface FastEthernet0/0 description link to r2 no ip address duplex half ipv6 address FEC0:0:0:1:/64 eui-64!interface FastEthernet1/0 description link to r2 for back no ip address duplex half ipv6 address FEC0:0:0:2:/64 eui-64!ip classlessno ip http server!ipv6 route FEC0:0:0:4:/64 FEC0:2:C800:2FF:FE14:1C 50ipv6 route FEC0:0:0:4:/64 FEC0:1:C800:2FF:FE14:0ipv6 route FEC0:0:0:5:/64 FEC0:2:C800:2FF:FE14:1C 50ipv6 route FEC0:0:0:5:/64 FEC0:1:C800:2FF:FE14:0ipv6 route FEC0:0:0:6:/64 FEC0:2:C800:2FF:FE14:1C 50ipv6 route FEC0:0:0:6:/64 FEC0:1:C800:2FF:FE14:0!gatekeeper shutdown!banner motd CWeclome to r1C!line con 0 exec-timeout 0 0 stopbits 1line aux 0 stopbits 1line vty 0 4 no login!endr1#show ipv6 routeIPv6 Routing Table - 10 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGP U - Per-user Static route I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2L FE80:/10 0/0 via :, Null0C FEC0:0:0:1:/64 0/0 via :, FastEthernet0/0L FEC0:1:C800:2FF:FEC8:0/128 0/0 via :, FastEthernet0/0C FEC0:0:0:2:/64 0/0 via :, FastEthernet1/0L FEC0:2:C800:2FF:FEC8:1C/128 0/0 via :, FastEthernet1/0LC FEC0:0:0:3:1/128 0/0 via :, Loopback0S FEC0:0:0:4:/64 1/0 via FEC0:1:C800:2FF:FE14:0S FEC0:0:0:5:/64 1/0 via FEC0:1:C800:2FF:FE14:0S FEC0:0:0:6:/64 1/0 via FEC0:1:C800:2FF:FE14:0L FF00:/8 0/0 via :, Null0r1#telnet fec0:1:c800:2ff:fe14:0Trying FEC0:1:C800:2FF:FE14:0 . OpenWelcome to r2r2>enPassword:r2#show runBuilding configuration.Current configuration : 1153 bytes!service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname r2!boot-start-markerboot-end-marker!enable secret 5 $1$gNIo$TyIsx2FDaXRAMbJkkiwgm0!no aaa new-modelip subnet-zero!no ip domain lookup!ip cefipv6 unicast-routingipv6 cef!interface Loopback0 description test ip no ip address ipv6 address FEC0:0:0:4:1/128!interface FastEthernet0/0 description link to r1 no ip address duplex half ipv6 address FEC0:0:0:1:/64 eui-64!interface FastEthernet1/0 description link to r1 for back no ip address duplex half ipv6 address FEC0:0:0:2:/64 eui-64!interface FastEthernet2/0 description link to r3 no ip address duplex half ipv6 address FEC0:0:0:5:/64 eui-64!ip classlessno ip http server!ipv6 route FEC0:0:0:3:/64 FEC0:2:C800:2FF:FEC8:1C 50ipv6 route FEC0:0:0:3:/64 FEC0:1:C800:2FF:FEC8:0ipv6 route FEC0:0:0:6:/64 FEC0:5:C800:5FF:FEA4:0!gatekeeper shutdown!banner motd CWelcome to r2C!line con 0 exec-timeout 0 0 stopbits 1line aux 0 stopbits 1line vty 0 4 no login!endr2#show ipv6 routeIPv6 Routing Table - 11 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGP U - Per-user Static route I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2L FE80:/10 0/0 via :, Null0C FEC0:0:0:1:/64 0/0 via :, FastEthernet0/0L FEC0:1:C800:2FF:FE14:0/128 0/0 via :, FastEthernet0/0C FEC0:0:0:2:/64 0/0 via :, FastEthernet1/0L FEC0:2:C800:2FF:FE14:1C/128 0/0 via :, FastEthernet1/0S FEC0:0:0:3:/64 1/0 via FEC0:1:C800:2FF:FEC8:0LC FEC0:0:0:4:1/128 0/0 via :, Loopback0C FEC0:0:0:5:/64 0/0 via :, FastEthernet2/0L FEC0:5:C800:2FF:FE14:38/128 0/0 via :, FastEthernet2/0S FEC0:0:0:6:/64 1/0 via FEC0:5:C800:5FF:FEA4:0L FF00:/8 0/0 via :, Null0r2#telnet fec0:5:c800:5ff:fea4:0Trying FEC0:5:C800:5FF:FEA4:0 . OpenWelcome to r3r3>enPassword:r3#show runBuilding configuration.Current configuration : 1026 bytes!service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname r3!boot-start-markerboot-end-marker!enable secret 5 $1$BaqM$DhvX6kzvNAUr7C7pnyQ0l1!no aaa new-modelip subnet-zero!no ip domain lookup!ip cefipv6 unicast-routingipv6 cef!interface Loopback0 description test ip no ip address ipv6 address FEC0:0:0:6:/128!interface FastEthernet0/0 description link to r2 no ip address duplex half ipv6 address FEC0:0:0:5:/64 eui-64!interface FastEthernet1/0 no ip address shutdown duplex half!ip classlessno ip http server!ipv6 route FEC0:0:0:1:/64 FEC0:5:C800:2FF:FE14:38ipv6 route FEC0:0:0:2:/64 FEC0:5:C800:2FF:FE14:38ipv6 route FEC0:0:0:3:/64 FEC0:5:C800:2FF:FE14:38ipv6 route FEC0:0:0:4:/64 FEC0:5:C800:2FF:FE14:38!gatekeeper shutdown!banner motd CWelcome to r3C!line con 0 exec-timeout 0 0 stopbits 1line aux 0 stopbits 1line vty 0 4 no login!endr3#show ipv6 routeIPv6 Routing Table - 9 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGP U - Per-user Static route I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2L FE80:/10 0/0 via :, Null0S FEC0:0:0:1:/64 1/0 via FEC0:5:C800:2FF:FE14:38S FEC0:0:0:2:/64 1/0 via FEC0:5:C800:2FF:FE14:38S FEC0:0:0:3:/64 1/0 via FEC0:5:C800:2FF:FE14:38S FEC0:0:0:4:/64 1/0 via FEC0:5:C800:2FF:FE14:38C FEC0:0:0:5:/64 0/0 via :, FastEthernet0/0L FEC0:5:C800:5FF:FEA4:0/128 0/0 via :, FastEthernet0/0LC FEC0:0:0:6:/128 0/0 via :, Loopback0L FF00:/8 0/0 via :, Null0r3#模拟fec0:1/64链路断开 r1#show ipv6 routeIPv6 Routing Table - 8 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGP U - Per-user Static route I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2L FE80:/10 0/0 via :, Null0C FEC0:0:0:2:/64 0/0 via :, FastEthernet1/0L FEC0:2:C800:2FF:FEC8:1C/128 0/0 via :, FastEthernet1/0LC FEC0:0:0:3:1/128 0/0 via :, Loopback0S FEC0:0:0:4:/64 50/0 via FEC0:2:C800:2FF:FE14:1CS FEC0:0:0:5:/64 50/0 via FEC0:2:C800:2FF:FE14:1CS FEC0:0:0:6:/64 50/0 via FEC0:2:C800:2FF:FE14:1CL FF00:/8 0/0 via :, Null0r1#telnet fec0:2:c800:2ff:fe14:1cTrying FEC0:2:C800:2FF:FE14:1C . OpenWelcome to r2r2>enPassword:r2#show ipv6 routeIPv6 Routing Table - 9 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGP U - Per-user Static route I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2L FE80:/10 0/0 via :, Null0C FEC0:0:0:2:/64 0/0 via :, FastEthernet1/0L FEC0:2:C800:2FF:FE14:1C/128 0/0 via :, FastEthernet1/0S FEC0:0:0:3:/64 50/0 via FEC0:2:C800:2FF:FEC8:1CLC FEC0:0:0:4:1/128 0/0 via :, Loopback0C FEC0:0:0:5:/64 0/0 via :, FastEthernet2/0L FEC0:5:C800:2FF:FE14:38/128 0/0 via :, FastEthernet2/0S FEC0:0:0:6:/64 1/0 via FEC0:5:C800:5FF:FEA4:0L FF00:/8 0/0 via :, Null0r2#telnet fec0:5:c800:5ff:fea4:0Trying FEC0:5:C800:5FF:FEA4:0 . OpenWelcome to r3r3>enPassword:r3#show ipv6 routeIPv6 Routing Table - 9 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGP U - Per-user Static route I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2L FE80:/10 0/0 via :, Null0S FEC0:0:0:1:/64 1/0 via FEC0:5:C800:2FF:FE14:38S FEC0:0:0:2:/64 1/0 via FEC0:5:C800:2FF:FE14:38S FEC0:0:0:3:/64 1/0 via FEC0:5:C800:2FF:FE14:38S FEC0:0:0:4:/64 1/0 via FEC0:5:C800:2FF:FE14:38C FEC0:0:0:5:/64 0/0 via :, FastEthernet0/0L FEC0:5:C800:5FF:FEA4:0/128 0/0 via :, FastEthernet0/0LC FEC0:0:0:6:/128 0/0 via :, Loopback0L FF00:/8 0/0 via :, Null0r3#【精品文档】