Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of Cisco products and hardware and Cisco device Management

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

In this issue, the editor will bring you an example analysis of Cisco products and hardware and Cisco device management. The article is rich in content and analyzed and described from a professional point of view. I hope you can get something after reading this article.

Cisco products and hardware, Cisco device management

I. Cisco products and hardware

1. Cisco product system

(1) Cisco routing product system

Branch company level

Generally refers to the network management router of small and medium-sized companies or branch companies.

Cisco 3900 and Cisco 3800

Cisco 2900 and Cisco 2800

WAN aggregation level

Generally refers to the Internet interface equipment of larger companies.

The upper layer interconnection equipment of each branch office

Cisco 7200, Cisco 7300, Cisco 7500 Seri

Service provider level

Large Group companies build Metro Ethernet

Provincial ISP core equipment, metropolitan area network exit of big cities

Cisco 7600, Cisco 12000 Seri

(2) Cisco switching product system

Core layer equipment

Cisco 6500, Cisco 6800 Series switch

Aggregation layer equipment

Cisco 4500 Series switch

Aggregation layer devices at the relatively low end of Cisco 3560, Cisco 3580 Series switches

Access layer equipment

Cisco 2960 switch

2. Cisco device hardware

(1) Internal components of the router

Processor (CPU)

Storage device

-RAM: (256m-- 512m) Random access memory features: readable, writable, easy to lose

-ROM: (system important boot files) read-only memory features: readable, non-writable, not easy to lose

-Flash: flash memory (save operating system) features: readable, writable, not easy to lose

-NVRAM: non-volatile random access memory storage configuration to delete this internal configuration is to restore factory settings

(2) the startup process of Cisco router

3. Cisco configuration command

Cisco common commands

Enter privileged mode Switch > enable

Enter global configuration mode Switch > # configure terminal

Enter the Switch (config) # interface fastEthernet 0Unique 1 interface of f0apax 1.

Return to the previous mode Exit

Return to privileged mode Ctrl + z or end command

Resolve error Ctrl + shift + 6

Clear the configuration Switch#Erase startup-config

Or Switch#Erase nvram (for physical machines only)

Restart the device Switch#Reload

(1) Cisco basic command

① to view the current running configuration Switch#show running-config

② view saved configuration information Switch#show statup-config other modes preceded by do

③ saves the current profile Switch#copy running-config startup-config

Either switch#write or wr copy the file to

④ deletes the saved configuration Switch#Erase startup-config

Or Switch#Erase nvram (for physical machines only)

(2) comparison between Huawei and cisco commands

Huawei and Cisco command comparison table

Huawei Cisco function

System-view enable enters privileged mode

Display show display / View

Display current Show running-config displays the current running configuration

Display version Show version display version

Undo no cancel (delete)

Quit Exit exit

Return End returns to system view

Reboot reload restart the device

Rip Router rip enables RIP routing protocol

Ospf Router ospf enables ospf routing protocol

Sysname Hostname changes the hostname

Save Write saves configuration

Acl Access-list access Control list

Dhcp Ip dhcp Settings DHCP Server

Display ip routing-table Show ip route displays the routing table

Port link-type trunk/ access Switchport mode trunk/ access configuration port operation mode

Port link-type access

Port default vlan vlan id Switchport access vlan vlan id adds ports to vlan

Undo shutdown No shutdown Activation Port

Display interface Show interface display interface

Display vlan Show vlan brief displays vlan information

II. Cisco equipment management

1. Password setting and recovery

(1) password settings for routers and switches

① configure console port password

Switch > enable

Switch > # configure terminal

Switch (config) # line console 0

Switch (config-line) # password + password

Switch (config-line) # logoin

② deletes the console password

Switch (config-line) # no password

③ configure privileged mode password

Configure the plaintext privileged mode password Switch (config) # enable password + password

Configure ciphertext privileged mode password Switch (config) # enable secret + password

Delete the plaintext password Switch (config) # no enable

Delete ciphertext password Switch (config) # no enable secret

(2) Router password recovery

Press Ctrl + Breack to interrupt IOS loading during startup

Enter ROM Monitor mode and change the value of the configuration register from 0x2102 to 0x2142

Rommon1 > confireg 0x2142

Rommon2 > rest

After normal startup, overwrite running-config with startup-config

Change the password and save the value of the configuration register

Router (config) # enable secreat + New password

Router (config) # config-register 0x2102

(3) password recovery of switch

Unplug the switch, plug it in and hold down the mode key

The "switch:" prompt appears to release the button and initialize the Flash

Switch:flash_init

Change the config.text file to config.old, and start the switch when you are finished

Switch:rename flash:config.text flash:config.old

Switch:boot

Change the name of the configuration file back

Switch:rename flash:config.old flash:config.text

Manually load the configuration file, and then enter configuration mode to change the password

Switch#copy flash:config.text system:running-config

(4) remote management of routers and switches

① configure ip address, use ping command to test

The switch configures ip in vlan1 and turns it on using no shutdown

Switch#config terminal

Switch (config) # interface vlan 1

Switch (config-if) # ip address + ip address + Subnet Mask

Switch (config-if) # no shutdown

② configure the remote function of the switch

Switch (config) # line vty 0 3

Switch (config-line) # password + password

Switch (config-line) # login

③ configuration privileged password is the same as above

④ uses telnet testing in PC

Telnet + IP address

2. Device IOS operation

(1) IOS of routers and switches

Introduction to ① IOS

Internetwork operating system Internet operating system

Functions implemented by IOS

Configure the address, protocol and other parameters of the network device

Secure the network by controlling access

Set a series of access policies

Monitor and debug the equipment

(2) set the IOS of the Cisco router

Upgrade the IOS of a Cisco router

① upgrades IOS of Cisco router through TFTP server

Configure the TFTP service

Upgrade router IOS Router#copy TFTP flash

Router#copy tftp flash

Backup router IOS Router#copy flash TFTP

Router#copy flash: tftp:

② upgrades IOS of Cisco router through FTP server

Configure the FTP service

Configure login FTP username and password on the router

Router (config) # ip ftp usename + login

Router (config) # ip ftp password + password

Upgrade the IOS Router#copy TFTP flash of the router

Router#copy ftp: flash:

Backup router IOS Router#copy flash FTP

Router#copy flash: ftp:

(3) IOS recovery

-recover IOS files when they are damaged or missing

Connect the switch and host using the consolidate line # failed to load IOS, initialize Flash Switch:flash_init-transfer IOS file Switch:copy Xmodem:flash:c2960-lanbase-mz.122-35.se5.bin over Xmodem protocol-set Xmodem option for HyperTerminal Hyperterminal menu "transfer"-start the switch Switch:boot above is the example of Cisco products and hardware and Cisco device management shared by Xiaobian. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report