Reference Guide
You can also manually congure an IPv6 address by assigning:
• A network prex and the 64-bit interface ID in EUI-64 format (ipv6 address eui64 command)
• A link-local address to be used instead of the link-local address that is automatically congured when IPv6 is enabled (ipv6 address
link-local
command)
To remove all IPv6 addresses from an interface, enter the no ipv6 address autoconfig command. You can manually disable and re-
enable IPv6 processing on an interface congured with an IPv6 address (no ipv6 enable and ipv6 enable commands).
To re-enable stateless autoconguration of an IPv6 link-local address on a switch interface, enter the ipv6 address autoconfig
command.
Congure IPv6 address
OS10(config)# interface ethernet 1/1/8
OS10(conf-if-eth1/1/8)# ipv6 address 2001:dddd:0eee::4/128
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/124 link-local
Static IPv6 routing
Congure a static route on an interface to dene an explicit route between two IPv6 networking devices. 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 IP address in dotted decimal format—A.B.C.D.
• 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.
Congure IPv6 static routing and view conguration
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
--------------------------------------------------------------------------
S 2111:dddd:eee::22/12via 2001:db86:fff::2 ethernet1/1/1 1/1 00:01:24
284
Layer 3