For platforms 8400 and 83xx: By default, all interfaces are configured as routed interfaces with support for both IPv4 and IPv6.
For platforms 6400 and 6300: By default, all interfaces are configured as access ports on VLAN 1
Give an interface an IP address:
switch(config-if)# <ip|ipv6> address IP-ADDR/<SUBNET|PREFIX>
Show commands to validate functionality:
show <ip|ipv6> interface IFACE