Reference Guide

Link-local IPv6 addressing
Before you congure an interface for IPv6 addressing, determine how the interface is intended to be used. Decide if you would like to use
automatic IPv6 local-link interface addressing or per-interface link-local addressing. The no version of this command removes all manually
congured IPv6 addresses.
1 (Optional) Enter the IPv6 address in x:x:x:x::x format, then the prex length in /x format (/0 to /128) in INTERFACE mode to manually
congure the link-local address.
ipv6 address ipv6-address/mask link-local
2 (Optional) Enable IPv6 addressing to automatically congure the link-local address in INTERFACE mode.
ipv6 address enable
3 Save the conguration.
do commit
Enable IPv6 link-local addressing
OS10(config)# interface ethernet 1/1/8
OS10(conf-if-eth1/1/8)# ipv6 address 2001:0db8:2345::/48 link-local
OS10(conf-if-eth1/1/8)# do commit
Enable automatic IPv6 addressing
OS10(config)# interface ethernet 1/1/7
OS10(conf-if-eth1/1/7)# ipv6 enable
OS10(conf-if-eth1/1/7)# do commit
Remove all IPv6 addressing on interface
OS10(conf-if-eth1/1/9)# no ipv6 address
Enable static IPv6 routing
Determine if you would like to use static IPv6 routing. Static routes are manually congured and dene an explicit route between two
networking devices. Static routing is useful for smaller networks with only one path to an outside network, or to provide security for certain
type of trac in a larger network.
Once you congure a static IPv6 route and congure the forwarding router’s address on a neighbor interface, the IPv6 neighbor does not
show in the show ipv6 route command output.
1 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 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.
2 Save the conguration.
do commit
Congure IPv6 static routing and view conguration
OS10(config)# ipv6 route 2111:dddd:0eee::22/128 2001:db86:0fff::2
0S10(config)# do commit
OS10(config)# do show ipv6 route static
Codes: C - connected
S - static
256
Layer 3