资源描述:
《ipv6静态路由配置》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、Router>enableRouter#configureterminalEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Router(config)#hostnameR1R1(config)#ipv6unicast-routing//开启IPv6路由功能R1(config)#interfaceFastEthernet0/0R1(config-if)#ipv6addfec0:aaaa::1/64R1(config-if)#noshutdownR1(config-if)#exitR1(config)#interfaceFastEth
2、ernet0/1R1(config-if)#ipv6addfec0:bbbb::1/64R1(config-if)#noshutdownR1(config-if)#exitR1(config)#interfaceFastEthernet1/0R1(config-if)#ipv6addfec0:cccc::1/64R1(config-if)#noshutdownR1(config-if)#exitR1(config)#ipv6routefec0:dddd::/64fec0:cccc::2R1(config)#end%SYS-5-CONFIG_I:Configuredfromconsole
3、byconsoleR1#wrBuildingconfiguration...[OK]R1#showipv6routeIPv6RoutingTable-8entriesCodes:C-Connected,L-Local,S-Static,R-RIP,B-BGPU-Per-userStaticroute,M-MIPv6I1-ISISL1,I2-ISISL2,IA-ISISinterarea,IS-ISISsummaryO-OSPFintra,OI-OSPFinter,OE1-OSPFext1,OE2-OSPFext2ON1-OSPFNSSAext1,ON2-OSPFNSSAext2D-EI
4、GRP,EX-EIGRPexternalCFEC0:AAAA::/64[0/0]via::,FastEthernet0/0LFEC0:AAAA::1/128[0/0]via::,FastEthernet0/0CFEC0:BBBB::/64[0/0]via::,FastEthernet0/1LFEC0:BBBB::1/128[0/0]via::,FastEthernet0/1CFEC0:CCCC::/64[0/0]via::,FastEthernet1/0LFEC0:CCCC::1/128[0/0]via::,FastEthernet1/0SFEC0:DDDD::/64[1/0]via:
5、:,FastEthernet1/0viaFEC0:CCCC::2LFF00::/8[0/0]via::,Null0R1#Router>enableRouter#configureterminalEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Router(config)#hostnameR2R2(config)#ipv6unicast-routingR2(config)#interfaceFastEthernet0/0R2(config-if)#ipv6addfec0:dddd::1/64R2(config-if)#noshutR
6、2(config-if)#exitR2(config)#interfaceFastEthernet0/1R2(config-if)#ipv6addfec0:cccc::2/64R2(config-if)#noshutR2(config-if)#exitR2(config)#ipv6routefec0:aaaa::/64fec0:cccc::1R2(config)#ipv6routefec0:bbbb::/64fec0:cccc::1R2(config)#end%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleR2#wrBuildingconfi
7、guration...[OK]R2#showipv6routeIPv6RoutingTable-7entriesCodes:C-Connected,L-Local,S-Static,R-RIP,B-BGPU-Per-userStaticroute,M-MIPv6I1-ISISL1,I2-ISISL2,IA-ISISinterarea,IS-ISISsummaryO-OSPFintra,OI-OSPFinter,OE1-OSPFext1,OE2-