《IPV6 浮动静态路由(16页).doc》由会员分享,可在线阅读,更多相关《IPV6 浮动静态路由(16页).doc(16页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、-IPV6 浮动静态路由-第 16 页配置IPV6浮动静态路由r1 配置routerenrouter#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-routi
2、ngr1(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
3、 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:
4、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 配置routerenrouter#conf trouter(config)#host r2r2(config)#ena sec 123r2(config)#no ip domain-lookupr2(config)#ban mot #Welcome to r2#r2(config)#line vt
5、y 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 fec
6、0: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)#exit
7、r2(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 配置routerenrouter#conf trouter(config)#host r3r3(config)#ena sec 123r3(config)#no ip domain-lookupr3
8、(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(c
9、onfig-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)#ip
10、v6 route fec0:0:0:4:/64 fec0:5:c800:2ff:fe14:38r3(config)#endr3#Weclome to r1r1show runPassword:r1#show runBuilding configuration.Current configuration : 1197 bytesservice timestamps debug datetime msecservice timestamps log datetime msecno service password-encryptionhostname r1boot-start-markerboot
11、-end-markerenable secret 5 $1$ZJdq$sXB/we0Xn5mXCf6njEMcL1no aaa new-modelip subnet-zerono ip domain lookupip cefipv6 unicast-routingipv6 cefinterface Loopback0description test ipno ip addressipv6 address FEC0:0:0:3:1/128interface FastEthernet0/0description link to r2no ip addressduplex halfipv6 addr
12、ess FEC0:0:0:1:/64 eui-64interface FastEthernet1/0description link to r2 for backno ip addressduplex halfipv6 address FEC0:0:0:2:/64 eui-64ip classlessno ip http serveripv6 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
13、: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:0gatekeepershutdownbanner motd CWeclome to r1Cline con 0exec-timeout 0 0stopbits 1line aux 0stopbits 1line vty 0 4no loginendr1#show
14、ipv6 routeIPv6 Routing Table - 10 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGPU - Per-user Static routeI1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summaryO - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA e
15、xt 2LFE80:/10 0/0via :, Null0CFEC0:0:0:1:/64 0/0via :, FastEthernet0/0LFEC0:1:C800:2FF:FEC8:0/128 0/0via :, FastEthernet0/0CFEC0:0:0:2:/64 0/0via :, FastEthernet1/0LFEC0:2:C800:2FF:FEC8:1C/128 0/0via :, FastEthernet1/0LCFEC0:0:0:3:1/128 0/0via :, Loopback0SFEC0:0:0:4:/64 1/0via FEC0:1:C800:2FF:FE14:
16、0SFEC0:0:0:5:/64 1/0via FEC0:1:C800:2FF:FE14:0SFEC0:0:0:6:/64 1/0via FEC0:1:C800:2FF:FE14:0LFF00:/8 0/0via :, Null0r1#telnet fec0:1:c800:2ff:fe14:0Trying FEC0:1:C800:2FF:FE14:0 . OpenWelcome to r2r2enPassword:r2#show runBuilding configuration.Current configuration : 1153 bytesservice timestamps debu
17、g datetime msecservice timestamps log datetime msecno service password-encryptionhostname r2boot-start-markerboot-end-markerenable secret 5 $1$gNIo$TyIsx2FDaXRAMbJkkiwgm0no aaa new-modelip subnet-zerono ip domain lookupip cefipv6 unicast-routingipv6 cefinterface Loopback0description test ipno ip add
18、ressipv6 address FEC0:0:0:4:1/128interface FastEthernet0/0description link to r1no ip addressduplex halfipv6 address FEC0:0:0:1:/64 eui-64interface FastEthernet1/0description link to r1 for backno ip addressduplex halfipv6 address FEC0:0:0:2:/64 eui-64interface FastEthernet2/0description link to r3n
19、o ip addressduplex halfipv6 address FEC0:0:0:5:/64 eui-64ip classlessno ip http serveripv6 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:0gatekeepershutdownbanner motd CWelcome to r2Cline con 0exec-timeou
20、t 0 0stopbits 1line aux 0stopbits 1line vty 0 4no loginendr2#show ipv6 routeIPv6 Routing Table - 11 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGPU - Per-user Static routeI1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summaryO - OSPF intra, OI - OSPF inter, OE1 - OS
21、PF ext 1, OE2 - OSPF ext 2ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2LFE80:/10 0/0via :, Null0CFEC0:0:0:1:/64 0/0via :, FastEthernet0/0LFEC0:1:C800:2FF:FE14:0/128 0/0via :, FastEthernet0/0CFEC0:0:0:2:/64 0/0via :, FastEthernet1/0LFEC0:2:C800:2FF:FE14:1C/128 0/0via :, FastEthernet1/0SFEC0:0:0:3:/64
22、1/0via FEC0:1:C800:2FF:FEC8:0LCFEC0:0:0:4:1/128 0/0via :, Loopback0CFEC0:0:0:5:/64 0/0via :, FastEthernet2/0LFEC0:5:C800:2FF:FE14:38/128 0/0via :, FastEthernet2/0SFEC0:0:0:6:/64 1/0via FEC0:5:C800:5FF:FEA4:0LFF00:/8 0/0via :, Null0r2#telnet fec0:5:c800:5ff:fea4:0Trying FEC0:5:C800:5FF:FEA4:0 . OpenW
23、elcome to r3r3enPassword:r3#show runBuilding configuration.Current configuration : 1026 bytesservice timestamps debug datetime msecservice timestamps log datetime msecno service password-encryptionhostname r3boot-start-markerboot-end-markerenable secret 5 $1$BaqM$DhvX6kzvNAUr7C7pnyQ0l1no aaa new-mod
24、elip subnet-zerono ip domain lookupip cefipv6 unicast-routingipv6 cefinterface Loopback0description test ipno ip addressipv6 address FEC0:0:0:6:/128interface FastEthernet0/0description link to r2no ip addressduplex halfipv6 address FEC0:0:0:5:/64 eui-64interface FastEthernet1/0no ip addressshutdownd
25、uplex halfip classlessno ip http serveripv6 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:38gatekeepershutdownbanner motd CWelcome to r3Cline con 0exec-timeo
26、ut 0 0stopbits 1line aux 0stopbits 1line vty 0 4no loginendr3#show ipv6 routeIPv6 Routing Table - 9 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGPU - Per-user Static routeI1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summaryO - OSPF intra, OI - OSPF inter, OE1 - OS
27、PF ext 1, OE2 - OSPF ext 2ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2LFE80:/10 0/0via :, Null0SFEC0:0:0:1:/64 1/0via FEC0:5:C800:2FF:FE14:38SFEC0:0:0:2:/64 1/0via FEC0:5:C800:2FF:FE14:38SFEC0:0:0:3:/64 1/0via FEC0:5:C800:2FF:FE14:38SFEC0:0:0:4:/64 1/0via FEC0:5:C800:2FF:FE14:38CFEC0:0:0:5:/64 0/0vi
28、a :, FastEthernet0/0LFEC0:5:C800:5FF:FEA4:0/128 0/0via :, FastEthernet0/0LCFEC0:0:0:6:/128 0/0via :, Loopback0LFF00:/8 0/0via :, Null0r3#模拟fec0:1/64链路断开r1#show ipv6 routeIPv6 Routing Table - 8 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGPU - Per-user Static routeI1 - ISIS L1,
29、I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summaryO - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2LFE80:/10 0/0via :, Null0CFEC0:0:0:2:/64 0/0via :, FastEthernet1/0LFEC0:2:C800:2FF:FEC8:1C/128 0/0via :, FastEthernet1/0LCFEC0:0:0:3:1/12
30、8 0/0via :, Loopback0SFEC0:0:0:4:/64 50/0via FEC0:2:C800:2FF:FE14:1CSFEC0:0:0:5:/64 50/0via FEC0:2:C800:2FF:FE14:1CSFEC0:0:0:6:/64 50/0via FEC0:2:C800:2FF:FE14:1CLFF00:/8 0/0via :, Null0r1#telnet fec0:2:c800:2ff:fe14:1cTrying FEC0:2:C800:2FF:FE14:1C . OpenWelcome to r2r2enPassword:r2#show ipv6 route
31、IPv6 Routing Table - 9 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGPU - Per-user Static routeI1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summaryO - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2LFE80:/
32、10 0/0via :, Null0CFEC0:0:0:2:/64 0/0via :, FastEthernet1/0LFEC0:2:C800:2FF:FE14:1C/128 0/0via :, FastEthernet1/0SFEC0:0:0:3:/64 50/0via FEC0:2:C800:2FF:FEC8:1CLCFEC0:0:0:4:1/128 0/0via :, Loopback0CFEC0:0:0:5:/64 0/0via :, FastEthernet2/0LFEC0:5:C800:2FF:FE14:38/128 0/0via :, FastEthernet2/0SFEC0:0
33、:0:6:/64 1/0via FEC0:5:C800:5FF:FEA4:0LFF00:/8 0/0via :, Null0r2#telnet fec0:5:c800:5ff:fea4:0Trying FEC0:5:C800:5FF:FEA4:0 . OpenWelcome to r3r3enPassword:r3#show ipv6 routeIPv6 Routing Table - 9 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGPU - Per-user Static routeI1 - ISIS
34、L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summaryO - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2LFE80:/10 0/0via :, Null0SFEC0:0:0:1:/64 1/0via FEC0:5:C800:2FF:FE14:38SFEC0:0:0:2:/64 1/0via FEC0:5:C800:2FF:FE14:38SFEC0:0:0:3:/64 1/0via FEC0:5:C800:2FF:FE14:38SFEC0:0:0:4:/64 1/0via FEC0:5:C800:2FF:FE14:38CFEC0:0:0:5:/64 0/0via :, FastEthernet0/0LFEC0:5:C800:5FF:FEA4:0/128 0/0via :, FastEthernet0/0LCFEC0:0:0:6:/128 0/0via :, Loopback0LFF00:/8 0/0via :, Null0r3#