Change to Config Mode Router# configure terminal
Enter Interface Mode Router (config)# interface g0/0
interface f0/0
interface s0/0/0
Set ip address to interface R1 (config-if)# ip address 10.0.0.1 255.255.255.0
Set interface description R1 (config-if)# description Gigabit 0/0 Interface
Turn on Interface R1 (config-if)# no shutdown
All Cisco Routers and Switches
The command below is from a router, the type of interface must match the physical interface on the device
Prefix
g – GigabitEthernet
f – FastEthernet
s - Serial
Basic Router NIC Settings