扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
CCNP之IPv6技术-动态路由协议2
R2配置
R2(config)#ipv6 unicast-routing
R2(config)#int s1/0
R2(config-if)#ipv6 address 2001::2/16
R2(config-if)#no shut
R2(config)#int s1/1
R2(config-if)#ipv6 address 2002::1/16
R2(config-if)#no shut
---------以上为基本IP信息配置部分------------
R2(config)#ipv6 router rip bjxh
R2(config-rtr)#exit
R2(config)#int s1/0
R2(config-if)#ipv6 rip bjxh en
R2(config-if)#int s1/1
R2(config-if)#ipv rip bjxh en
---------以上为支持IPV6的RIPng动态路由配置部分------------
R2(config)#no ipv6 router rip bjxh
R2(config)#ipv6 router ospf 110
R2(config-rtr)#router-id 2.2.2.2
R2(config-rtr)#ex
R2(config)#int s1/0
R2(config-if)#ipv ospf 110 a 0
R2(config-if)#int s1/1
R2(config-if)#ipv os 110 a 1
---------以上为支持IPV6的OSPFv3动态路由配置部分------------
R2(config)#no ipv6 router ospf 110
R2(config)#ipv6 router eigrp 90
R2(config-rtr)#router-id 2.2.2.2
R2(config-rtr)#no shut
R2(config-rtr)#ex
R2(config)#int s1/0
R2(config-if)#ipv ei 90
R2(config-if)#int s1/1
R2(config-if)#ipv ei 90
---------以上为支持IPV6的EIGRP动态路由配置部分------------
R3配置:
R3(config)#ipv6 unicast-routing
R3(config)#int s1/0
R3(config-if)#ipv add 2002::2/16
R3(config-if)#no shut
R3(config-if)#int fa0/0
R3(config-if)#ipv add 2003::1/16
R3(config-if)#no shut
---------上面为基本IP信息配置部分------------
R3(config)#ipv6 router rip bjxh
R3(config)#int fa0/0
R3(config-if)#ipv rip bjxh en
R3(config-if)#int s1/0
R3(config-if)#ipv rip bjxh en
---------以上为支持IPV6的RIP动态路由配置部分------------
R3(config)#no ipv router rip bjxh
R3(config)#ipv router os 110
R3(config-rtr)#router-id 3.3.3.3
R3(config-rtr)#ex
R3(config)#int fa0/0
R3(config-if)#ipv os 110 a 1
R3(config-if)#int s1/0
R3(config-if)#ipv os 110 a 1
---------以上为支持IPV6的OSPFv3动态路由配置部分------------
R3(config)#no ipv router ospf 110
R3(config)#ipv6 router eigrp 90
R3(config-rtr)#router-id 3.3.3.3
R3(config-rtr)#no shut
R3(config-rtr)#ex
R3(config)#int fa0/0
R3(config-if)#ipv ei 90
R3(config-if)#int s1/0
R3(config-if)#ipv ei 90
---------以上为支持IPV6的EIGRP动态路由配置部分------------
R3#show ipv rou
IPv6 Routing Table - 8 entries
Codes: 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 2
D - EIGRP, EX - EIGRP external
R 2000::/16 [120/3]
via FE80::C000:13FF:FE2C:0, Serial1/0
R 2001::/16 [120/2]
via FE80::C000:13FF:FE2C:0, Serial1/0
---------部分省略-----------
R3#show ipv route
IPv6 Routing Table - 8 entries
Codes: 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 2
D - EIGRP, EX - EIGRP external
OI 2000::/16 [110/138]
via FE80::C000:13FF:FE2C:0, Serial1/0
OI 2001::/16 [110/128]
via FE80::C000:13FF:FE2C:0, Serial1/0
---------部分省略-----------
R3#show ipv rou
IPv6 Routing Table - 8 entries
Codes: 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 2
D - EIGRP, EX - EIGRP external
D 2000::/16 [90/2707456]
via FE80::C000:13FF:FE2C:0, Serial1/0
D 2001::/16 [90/2681856]
via FE80::C000:13FF:FE2C:0, Serial1/0
---------部分省略-----------
R3#p 2000::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2000::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 44/88/192 ms
这只是这三种路由协议的最基本配置,还有很多性能调优性的配置这里没有列出
以及支持Ipv6的IS-IS协议以及BGP协议会在后续的博文中写出。
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者