R1(config)#ipv6 unicast-routing
^ Enable routing for IPv6
R1(config)#int g0/0
R1(config-if)#ipv6 address 2001:db8:0:0::1/64
R1(config-if)#no shutdown
^ Assign an IPv6 address to interface g0/0
R1#show ipv6 interface brief
GigabitEthernet0/0 [up/up]
FE80::EF8:22FF:FE36:8500
2001:DB8::1
Notice two IPv6 addresses were assigned.
The first FE80 address is an automatically assigned Link-Local address.
The second 2001 address is the one I assigned.
[These are my notes from Jeremy's excellent CCNA course which can be viewed here.]