2013年6月4日 星期二

IPv6 Routing Static

IPv6 Routing Static












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

R1#

ipv6 unicast-routing

interface FastEthernet0/0
no sh
 no ip address
 duplex auto
 speed auto
 ipv6 address 2001:1:1:1::1/64
!
interface Serial0/0
no sh
 no ip address
 ipv6 address 2001:2:2:2::1/64
 clock rate 2000000
!
ipv6 route 2001:3:3:3::/64 2001:2:2:2::2
!
R1#

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

R2#

ipv6 unicast-routing

interface FastEthernet0/0
no sh
 no ip address
 duplex auto
 speed auto
 ipv6 address 2001:3:3:3::1/64
!
interface Serial0/0
no sh
 no ip address
 ipv6 address 2001:2:2:2::2/64
 clock rate 2000000
!

ipv6 route 2001:1:1:1::/64 2001:2:2:2::1

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
S   2001:3:3:3::/64 [1/0]
     via 2001:2:2:2::2
L   FF00::/8 [0/0]
     via ::, Null0
R1#




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
S   2001:1:1:1::/64 [1/0]
     via 2001:2:2:2::1
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#




沒有留言:

張貼留言