![]() | Cisco Systems |
Internet Protocol v6 (IPv6)ConfigurationsCommandsLAB-R1(config)#ipv6 unicast-routing Activate IPv6 Unicast RoutingLAB-R1(config-if)#ipv6 enable Enable Link-Local Addressing on interface LAB-R1# show ipv6 route Display IPv6 Routing Table LAB#sh ipv6 int brief Display ipv6 Interfaces brief LAB#ping ipv6 2001:DB8:3C4D:11:206:2AFF:FEAA:8401 Ping an ipv6 address
Manual Address AssignmentLAB-R1(config)#ipv6 unicast-routingLAB-R1(config)#int f0/0 LAB-R1(config-if)#ipv6 address ipv6prefix/prefix-length [eui-64] As an alternative to typing in an IPv6 address on a router, you can enable the interface instead to permit the application of an automatic link-local address. To configure a router so that it uses only link-local addresses, use the ipv6 enable interface configuration command: Corp(config-if)#ipv6 enable Remember, if you have only a link-local address, you will be able to communicate only on that local subnet. Diagnostic show ipv6 interface show ipv6 neighbors show interfaces tunnel tunnel-number PC>ping FE80::200:CFF:FE9A:20B5 Configuring Routing on Our InternetworkLAB-R1(config)#ipv6 route ::/0 s0/0/1 Default RouteSF(config)#ipv6 route 2001:db8:3c4d:11::/64 s0/0/0 150 Now since I put an AD of 150 on the static routes, once I configure a routing protocol such as OSPF, they’ll be replaced with an OSPF injected route |