! R1
en
conf t
!
host R1
no ip domain-lookup
!
line vty 0 15
password cisco
!
line con 0
logging sync
exec-timeout 0
!
int f0/0
ip addr 10.12.12.1 255.255.255.0
no shut
ipv6 enable
ipv6 addr 2000:2::1/64
!
int f0/1
ip addr dhcp
no shut
ipv6 enable
ipv6 addr 2000:1::1/64
!
router eigrp 100
net 10.0.0.0
no auto-summary
!
end




! R2
en
conf t
!
host R2
no ip domain-lookup
!
line vty 0 15
password cisco
!
line con 0
logging sync
exec-timeout 0
!
int f0/0
ip addr 10.12.12.2 255.255.255.0
no shut
ipv6 enable
ipv6 addr 2000:2::2/64
!
int lo 0
ip addr 10.2.2.1 255.255.255.0
ipv6 enable
ipv6 addr 2000:3::1/64
!
router eigrp 100
net 10.0.0.0
no auto-summary
!
end



! enable ipv6 RIPng

! R1
en
conf t
!
ipv6 unicast-routing
!
ipv6 router rip r1
!
int f0/1
ipv6 rip r1 enable
!
int f0/0
ipv6 rip r1 enable
!
end




! R2
en
conf t
!
ipv6 unicast-routing
!
ipv6 router rip r2
!
int lo 0
ipv6 rip r2 enable
!
int f0/0
ipv6 rip r2 enable
!
end





R1#sh ipv6 route
IPv6 Routing Table - 7 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
C 2000:1::/64 [0/0]
via ::, FastEthernet0/1
L 2000:1::1/128 [0/0]
via ::, FastEthernet0/1
C 2000:2::/64 [0/0]
via ::, FastEthernet0/0
L 2000:2::1/128 [0/0]
via ::, FastEthernet0/0
R 2000:3::/64 [120/2]
via FE80::C604:EFF:FE14:0, FastEthernet0/0
L FE80::/10 [0/0]
via ::, Null0
L FF00::/8 [0/0]
via ::, Null0
R1#





! enable ipv6 ospfv3

! R1
en
conf t
!
ipv6 router ospf 1
!
int f0/1
ipv6 ospf 1 area 0
!
int f0/0
ipv6 ospf 1 area 0
!
end


! R2
en
conf t
!
ipv6 router ospf 1
!
int lo 0
ipv6 ospf 1 area 0
ipv6 network-type point-to-point
!
int f0/0
ipv6 ospf 1 area 0
!
end




R1#sh ipv6 route
IPv6 Routing Table - 7 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
C 2000:1::/64 [0/0]
via ::, FastEthernet0/1
L 2000:1::1/128 [0/0]
via ::, FastEthernet0/1
C 2000:2::/64 [0/0]
via ::, FastEthernet0/0
L 2000:2::1/128 [0/0]
via ::, FastEthernet0/0
O 2000:3::/64 [110/11]
via FE80::C604:EFF:FE14:0, FastEthernet0/0
L FE80::/10 [0/0]
via ::, Null0
L FF00::/8 [0/0]
via ::, Null0
R1#

taichenyu 發表在 痞客邦 PIXNET 留言(0) 人氣()