Objectives
The simulator ticks each one as soon as the network meets it.
Click R1 to open its console. The prompt R1> means user EXEC mode: you can look, but not change anything.
Type enable. The prompt changes to R1#, privileged EXEC mode.
Type configure terminal. The prompt changes to R1(config)#: now you can change the configuration.
Type interface GigabitEthernet0/0 to choose the port you want to set up. The prompt changes to R1(config-if)#.
Set the address: ip address 192.168.1.1 255.255.255.0.
Switch the interface on: no shutdown.
Type end to go straight back to R1#, then check your work: show ip interface brief.
Prove it works: ping 192.168.1.10, which is PC1.
Before you start
Read the prompt before you type: it tells you where you are. Press Tab to finish a word, and type ? to list what this mode accepts. Try show running-config at R1> to see why enable comes first. Academy chapter “The Cisco CLI from zero” explains each mode.
Concept
The modes of the command line
The prompt tells you which mode you are in, and the mode decides which commands work. You climb one step at a time: first to see everything, then to change things.
Concept
Giving an interface an IP address
An IP address belongs to an interface, not to the router as a whole, so each port has its own. A router port starts switched off, so an address alone is not enough: you also have to switch it on.