As we all know, the Internet has been perfectly integrated with our life, so we can't leave the switch now, without it we can't use many of the features on the Internet. As long as there is a switch, any two network nodes can exchange information. It is with the switch that we have such a rich Internet life.
A switch, as its name suggests, refers to a switch that provides shared services to any two network nodes that access the switch.
The exchange is based on the need to transmit information at both ends of the communication, and the method of using manual equipment to transmit the information to be transmitted to the corresponding route. This is the concept of the switch.
Today, switches are more oriented to application requirements, and the extensive use of broadband has greatly increased the demand for switches.
Firstly, you need to use the computer super terminal to establish a connection with the switch. There is a port on the network management switch. Connect to the switch through this port.
Secondly, follow the steps to open the HyperTerminal and click to establish the connection. Then a dialog box will pop up and enter your name. After clicking OK, a window will pop up. At this time, you choose to use com1 as the connection.
The third, After confirming, the switch will be started. At this time, the switch starts to load IOS. You can see the model and memory data of the switch.
1 Set the switch name:
Switch(config)#hostname CISCO
2 Setting the enable password
CISCO(config)#enable secret 123456
3 Setting the switch time
CISCO#clock set 10:00:00 22 May 2024
4 Setting vlan
CISCO(config)#vlan 10
CISCO(config-vlan)#name guanli (setting vlan name)
5 Set the ip address of the vlan and the gateway
CISCO(config)#int vlan 10
CISCO(config-if)#ip address 192.168.0.1 255.255.255.0
6 Configuring telnet remote login
CISCO(config)#line vty 0 4
CISCO(config-line)#pass
CISCO(config-line)#password 123456
CISCO(config-line)#login
CISCO(config-line)#exit
CISCO(config)#exit
CISCO#writ
7 Configuring the Switch Port Mode
Access:
CISCO(config)#interface gigabitEthernet 0/1
CISCO(config-if)#switchport mode access
Trunk:
CISCO(config)#interface gigabitEthernet 0/1
CISCO(config-if)#switchport mode trunk
8 Setting the STP Protocol
CISCO(config)#spanning-tree vlan 10
9 Save the switch configuration
CISCO#copy running-config startup-config
The following commands can be used to query the main information about the switch
1 switch#show version View all version information on your system
2 switch#show ip int b View the status of each interface
3 switch#show vlan int b View all vlan information for the switch
4 switch#show running-configure To view the configuration information currently functioning on the switch
5 switch#show int f0/0 To view information about a specified port
The show command cannot be used in configuration mode; if you want to use it, you must add do and a space before show.
Example: do show ip int b
Finally, if you want to learn some basic commands of the switch, first of all, we should know some basic concepts, such as the configuration interface of the switch is divided into two: the graphical user interface and the command line interface; and the basic modes of the switch are divided into three: the user mode, the privileged mode and the global mode. When we enter the switch for the first time, we are in user mode. In user mode, we can query the configuration of the switch and some simple test commands. For a switch that is not configured by default, we have to set some naming, password and remote connection for better maintenance.
The price of the switch is generally more expensive. The approximate price of the Cisco switches in the market is about $5000. Although the price is relatively expensive, its performance is relatively good, and the processing data is relatively fast. It is rarely comparable to the performance of Cisco switches on the market, and at a price comparable to them.
Linknewnet.com provide used and brand new Cisco switches with the affordable price, so if you have any needs for switches, please feel free to contact us.