How To

Some Basic Networking Commands for beginners in Networking Profession

Spread the love

Computer Networking is a technique in which we manage a group of devices which are interconnected with the help of some media to share resources. In this networking, we use many devices which are interconnected to share resources, So to manage these interconnections we use some commands which is very useful in order to make networking easier and also used to configure networking devices like switches, routers, wifi devices etc.

Here we will discuss some of the basic commands which are most useful for the networking professional beginner.



Router>: User Mode
Router#: Privileged Mode (Access to all other router command)
Router(config)#: Global Configuration Mode (This Command Effect the entire system)
Router(config-if)#: Interface Mode (Commmand affect Interfaces)
Router(config-subif)#: Subinterface mode (Commands affects subinterfaces)
Router(config-line)#: Line Mode (Commands affect in lines modes eg. Console, vty, aux, and etc)
Router(Config-router)#: Router configuration mode
Switch(config)#config t
Switch(config)#hostname SW
To change switch Hostname
SW(config)#enable secret abc123 Configuring Password (MD5 hash)
SW(config)#enable password abc123 Configuring Clear text password
SW(config)#line con 0
SW(config-line)#password abc123
Securing console port
SW(config)#line vty 0 4
SW(config-line)#password abc123
Securing Teminal Line
SW(config)#service password-encryption Encrypting Password
SW(config)#banner motd x No Access! X Configuring banners
SW(config)#interface vlan 1
SW(config-line)#ip address
SW(config-line)#no shutdown
Giving The Switch an IP Address
SW(config)#ip default-gateway Setting the default gateway
SW#copy running-config startup-config
Destination filename [startup-config]?
Building configuration…
Saving configuration
Building configuration
Short for write memory
SW#show version Show Information about the switch and its interface, RAM, NVRAM, flash, IOS, etc.
SW#show running-config Show the current configuration file stored in DRAM
SW#show startup-config Shows the configuration file stored in NVRAM which is used at first boot process
SW#show history Lists the commands currently held in the history buffer.
SW#show ip interface brief Shows an overview of all interfaces, their physical status, protocol status and IP address.


Leave a Reply

Your email address will not be published.