Static address assignment on a host guarantees that it will always have the same IP address on the network. Hosts that provide services such as servers and printers usually receive static IP addresses. DHCP provides a manageable way to maintain a dynamic addressing scheme.
The following general commands allow you to assign an IP address to an interface in Cisco IOS software:
enable configure terminal interface interface ip address ip-address subnet-mask no shutdown
No credit card required