2013年6月4日 星期二

IPv6 Routing OSPFv3

//-------------------------------------//
R1#
R1#

ipv6 unicast-routing

interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 ipv6 address 2001:1:1:1::1/64
 ipv6 enable
 ipv6 ospf 10 area 0.0.0.0
!
interface Serial0/0
 no ip address
 ipv6 address 2001:2:2:2::1/64
 ipv6 enable
 ipv6 ospf 10 area 0.0.0.0
 no fair-queue
 clock rate 2000000
!

ipv6 router ospf 10
 router-id 1.1.1.1
R1#
R1#

//-------------------------------------//

R2#
R2#

ipv6 unicast-routing

interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 ipv6 address 2001:3:3:3::1/64
 ipv6 enable
 ipv6 ospf 10 area 0.0.0.0
!
interface Serial0/0
 no ip address
 ipv6 address 2001:2:2:2::2/64
 ipv6 enable
 ipv6 ospf 10 area 0.0.0.0
 no fair-queue
 clock rate 2000000

ipv6 router ospf 10
 router-id 2.2.2.2
 log-adjacency-changes
!
R2#
R2#

//-------------------------------------//
//-------------------------------------//

R1#
R1#sh ipv6 route
IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route, M - MIPv6
       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
C   2001:1:1:1::/64 [0/0]
     via ::, FastEthernet0/0
L   2001:1:1:1::1/128 [0/0]
     via ::, FastEthernet0/0
C   2001:2:2:2::/64 [0/0]
     via ::, Serial0/0
L   2001:2:2:2::1/128 [0/0]
     via ::, Serial0/0
O   2001:3:3:3::/64 [110/74]
     via FE80::C601:22FF:FE90:0, Serial0/0
L   FF00::/8 [0/0]
     via ::, Null0
R1#


R1#sh ipv6 ospf nei

Neighbor ID     Pri   State           Dead Time   Interface ID    Interface
2.2.2.2           1   FULL/  -        00:00:35    6               Serial0/0
R1#
 

//-------------------------------------//



R2#
R2#sh ipv6 route
IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
       U - Per-user Static route, M - MIPv6
       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
O   2001:1:1:1::/64 [110/74]
     via FE80::C600:22FF:FE90:0, Serial0/0
C   2001:2:2:2::/64 [0/0]
     via ::, Serial0/0
L   2001:2:2:2::2/128 [0/0]
     via ::, Serial0/0
C   2001:3:3:3::/64 [0/0]
     via ::, FastEthernet0/0
L   2001:3:3:3::1/128 [0/0]
     via ::, FastEthernet0/0
L   FF00::/8 [0/0]
     via ::, Null0
R2#

R2#sh ipv6 ospf nei

Neighbor ID     Pri   State           Dead Time   Interface ID  Interface
1.1.1.1           1   FULL/  -        00:00:39    6             Serial0/0
R2#

 //-------------------------------------//

R1  Video

R2 Video
 VPC Video

沒有留言:

張貼留言