Basic Router & Switch IOS configuration commands - CCNA beginner
ฝัง
- เผยแพร่เมื่อ 29 มิ.ย. 2024
- In this video I cover the very basic router and switch IOS configuration commands that you will use in week 2 of my Cisco CCNA Introduction to Networks course:
You can download the text file from this video here: drive.google.com/open?id=13Pg...
=================================
Basic Router Commands
=================================
Router(greater than sign) ---User EXEC mode exit
Router(greater than sign) ?
Router(greater than sign) enable
---------------
Router# ---Privileged EXEC mode disable, exit
Router# ?
-----------------
Router# configure terminal
Router(config)# ---Global Config mode exit, end, Ctrl+c, Ctrl+z
Router(config)# ?
-----------------
Router(config)# line vty 0 15
Router(config)# line console 0
Router(config-line)# ---Line configuration mode exit, end, Ctrl+c, Ctrl+z
Router(config-line)# ?
----------------------------
Router(config)# interface gigabitEthernet 0/0/0
Router(config-if)# ---Interface configuration mode exit, end, Ctrl+c, Ctrl+z
Router(config-if)# ?
----------------------------
Router#
Router# configure terminal
Router# show ?
Router# show running-config
Router# copy running-config startup-config
Router# ping 192.168.1.100
Router# traceroute 192.168.1.100
Router# ssh 192.168.1.100
Router# telnet 192.168.1.100
Router# debug ?
Router# clock set 07:14:00 October 15 2019
Router# reload
---------------------------------
Router(conf)#
Router(conf)# hostname R1
Router(conf)# banner motd "No unauthorized access allowed!"
Router(conf)# enable password class
Router(conf)# enable secret class
Router(conf)# service password-encryption
Router(config)# line vty 0 15
Router(config)# line console 0
Router(config)# interface gigabitEthernet 0/0/0
----------------------------------------------------
Router(config-line)#
Router(config-line)# password cisco
Router(config-line)# login
Router(config-line)# transport input all (line vty)
----------------------------------------------------
Router(config-if)#
Router(config-if)# interface gigabitEthernet 0/0/0
Router(config-if)# int g0/0 //command abbreviation
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config-if)# no shutdown
=================================
Basic Switch Commands
=================================
Switch(greater than sign) ---User EXEC mode exit
Switch(greater than sign) enable
---------------
Switch# ---Privileged EXEC mode disable, exit
-----------------
Switch# configure terminal
Switch(config)# ---Global Config mode exit, end, Ctrl+c, Ctrl+z
-----------------
Switch(config)# line vty 0 15
Switch(config)# line console 0
Switch(config-line)# ---Line configuration mode exit, end, Ctrl+c, Ctrl+z
----------------------------
Switch(config)# interface vlan 1
Switch(config-if)# ---Interface configuration mode exit, end, Ctrl+c, Ctrl+z
----------------------------
Switch#
Switch# configure terminal
Switch# show ?
Switch# show running-config
Switch# copy running-config startup-config
Switch# ping 192.168.1.100
Switch# traceroute 192.168.1.100
Switch# ssh 192.168.1.100
Switch# telnet 192.168.1.100
Switch# debug ?
Switch# clock set 07:14:00 October 15 2019
Switch# reload
---------------------------------
Switch(conf)#
Switch(conf)# hostname R1
Switch(conf)# banner motd "No unauthorized access allowed!"
Switch(conf)# enable password class
Switch(conf)# enable secret class
Switch(conf)# service password-encryption
Switch(config)# line vty 0 15
Switch(config)# line console 0
Switch(config)# interface vlan 1
----------------------------------------------------
Switch(config-line)#
Switch(config-line)# password cisco
Switch(config-line)# login
Switch(config-line)# transport input all (line vty)
----------------------------------------------------
Switch(config-if)#
Switch(config-if)# interface vlan 1
Switch(config-if)# ip address 192.168.1.2 255.255.255.0
Switch(config-if)# no shutdown
Switch(config-if)# exit
Switch(config)# ip default-gateway 192.168.1.1
Extra helpful commands:
=========================
Router(conf)# no ip domain-lookup //prevents miss-typed commands from being "translated..."
Router(conf-line)# logging synchronous //prevents logging output from interrupting your command input
I’m currently in college for a network administrator degree and you have taught more than what my professor has all semester thank you 🙏🏼
I was in a CCNA course in high school (2007ish)
I made a lot of bad decisions in my life, but I thank you for giving me another outlet to rekindling this passion of mine.
I really like your hands on step-by-step approach. You explain things really well!
Dan is an excellent trainer...his methods is simplified and very clear! Thanks Dan
Can't tell how easy and well explained approaches u have dan......too good sir.
I've had a desktop support job for the past 5 years and I am out of practice with the router interface, thanks for refresher course!
Many thanks for a very good and to the point video. Keep these coming.
Omg finally step by step ..I'm so writing this down❤❤..Thanks Dan👏..
Bunch of thanks for the step by step explanation❤❤
you're the man dan! thank you for uploading this helpful video!
I am wondering why professors don't teach us the way you do!!! Thank you so much.
You explain things to easily. i have got an understanding. keep up the good work.
Thank you very much for your time and effort, so practical, you are the best there is
Excellent Presentation of the Material!
Thanks for the refresher!
Thank you very much for this!! and explanation was very clear making it easy to understand.
You are awesome keep the videos coming !!
I work at a company that is being paid by a 3rd party company who is contracted by the government to work on servers and Racks and all the old employee's left... im learning to do a lot of new amazing things and learnign about the cisco switch is one of them! Thank you for your videos!!! you have no idea how helpful this is for someone who has no degree in this type of work but is in the type of work already!... idk if im lucky but im super stressed out... they all look to me someone they can count on to get things done... but... i know i can do it.. if the client believes in me and speaks highly of me... then i must be doing something right..
Instructor led, Netacad R&S student here.
I truly enjoy your course at Netacad and now I just found this gem. Thank you for your hard work and passionate dedication.
Cheers, and thank you
Dan you´re simply Amazing. Thanks.
Needed this for my final, thanks
Excellent way of delivery, 👍 perfectt
Great work!
**Million thanks for making this video.i will refer to this video for all beginners
Greetings !! Absolutely the best explanation for setting up a cisco router !!
Thank you so much ...
Just what I need...
💯💯💯👍👍👍
awesome video Thank you !
You explain easy bro thanx.
appreciate very much sir! God Bless!
Thanks you are awesome teacher 👍
It's good, keep it up.
Thank you Sir 👍🙏
Thank you . Big help
THANK YOU SIR FOR THE EASY EXPLANATION
Thanks for da vids sir
Awsome, thanks
Thank you so much!!!!
you saved my ass in an exam. thx so much
I am a working professional and would like to let you know that from this video you will learn most of the important commands you will need for work.
Thank you alot
Best one so far ! Good job!
Thanks!
What I don't get is why the instructors (all; Dan, my college instructors, other TH-cam instructors) feel the need to blow past line vty and what is required to enable ssh. I feel like it's such a fundamental thing, and yet, even in Odom's cert guide, I just can't seem to truly understand what is happening and what is required, in line config and global config, and get ahold of it, mentally. Yes, Dan is a great instructor.
THANKS
that is really great lecture did i miss the week1 lesson i can't find z lecture
Please can you group them in order like beginner, intermediate and also order of playlist because they all mix
Very clear instructions
Questions: Catalyst2950 switch. How do i view any vlan tagged ports?
Thanks
Wow
thx any advises for ICND1 ARE WELECOMED
I would have thought someone would have created a GUI for this by now.
Thanks for your video sir. By the way, would you make video how to configure router with PC or laptop use Linux?
great idea
what model Cisco router is it? which one would you recommend to buy to learn?
hi, how would be to configure SFP interface?
Hi how to I get the Cisco CLI to show the full command after entering an abbreviation?
Hi,
I just received my router, but I am still learning in CISCO commands and I became that on putty console by password recovery:
"Evaluating BIOS Options ...
Invalid Key: 0000
Invalid Key: 001A
Invalid Key: 001A
Launch BIOS Extension to setup ROMMON
Cisco Systems ROMMON Version (1.0(11)2) #0: Thu Jan 26 10:43:08 PST 2006
Platform ASA5510
Management0/0
Ethernet auto negotiation timed out.
Interface-4 Link Not Established (check cable).
Default Interface number-4 Not Up
Use ? for help.
rommon #0>"
How can I save the config and go forward to change password?
you know how to use tera term at home ?
when i put interface fastethernet 0/1 there is invalid input detected
you are either in the wrong command mode or the switchport interface are not fast ethernet. Try doing a show run command and look at the interface names
@@danscourses thanks it was gil 0/1
Hi
please any contact