2013年9月23日星期一

How to use Cisco ethernet switch connecte to the MAC

Cisco ethernet switch manufacturers according cisco aironet 2600 price to market demand, launched the three layer and four layer switch, but in any case, its core function is still the two layer Ethernet data packet, it will greatly increase the processing speed switch.
The switch is an MAC address recognition based on network equipment, can complete the package packet forwarding. The switch can "learn" MAC address, and it is stored in theinternal address table, a switching path temporary through between the data frame of theoriginator and target recipient, the data frame directly to the destination address from the source address.
1 The switch according to the received data frame mapping the source MAC address in theaddress with a switch port, and writes them to the MAC table.
2 The switch to the data frame in the destination MAC address with the established MACaddress table to compare, to decide which port forwarding.
3 If the data frame in the destination MAC address is not in the MAC address table, to all port forwarding. A process called flooding (flood).
4 Broadcast frames and multicast frames to all port forwarding.
Ethernet switch understand each port is connected to the MAC address of the device, and the address and the corresponding port mapping up and stored in the cache of the switchMAC address table. Forward / filter: destination address when a data frame in the MACaddress table in the mapping, it is forwarded to nodes connected to the port instead of all ports (such as the data frame for broadcast / multicast frame is forwarded to all ports).
Eliminate the loop: when the switch includes a redundant circuit, Ethernet switches byspanning tree protocol to avoid circuit produce, while also allowing the backup path.
1 Each port of switches the connected network is a separate collision domains.
2 Switches the connected device is still in the same broadcast domain, that is to say, the switch does not isolate broadcast (the only exception is in an VLAN environment).
3 Switches based on the frame header information is forwarded, so that the switch is a network device at the data link layer (here refers only to the switch layer two switchtraditional).

Working principle of the switch is, when a port receives a data frame, first check to the data frame's destination MAC address in the MAC address table (CAM) corresponding to the port,if the destination port and the source port is not the same port, the frame forwarding from thedestination port, port and the corresponding relation between the update the source addresstables in the source MAC MAC at the same time; if the destination port and the ws-c2960-48pst-l source port,then discards the frame.

没有评论:

发表评论