Welcome to www.linknewnet.com.

New Promotion

-50%
Cisco Switch Catalyst 9500 Series C9500-40X-A
$4000 $2000
-29%
Cisco Catalyst 9300 Series Switch C9300-24T-A
$1750 $1250
-31%
Cisco MDS 9200 Series Switch DS-C9250I-K9
$1600 $1100
-38%
Cisco Catalyst 2960 Series Switch WS-C2960L-48PQ-LL
$800 $500
-42%
Cisco ASR 9001 Series Power Supply A9K-750W-AC
$600 $350

Common commands for Cisco devices can be bookmarked for backup!
Apr 12 , 2024 1547

As network technology continues to evolve, the management and maintenance of network devices is becoming increasingly important. As a network administrator or technical support personnel, proficiency in the common commands of Cisco devices is essential. The following are the common commands of Cisco devices organized by NetDu communication engineers for everyone, and friends who need them are recommended to collect them for spare time.

Cisco common commands.png

Common commands

Router(config)#hostname Setting the hostname

Router(config)#enable secret 123456 Setting the Privileged Encryption Password

Router(config)#enable password 123456 Setting Privileged Non-Encrypted Passwords

Router#show users View users on this machine

Router# reload Reboot the router

Router# show ip interface Viewing IP configuration information for a port

Router# show hosts View the host table

Router(config)#ip domain-lookup Turn on dynamic domain name resolution

Router#show ip route View the Routing Table

Router#show ip nat translation View NAT Conversions

Router#show startup-config Display saved configuration information

Router#erase nvram Delete Saved Configuration Information

Router(config-if)#no switchport Enable routing ports with configurable ip addresses

 

Static Route, Default Route

Router(config)# ip route Destination Network Address Segment 255.255.255.0 Next Hop Address Static Route

Router(config)# ip route 0.0.0.0 0.0.0.0 Next Hop Address Default Route

telenet Remote login settings

Router(config)#line vty 0 4

Router(config-line)#password secret code

Router(config-line)#login

Router(config)#access-list acl table number permit ip address Creates acl rules that allow access to ip

Router(config)#line vty 0 4

Router(config-line)#access-class acl table number in Accessible only to ip allowed by this acl rule

 

Configuring DHCP Services

Router (cofig)# ip dhcp pool Name Defines the address pool

Router(dhcp-config)# network 192.168.1.0 255.255.255.0 Dynamic allocation of IP address segments

Router(dhcp-config)# default-router 192.168.1.254 Set the Gateway Address

Router(dhcp-config)# dns-server 192.168.1.253 Configure DNS addresses for clients

Router(dhcp-config)# lease 3 Set the address rental period, assuming 3 days

Router(dhcp-config)# ip dhcp excluded-address 192.168.1.1 192.168.1.20 Reserve a range of statically assigned IP addresses


The above commands are just the basic operations in Cisco device management, and there are many other advanced commands and features that can be used for more complex network configuration and troubleshooting. NetDirect Communications engineers recommend that administrators study and practice in depth in order to improve their proficiency in network device management. At the same time, maintaining regular updates of device firmware and keys, and strengthening network security awareness are important steps to ensure network stability and security. 

Related Blogs

WhatsApp
Quote
Contact
Top