45-MSR係列路由器RIPng互通的典型配置舉例
本章節下載: 45-MSR係列路由器RIPng互通的典型配置舉例 (125.81 KB)
MSR係列路由器RIPng互通的典型配置舉例
|
Copyright © 2014 杭州華三通信技術有限公司 版權所有,保留一切權利。 非經本公司書麵許可,任何單位和個人不得擅自摘抄、複製本文檔內容的部分或全部, 並不得以任何形式傳播。本文檔中的信息可能變動,恕不另行通知。 |
|
目 錄
本文檔介紹使用RIPng的典型配置舉例。
本文檔不嚴格與具體軟、硬件版本對應,如果使用過程中與產品實際情況有差異,請參考相關產品手冊,或以設備實際情況為準。
本文檔中的配置均是在實驗室環境下進行的配置和驗證,配置前設備的所有參數均采用出廠時的缺省配置。如果您已經對設備進行了配置,為了保證配置效果,請確認現有配置和以下舉例中的配置不衝突。
本文檔假設您已了解RIPng的特性。
如圖1所示,Router A和Router B為MSR路由器,Router C為Cisco路由器,現要求:配置RIPng路由協議使Router A和Router C互通。
圖1 MSR路由器RIPng互通組網圖

本舉例是在Release 2311版本上進行配置和驗證的。
# 全局使能IPv6。
<RouterA> system-view
[RouterA] ipv6
# 創建RIPng進程1。
[RouterA] ripng 1
[RouterA-ripng-1] quit
# 配置接口IPv6地址,並在接口上使能RIPng。
[RouterA] interface gigabitethernet 0/1
[RouterA-GigabitEthernet0/1] ipv6 address 13::2 64
[RouterA-GigabitEthernet0/1] ripng 1 enable
[RouterA-GigabitEthernet0/1] quit
# 全局使能IPv6及RIPng。
<RouterB> system-view
[RouterB] ipv6
# 創建RIPng進程1。
[RouterB] ripng 1
[RouterB-ripng-1] quit
# 配置接口IPv6地址,並在接口上使能RIPng。
[RouterB] interface gigabitethernet 0/0
[RouterB-GigabitEthernet0/0] ipv6 address 23::2 64
[RouterB-GigabitEthernet0/0] ripng 1 enable
[RouterB-GigabitEthernet0/0] quit
[RouterB] interface gigabitethernet 0/1
[RouterB-GigabitEthernet0/1] ipv6 address 13::1 64
[RouterB-GigabitEthernet0/1] ripng 1 enable
[RouterB-GigabitEthernet0/1] quit
# 全局使能IPv6及RIPng。
RouterC> enable
RouterC# configure terminal
RouterC(config)# ipv6 unicast-routing
RouterC(config)# ipv6 router rip ciscoripng
# 配置接口IPv6地址,並在接口上使能RIPng。
RouterC(config)# interface FastEthernet 0/1
RouterC(config-if)# ipv6 address 23::1/64
RouterC(config-if)# ipv6 rip ciscoripng enable
RouterC(config-if)# exit
# 查看Router A的RIPng路由表。
<RouterA> display ipv6 routing-table protocol ripng
RIPng Routing Table :
Summary Count : 1
RIPng Routing Table's Status : < Active >
Summary Count : 1
Destination: 23::/64 Protocol : RIPng
NextHop : FE80::20F:E2FF:FE29:AE98 Preference: 100
Interface : GE0/1 Cost : 1
RIPng Routing Table's Status : < Inactive >
Summary Count : 0
# 查看Router A的RIPng信息。
<RouterA> display ripng 1 route
Route Flags: A - Aging, S - Suppressed, G - Garbage-collect
----------------------------------------------------------------
Peer FE80::20F:E2FF:FE29:AE98 on GigabitEthernet0/1
Dest 23::/64,
via FE80::20F:E2FF:FE29:AE98, cost 1, tag 0, A, 8 Sec
# 查看RouterC RIP路由表。
Router# show ipv6 route rip
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
R 13::/64 [120/2]
via FE80::20F:E2FF:FE29:AE97, FastEthernet0/1
# 在Router A上ping Router C的接口地址,能夠ping通對方。
<RouterA> ping ipv6 23::1
PING 23::1 : 56 data bytes, press CTRL_C to break
Reply from 23::1
bytes=56 Sequence=1 hop limit=63 time = 1 ms
Reply from 23::1
bytes=56 Sequence=2 hop limit=63 time = 1 ms
Reply from 23::1
bytes=56 Sequence=3 hop limit=63 time = 1 ms
Reply from 23::1
bytes=56 Sequence=4 hop limit=63 time = 1 ms
Reply from 23::1
bytes=56 Sequence=5 hop limit=63 time = 1 ms
--- 23::1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/1 ms
# 在Router C上ping Router A的接口地址,能夠ping通對方。
RouterC# ping ipv6 13::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 13::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/4 ms
· Router A:
#
sysname RouterA
#
ipv6
#
interface GigabitEthernet0/1
port link-mode route
ipv6 address 13::2/64
ripng 1 enable
#
ripng 1
#
· Router B:
#
sysname RouterB
#
ipv6
#
interface GigabitEthernet0/0
port link-mode route
ipv6 address 23::2/64
ripng 1 enable
#
interface GigabitEthernet0/1
port link-mode route
ipv6 address 13::1/64
ripng 1 enable
#
ripng 1
#
· Router C:
!
hostname RouterC
!
boot-start-marker
boot-end-marker
!
ipv6 unicast-routing
!
interface FastEthernet0/1
duplex auto
speed auto
ipv6 address 23::1/64
ipv6 rip ciscoripng enable
!
ipv6 router rip ciscoripng
!
· H3C MSR 係列路由器 命令參考(V5)-R2311
· H3C MSR 係列路由器 配置指導(V5)-R2311
不同款型規格的資料略有差異, 詳細信息請向具體銷售和400谘詢。H3C保留在沒有任何通知或提示的情況下對資料內容進行修改的權利!
