K
K
Konstantin Bulanov2014-03-25 17:22:55
Cisco
Konstantin Bulanov, 2014-03-25 17:22:55

Cisco 2960S, hard port-to-port routing - how to do it?

Good afternoon! There was such a problem: there is a Cisco 2960s, a number of devices are connected to it that generate traffic in the form of Ethernet packets, addressing is based on MAC, there is no ip there at all.
The task consists of two parts:
The first is to ensure that the package is delivered to only one device. Know which port it is connected to. My knowledge in the field of networks is not enough to understand: will the switch send such a packet to all physical ports, or will it be limited to exactly the port on which the recipient lives?
The second - here I do not understand at all which side to approach. It is necessary to make sure that the packet is sent not to one, but to several ports - the recipients themselves will figure out what to do with it, but here's how to make the switch throw it on certain ports (again, not on all, but, say, on the selected four port)?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
throughtheether, 2014-03-25
@throughtheether

It is necessary to make sure that the packet is sent not to one, but to several ports

Another possible way is to use RSPAN. About like here .
RSPAN, if I understand correctly, is supported on the 2960S.

T
throughtheether, 2014-03-25
@throughtheether

The first is to ensure that the package is delivered to only one device.

If your hardware implements Ethernet properly (do not send, for example, too long frames, do not use FF:FF:FF:FF:FF as the source address in the frame), then each port will be assigned the MAC address of the device ( X) attached to it. Frames that have X as their destination address will only switch to that port. Initially, while the table of such correspondences has not yet been compiled, the frames will be switched to all ports (interfaces). As soon as the device responds with a frame with its MAC address as the source address, an entry in the table will appear and frames destined for this device will be switched to this port only. If this is unacceptable, and you need to nail everything from the very beginning, the command will help :
On some switches, you can use the command
where VVV is the vlan number to make it so that all frames incoming for interfaces in a given vlan will be switched (copied) to all other interfaces in this vlan. This is exactly what you need, as I understand it. But I don't remember if the 2960S supports this command. Read more here .

J
Jan, 2014-03-25
@Buchachalo

@throughtheether points in the right direction. There is also this option

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question