Six basic knowledge of core switches

Good afternoon, my network worker friend

Let’s talk about core switches today.

First of all, you need to clarify a concept. Access layer switches, aggregation layer switches, and core layer switches are not types or attributes of switches, but are divided by the tasks they perform.

In terms of network topology, a computer network system structure needs to adopt a three-layer network architecture: access layer, aggregation layer, and core layer.

The core layer is the hub center of the network, and its importance is outstanding.

Therefore, the core layer switch should adopt Gigabit or even 10 Gigabit or more manageable switches with higher bandwidth, higher reliability, higher performance and throughput.

Today, let’s talk about the main parameters of core switch selection , 6 basic knowledge points, and see how much you know.

Today's article reading benefits: "Cisco switch configuration commands.pdf"

I carefully collected 102 Cisco switch configuration commands for you, private message me and send the code " Cisco command " to get this limited and high-quality resource.

01 Backplane Bandwidth

Backplane bandwidth is also called switching capacity.

It is the maximum amount of data that can be handled between the switch interface processor or interface card and the data bus, just like the sum of the lanes owned by the overpass.

Since the communication between all ports needs to be completed through the backplane, the bandwidth provided by the backplane becomes the bottleneck of concurrent communication between ports.

The greater the bandwidth, the greater the available bandwidth provided to each port, and the greater the data exchange speed;

The smaller the bandwidth, the smaller the available bandwidth provided to each port, and the slower the data exchange speed.

That is to say, the backplane bandwidth determines the data processing capability of the switch. The higher the backplane bandwidth, the stronger the data processing capability.

If you want to realize the full-duplex non-blocking transmission of the network, you must meet the minimum backplane bandwidth requirements.

Calculation formula: backplane bandwidth = number of ports × port rate × 2

Tip: For a Layer 3 switch, it is a qualified switch only if the forwarding rate and backplane bandwidth meet the minimum requirements, both of which are indispensable.

For example, if a switch has 24 ports, the backplane bandwidth=24*1000*2/1000=48Gbps.

02 Packet forwarding rate of layer 2 and layer 3

The data in the network is composed of data packets, and the processing of each data packet consumes resources.

Forwarding rate (also called throughput) refers to the number of data packets passing per unit time without packet loss.

Throughput is like the traffic flow of an overpass, and it is the most important parameter of a Layer 3 switch, which marks the specific performance of the switch.

If the throughput is too small, it will become a network bottleneck and have a negative impact on the transmission efficiency of the entire network.

The switch should be able to achieve wire-speed switching, that is, the switching rate reaches the data transmission speed on the transmission line, so as to eliminate the switching bottleneck to the greatest extent.

For a Layer 3 core switch, if it is desired to achieve non-blocking network transmission, the rate can be ≤ the nominal Layer 2 packet forwarding rate and the rate can be ≤ the nominal Layer 3 packet forwarding rate, then the switch is doing the second and third layers. Line speed can be achieved when layer switching.

Then the formula is as follows:

Throughput (Mpps) = Number of 10-Gigabit ports × 14.88 Mpps + Number of Gigabit ports × 1.488 Mpps + Number of 100-Mbit ports × 0.1488 Mpps.
If the calculated throughput is less than the throughput of your switch, it can achieve wire speed.

Here, if there are 10-megabit ports and 100-megabit ports, they will be counted up, and if they are not, they can be ignored.

for example.

For a switch with 24 Gigabit ports, its fully configured throughput should reach 24×1.488 Mpps=35.71 Mpps to ensure non-blocking packet switching when all ports work at wire speed.

Similarly, if a switch can provide up to 176 Gigabit ports, then its throughput should be at least 261.8 Mpps (176×1.488 Mpps=261.8 Mpps), which is the real non-blocking structure design.

So, how to get 1.488Mpps?

The measurement standard of packet forwarding line speed is based on the number of 64byte data packets (minimum packets) sent per unit time as the calculation benchmark.

For Gigabit Ethernet, the calculation method is as follows:

1,000,000,000bps/8bit/(64+8+12)byte=1,488,095pps

Note: When the Ethernet frame is 64bytes, the fixed overhead of 8byte frame header and 12byte frame gap needs to be considered.

Therefore, when a line-speed Gigabit Ethernet port forwards 64byte packets, the packet forwarding rate is 1.488Mpps.

The port forwarding rate of Fast Ethernet is exactly one-tenth of that of Gigabit Ethernet, which is 148.8kpps.

  • For 10 Gigabit Ethernet, the packet forwarding rate of a wire-speed port is 14.88Mpps.
  • For Gigabit Ethernet, the packet forwarding rate of a wire-speed port is 1.488Mpps.
  • For Fast Ethernet, the packet forwarding rate of a wire-speed port is 0.1488Mpps.
    We can use this data.

Therefore, if the above three conditions (backplane bandwidth, packet forwarding rate) can be met, then we say that this core switch is truly linear and non-blocking.

Generally, a switch that satisfies both requirements is a qualified switch.

A switch with a relatively large backplane and relatively small throughput, in addition to retaining the ability to upgrade and expand, has problems with software efficiency/special chip circuit design; the backplane is relatively small.

A switch with relatively large throughput has relatively high overall performance.

However, the manufacturer’s propaganda can be trusted for the backplane bandwidth, but the manufacturer’s propaganda cannot be trusted for the throughput, because the latter is a design value, and the test is very difficult and of little significance.

03 Scalability

Scalability should include two aspects:

01  Number of slots

The slots are used to install various functional modules and interface modules.

Since the number of ports provided by each interface module is certain, the number of slots fundamentally determines the number of ports that the switch can accommodate.

In addition, all functional modules (such as super engine module, IP voice module, extended service module, network monitoring module, security service module, etc.) need to occupy a slot, so the number of slots fundamentally determines the scalability of the switch. sex.

02Module  type

Undoubtedly, the more supported module types (such as LAN interface module, WAN interface module, ATM interface module, extended function module, etc.), the stronger the scalability of the switch.

Just take the LAN interface module as an example, it should include RJ-45 module, GBIC module, SFP module, 10Gbps module, etc.

To adapt to the complex environment and network application requirements in large and medium-sized networks.

04 Layer 4 switching

Layer 4 switching is used to enable fast access to network services.

In Layer 4 switching, the basis for determining transmission is not only the MAC address (Layer 2 bridge) or source/destination address (Layer 3 routing), but also the TCP/UDP (Layer 4) application port number, which is designed For high-speed Intranet applications.

In addition to the load balancing function, the four-layer switching also supports the transmission flow control function based on the application type and user ID.

In addition, a Layer 4 switch sits directly in front of the server, with knowledge of application session content and user privileges, making it an ideal platform for preventing unauthorized server access.

05 Module redundancy

Redundancy capability is the guarantee for the safe operation of the network.

Any manufacturer cannot guarantee that its products will not fail during operation.

The ability to switch quickly when a failure occurs depends on the redundancy capability of the equipment.

For core switches, important components should have redundancy capabilities, such as management module redundancy and power supply redundancy, so as to ensure the stable operation of the network to the greatest extent.

06 Routing redundancy

Routing redundancy utilizes HSRP and VRRP protocols to ensure load sharing and hot backup of core equipment.

When a switch in the core switch and dual-aggregation switches fails, the Layer 3 routing device and virtual gateway can quickly switch over to realize redundant backup of dual lines and ensure the stability of the entire network.

Finishing: Lao Yang 丨 10-year senior network engineer, more network workers to improve dry goods, please pay attention to the official account: Network Engineer Club

Guess you like

Origin blog.csdn.net/SPOTO2021/article/details/132599483