Configuring IP Unicast Routing Assigning IP Addresses to Network Interfaces Command or Action Purpose Device(config)#interface gigabitethernet 1/0/1 Step 4 no switchport Example: Device(config-if)#no switchport Removes the interface from Layer 2 configuration mode (if it is a physical interface). Step 5 ip address ip-address subnet-mask Example: Device(config-if)#ip address 10.1.5.1 255.255.255.0 Configures the IP address and IP subnet mask. Step 6 no shutdown Example: Device(config-if)#no shutdown Enables the physical interface. Step 7 end Example: Device(config)#end Returns to privileged EXEC mode. Step 8 show ip route Example: Device#show ip route Verifies your entries.
Step 9 show ip interface [interface-id] Example: Device#show ip interface gigabitethernet 1/0/1 Verifies your entries. Step 10 show running-config Example: Device#show running-config Verifies your entries. Step 11 copy running-config startup-config Example: Device#copy running-config startup-config (Optional) Saves your entries in the configuration file. Configuring IP Unicast Routing 12