Users Guide

Table Of Contents
As an alternative to stateless autoconguration, you can enable a network host to obtain IPv6 addresses using a DHCP server via stateful
autoconguration using the ipv6 address dhcp command. A DHCPv6 server uses a prex pool to congure a network address on an
interface. The interface ID is automatically generated.
Manally congured addresses
An interface can have multiple IPv6 addresses. To congure an IPv6 address in addition to the link-local address, use the ipv6 address
ipv6-address/mask command. Enter the full 128-bit IPv6 address, including the network prex and a 64-bit interface ID.
You can also manually congure an IPv6 address by assigning:
A network prex with the EUI-64 parameter using the ipv6 address ipv6-prefix eui64 command. A 64-bit interface ID is
automatically generated based on the MAC address.
A link-local address to use instead of the link-local address that is automatically congured when you enable IPv6 using the ipv6
address link-local command.
Congure IPv6 address
OS10(config)# interface ethernet 1/1/8
OS10(conf-if-eth1/1/8)# ipv6 address 2001:dddd:0eee::4/64
Congure network prex
OS10(config)# interface ethernet 1/1/8
OS10(conf-if-eth1/1/8)# ipv6 address 2001:FF21:1:1::/64 eui64
Congure link-local address
OS10(config)# interface ethernet 1/1/8
OS10(conf-if-eth1/1/8)# ipv6 address FE80::1/64 link-local
Static IPv6 routing
To dene an explicit route between two IPv6 networking devices, congure a static route on an interface. Static routing is useful for smaller
networks with only one path to an outside network, or to provide security for certain trac types in a larger network.
Enter the static routing information including the IPv6 address and mask in x:x:x:x::x format in CONFIGURATION mode—prex length
0 to 64.
ipv6 route ipv6–prefix/mask {next-hop | interface interface [route-preference]}
next-hop — Enter the next-hop IPv6 address in x:x:x:x::x format.
interface interface — Enter the interface type then the slot/port or number information.
route-preference — (Optional) Enter a route-preference range—1 to 255.
After you congure a static IPv6 route, congure the forwarding router’s address on the interface. The IPv6 neighbor interface must have
an IPv6 address congured.
Congure IPv6 static routing and view conguration
OS10(config)# ipv6 route 2111:dddd:0eee::22/128 2001:db86:0fff::2
OS10(config)# do show ipv6 route static
Codes: C - connected
S - static
B - BGP, IN - internal BGP, EX - external BGP
O - OSPF,IA - OSPF inter area, N1 - OSPF NSSA external type 1,
N2 - OSPF NSSA external type 2, E1 - OSPF external type 1,
E2 - OSPF external type 2, > - non-active route
Gateway of last resort is not set
Destination Gateway Dist/Metric Last Change
252
Layer 3