Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Network equipment configuration and management-debug Cisco Catalyst switch

Shulou Source: shulou.com Published: 2022-06-01 05:10:07 10月04日 Update

Theoretical study

Question 1: how does the switch work?

By learning the MAC address of the computer associated with each interface, the data communication of each computer is realized, which is similar to the routing table of the router, and the switch is realized through the mapping table of MAC-Port.

Question 2: what is the difference between layer 2 switch, layer 3 switch and router?

Layer 2 switch: for switching only, LAN and WAN switching

Layer 3 switch: also known as routing switch, with dual functions of routing and switching, only for LAN, is an Ethernet switch, through the division of VLAN logic interface to achieve the purpose of subnetting, support VLAN, VTP, line aggregation, STP and so on

Router: the router supports a variety of WAN access and is subnetted directly through physical interfaces. There are special technologies such as × × × and NAT. Each interface must be configured into different subnets, and the forwarding speed is slow.

Problem 3:Catalyst switch characteristics?

Low-end series products: divided into 1900 and 2900, 2900 increases the interface speed and improves the desktop access speed

Mid-range products: the switch can be easily set up and managed through the browser

High-end series products: form an architecture suitable for future development, provide operational consistency, improve the utilization of IT infrastructure, improve network uptime, and become the guarantee of building a high-bandwidth and high-reliability network.

Job task description

A company has purchased a Cisco Catalyst 2950 switch to set up a small local area network to achieve the basic communication functions of the company's internal network. Please use HyperTerminal and telnet to debug the switch.

Task implementation

Design the network topology according to the basic task requirements (paste the topology diagram of PT)

Basic configuration of the switch

(1) configure the management IP address and telnet login information of the switch

Switch > en

Switch#config

Configuring from terminal, memory, or network [terminal]?

Enter configuration commands, one per line. End with CNTL/Z.

Switch (config) # in

Switch (config) # interface vlan 1

Switch (config-if) # ip add

Switch (config-if) # ip address 192.168.1.1 255.255.255.0

Switch (config-if) # no sh

% LINK-5-CHANGED: Interface Vlan1, changed state to up

% LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up

Switch (config-if) # exi

Switch (config) # en

Switch (config) # enable pass

Switch (config) # enable password cisco

Switch (config) # line vty 0 4

Switch (config-line) # pass

Switch (config-line) # password cisco1

Switch (config-line) # login

Switch (config-line) # exi

Switch (config) # exi

Switch#

% SYS-5-CONFIG_I: Configured from console by console

Switch#

(2) Log in to the switch through telnet for testing.

On the computer PC1, first ping the switch management address 192.168.1.1, which can be ping.

Enter the command telnet 192.168.1.1 under DOS to log in to the switch, enter the password cisco1 to enter the general user mode of the switch, and enter the cisco password to enter the privileged mode

Tags: Switch routing interface network router management configuration product task address local area local area network computer speed problem subnet work input layer 2 company Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Microsoft Redmi vpn Huawei