You can configure IPv4 and IPv6 static Ethernet network interface addresses in environments where the DHCP service is not available.
device# configure terminal
device(config)# interface Management 1
device(config-Management-0)# no ip address dhcp
device(config-Management-0)# ip address 10.24.85.81/20
device(config-Management-0)# ipv6 address 2001:DB8::69bc:832:e61f:13ff:fe67:4b94/32
device(config-Management-0)# do show running-config interface Management 0 interface Management 0 no ip address dhcp ip address 10.24.85.81/20 ipv6 address 2001:DB8::69bc:832:e61f:13ff:fe67:4b94/32 !
The following example is the configuration of the previous steps.
device# configure terminal device(config)# interface Management 0 device(config-Management-0)# no ip address dhcp device(config-Management-0)# ip address 10.24.85.81/20 device(config-Management-0)# ipv6 address 2001:DB8::69bc:832:e61f:13ff:fe67:4b94/32