Users Guide
To enable stateless autoconguration of an IPv6 global address and set the interface to Host mode, use the ipv6 address
autoconfig command. The router receives network prexes in IPv6 router advertisements (RAs). An interface ID is appended to the
prex. In Host mode, IPv6 forwarding is disabled.
The no ipv6 address autoconfig command disables IPv6 global address autoconguration, and sets the interface to Router mode
with IPv6 forwarding enabled.
DHCP-assigned addresses
As an alternative to stateless autoconguration, you can enable a network host to obtain IPv6 addresses using a DHCP server via stateful
autoconguration using the ipv6 address dhcp command. A DHCPv6 server uses a prex pool to congure a network address on an
interface. The interface ID is automatically generated.
Manally congured addresses
An interface can have multiple IPv6 addresses. To congure 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 prex and a 64-bit interface ID.
You can also manually congure an IPv6 address by assigning:
• A network prex 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 congured when you enable IPv6 using the ipv6
address link-local
command.
Congure IPv6 address
OS10(config)# interface ethernet 1/1/8
OS10(conf-if-eth1/1/8)# ipv6 address 2001:dddd:0eee::4/64
Congure network prex
OS10(config)# interface ethernet 1/1/8
OS10(conf-if-eth1/1/8)# ipv6 address 2001:FF21:1:1::/64 eui64
Congure 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 dene an explicit route between two IPv6 networking devices, congure 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 trac 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—prex 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 congure a static IPv6 route, congure the forwarding router’s address on the interface. The IPv6 neighbor interface must have
an IPv6 address congured.
Layer 3
249










