Configuring a router
The command line of a Cisco IOS router: the modes and their prompts, configuring an interface, writing a route, running and startup configuration, and reading show commands.
- 28 cards
- 4 topics
- Free
The outline, topic by topic
Each topic is weighted the way the exam weighs it.
- Concepts
- Questions
- Sort and link
- The steps
A few cards from the deck
Router: what is it?
Show the answer
A device that links several IP networks and passes each packet from one to the other according to its routing table.
Each interface of a router belongs to a different network and carries an address of that network: without an address and without being enabled, it forwards nothing.
Which mode are you in when the prompt is
Router(config-if)#?- Interface configuration
- Global configuration of the router
- Privileged mode
- User mode, with no configuration rights
Show the answer
Interface configuration
(config-if)shows that you are configuring one specific interface, chosen withinterface g0/0fromRouter(config)#. Commands likeip addresscan only be typed here.To go from
Router#toRouter(config)#, you type …; to return straight toRouter#from any sub-mode, you type ….Show the answer
To go from
Router#toRouter(config)#, you type configure terminal; to return straight toRouter#from any sub-mode, you type end.exitonly goes up one level, whileend(or Ctrl+Z) leaves all configuration sub-modes at once.Cisco IOS: what is it?
Show the answer
The operating system, and its command line, of the routers and switches made by Cisco; its syntax is the reference in networking courses.
You enter it through a console or SSH session, and the prompt tells you at every moment which mode you are in, hence which commands are allowed.
Giving g0/0 an address and saving: which step comes after "
Router> enable"?Router(config)# interface g0/0Router(config-if)# ip address 192.168.1.1 255.255.255.0Router(config-if)# no shutdownRouter# configure terminal
Show the answer
Router# configure terminalEach line can only be typed in the mode reached by the previous one. Without
no shutdownthe interface stays off, and without the final copy nothing survives a restart.