How can I accelerate the port initialization process of a vswitch?

Source: Internet
Author: User
It may take 30 seconds or more to connect a computer to a vswitch before the computer can communicate over the network. If you are waiting for a long time, 30 seconds of waiting will make you feel very long. Let's take a look at how to accelerate the port initialization process of the switch. Measure the test taker's understanding about the port initialization process.

It may take 30 seconds or more to connect a computer to a vswitch before the computer can communicate over the network. If you are waiting for a long time, 30 seconds of waiting will make you feel very long. Let's take a look at how to accelerate the port initialization process of the switch. Measure the test taker's understanding about the port initialization process.

When a computer is connected to one VswitchIt may take 30 seconds or more for the computer to communicate over the network. If you are waiting for a long time, 30 seconds of waiting will make you feel very long. Let's take a look HowTalent Acceleration VswitchOf Port Initialization Process.

Understanding Vswitch Port InitializationProcess

When the device is connected to VswitchOf Port, Vswitch PortGenerally, it goes through four steps. Let's take a closer look.

Spanning Tree Protocol (STP) Initialization

STP is an IEEE 802.1d protocol that prevents loops in a LAN. Test this Vswitch PortIt is necessary. When STP is started, a loop is formed in the LAN. If a hub, VswitchOr a router, STP is out-of-band important. On the other hand, if a computer, printer, server, or laptop is connected, STPS Initialization ProcessNo.

In STP InitializationStage stage, PortIt will go through five stages of STP: blocking, listening, learning, forwarding, and failure. The entire process takes 15 seconds. Therefore, if you are sure what you want to connect to, you can terminate this process.

Test the Ethernet Channel Configuration

The next process is to test the Ethernet channel. Vswitch PortBind them together to provide more Ethernet connections. If one channel fails, the Ethernet channel usually provides redundancy. This process is used PortThe aggregation protocol (PAgP) takes about 15 seconds.

Trunk configuration test wired and wireless networks

Next, VswitchStart testing this PortTrunk or not Port( VswitchInterconnected Port). TRUNKING Vswitch PortTo exchange data between multiple VLANs. For Trunk PortOf course, you can disable it and save 1 or 2 seconds.

Vswitch PortAdaptive speed and full duplex

Finally, Vswitch PortThe entry speed and full-duplex automatic handshake. For example, Vswitch PortSupports 1000 Mb (1 Gb) Full Duplex speed, but the client only supports Mb full duplex. VswitchThe maximum rate at which the customer can automatically negotiate with each other.

You can Vswitch InitializationThis process is hard coded to save time. However, this is not always a good choice, because it may not know how fast the client supports. This adaptive time is not long, so consider carefully if you want Vswitch PortWhether the time required for hard coding is worthwhile.

Now we have reviewed Vswitch Port InitializationIn different stages, let's see how much time can be saved.

Perform the following steps: VswitchSave more than 30 seconds Port InitializationTime:

Set Vswitch PortSet to Access mode. This can cancel Trunk negotiation and block PortEnter the Ethernet channel for negotiation. This can be InitializationThe process is reduced by 15 seconds.

Configure PortFast. This can block PortStart STP negotiation and save another 15 seconds.



The following is an example: Switch(config)# int fa0/21Switch(config-if)# switchport mode accessSwitch(config-if)# spanning-tree portfast%Warning: Only enable PortFast on ports connected to a single host.Connecting hubs, concentrators, switches, bridges, etc. to thisinterface when you've PortFast can cause temporary bridging loops.Use with CAUTION.%This has configured PortFast on FastEthernet0/21 but will onlyhave an effect when the interface is in a non-trunking mode.Switch(config-if)# no shutdownSwitch(config-if)#

You can also PortFor example: Switch(config)# int range fastEthernet 0/1 - 24Switch(config-if-range)# switchport mode accessSwitch(config-if-range)# spanning-tree portfast

If needed, you can also set it manually. Vswitch PortSpeed, saving a little time. The following is an example. Switch(config-if)# speed 100Switch(config-if)# duplex full

Disable STP Initialization, Trunk negotiation. The Ethernet channel negotiation can be Initialization ProcessSaves 30 seconds. In addition, you can use the Range Command of the interface to set VswitchAll Port.

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.