Basic resolution network switch installation Configuration

Source: Internet
Author: User

The switch carries data packets and completes transmission tasks. It is at the data link layer of the network, establishes data links between nodes, and provides data packets transmitted without errors through error control. After a vswitch is installed, the network administrator generally does not care about it. If a problem occurs, the network administrator only checks whether the light is shining. To learn more about the configurations of A vswitch, you must learn more about network transmission.

I. network system Introduction

The network system is simple and consists of vrouters, firewalls, and core floors ,.

The vro connects to the ISP and connects to the firewall and core switches. The devices are connected by Gigabit Optical fiber cables and VLAN is divided by floor. The vswitch uses the H3C 36 series.

Ii. physical connection

Configuring a vswitch is a local configuration and a remote configuration. The remote configuration requires an IP address, domain name, or device name. The new vswitch does not have these parameters, to connect to the Console port of the switch through the COM port of the computer, this is the most common and basic management configuration method that must be mastered by the network management.

Use a computer super terminal to create a connection name. The selected interface is COM3. The port has 9600 bits per second, 8 bits, no parity check, 1 bits stopped, and no data flow control, after confirming, press enter to display the "" prompt.

3. Software Configuration

The "36 series" of China H3C Network Management Switch demonstrates the configuration process. Switch prompt "". The angle brackets are the lowest-level execution mode. You can only execute basic commands, but cannot modify the configuration. To change the configuration, enter the angle brackets in the privileged mode.) enter the following command.

 
 
  1. sys  
  2. [H3C]  

Obtain the switch name for differentiation. For example, if the switch is used by the personnel department, use the following command to change the switch name to "renshi ".

 
 
  1. [H3C] sysname renshi  
  2. [renshi]  

1) Configure VLAN and port types

By default, all ports of the new vswitch belong to VLAN1, which cannot be created or deleted. Therefore, you need to configure the gigabit port G0/0/1 of the vswitch to TRUNK, to identify the 802.1q protocol, you must extract it from vlan1. otherwise, the system will generate "Error: Link-type trunk conflicts with default VLAN attribute on a port. "error message. Follow these steps.

 
 
  1. [Renshi] valn2 creates vlan2)
  2. [Renshi-vlan2] port GigabitEthernet 0/0/1 add g/0/0/1 to vlan2)
  3. [Renshi-vlan2] port Ethernet 0/0/1 to 0/0/48 add all E0/0/1-0/0/48 ports to vlan2)
  4. [Renshi-vlan2] qu exited)
  5. [Renshi] enter the G0/0/1 port)
  6. [Renshi-GigabitEthernet 0/0/1] undo port defaul valn deletes the vlan to which G0/0/1 belongs)
  7. [Renshi-GigabitEthernet 0/0/1] port link-type trunk: configure the port type as trunk)
  8. [Renshi-GigabitEthernet 0/0/1] port trunk allow-pass vlan all allows all VLANs to pass through this port)
  9. [Renshi-GigabitEthernet 0/0/1] dis this check whether the configuration is correct)
  10. [Renshi-GigabitEthernet 0/0/1] Quit qu)

We have configured all 48 m ports of the vswitch as valn2 to connect users. A gigabit port is configured as a TRUNK port to connect to the upper-level switch.

2) configure management addresses and static routes

The management address is used for remote login. Static Routing is used to complete the communication between the switch and the core. The command is as follows.

 
 
  1. [Renshi] interface vlanif1 starts a layer-3 Switch and enters the layer-3 interface configuration of the vlan)
  2. [Renshi-vlanif1] ip address192.168.254.11 255.255.255.255.0 set IP address and subnet mask)
  3. [Renshi-vlanif1] qu
  4. [Renshi] ip route-state 0.0.0.0 0.0.0.0 192.168.254.254 any address configured for static route access is forwarded to the core switch. User access will be forwarded to the core switch through the switch, then, the core switch performs the next hop.

3) configure remote logon and password

 
 
  1. [Renshi] user-interface vty 0 4 Enable telnet and allow simultaneous logon to five users)
  2. [Renshi-user-interface vty 0 4] user priviley level 1 sets the minimum telnet permission "1" for security purposes ")
  3. [Renshi-user-interface vty 0 4] set authentication password simple 111 to set the password to 111. simple is the plaintext password saved in the configuration file. If cipher is used, it is saved as the ciphertext)
  4. [Renshi-user-interface vty 0 4] qu
  5. [Renshi] super password level 3 simple 333 set level 3 password to "333 ")

The main basic configuration of the vswitch has been completed. Save the settings to avoid all the configuration loss after restart. The command is as follows.

 
 
  1. [Renshi] qu exits from privileged mode and enters user execution mode)
  2. Save

Iv. Conclusion

Through the configuration process, you can understand the working characteristics of the vswitch, but the devices of different brands may be different. After you understand the principle, you will get the same idea. With the advancement of information technology, network devices will become more and more intelligent, and the development will move toward multi-business and multi-layer development. management approaches human-oriented, forming a highly integrated platform. Meanwhile, the shares of domestic network devices will be greatly increased.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.