
r1(config-if)#
r1(config-if)# <CTRL>+Z
Notice that our prompt has changed once again. To exit from interface
configuration mode, use the 'exit' command. This will return you to global
configuration mode. To exit configuration mode entirely and go back to
privileged Exec mode, press <CTRL>+Z.
5. Configuration Exercises
EXERCISE 5 – configuring a new hostname for Router r1
To change the name of your router (hostname), you need to be in the global
configuration mode.
r1# config terminal entering the global configuration mode
r1(config)# hostname Spartan configuration of new host name
Notice the change in your prompt name to confirm the change of the
hostname of your router.
• Repeat steps above to change the hostname back to its original name
r1.
• Exit the global mode with a Ctrl-Z.
EXERCISE 6 – Configuring an Interface___________________________
• Find all interfaces configured in your router, r1
r1# show run displays all running interfaces
Try also the command
r1# show interfaces displays detailed information on all
interfaces on the router
Komentarze do niniejszej Instrukcji