How To

Some Basic Networking Commands for beginners in Networking Profession part-2

Spread the love

Here some other basic command which is used in the networking field and another part of the article

Some Basic Networking Commands For Beginners In Networking Profession

If you want to know and read our full article please click on the link




SW#show interface vlan1 Show detailed information of the specified interface, status, protocol, duplex, speed, encapsulation, last 5 min traffic.
SW#show interfaces description Show the description of all the interfaces
SW#show interfaces status show the status of all the interfaces like speed, duplex, trunk or access VLAN, connection
SW#show crypto key mypubkey rsa Show the public encryption key which used for SSH.
SW#show dhcp lease Show Information about the leased IP Address
SW(config)#ip domain-name Configure DNS domain name
SW(config)#username admin password abc123 Configure a username and password
SW(config)#crypto key generate rsa
How many bits in the modulus
[512]: 1024
Generate encryption Key
SW(config)#ip ssh version 2 Define SSH version to use
SW(config)#line vty 0 4
SW(config-line)#login local
SW(config-line)#transport input telnet ssh
Enable vty lines to use SSH
SW(config-if)#switchport mode access Make the switch interface as access port
SW(config-if)#switchport port-seciirity Enable port security on the interface
SW(config-if)#switchport port-seciirity maximum 1 specify the maximum number of allowed MAC Address
SW(config-if)#switchport port-security violation shutdown Define the action to take when violation occurs
SW(config-if)#switchport port-security mac-address Specify the allowed MAC addresses
SW#show mac-address-table Show the entries of the mac address table
SW#show port security Overview of port security of all interfaces
SW#show port security interface fa0/5 shows detailed information about port security on the specified interface

Leave a Reply

Your email address will not be published.