07-20-2006 10:48 AM - edited 03-03-2019 04:09 AM
Hi,
I would like to know how i can make a port from a switch to work like a hub port.
Regards
LR
07-24-2006 06:38 AM
Switch DOES forward unicasts to all it's ports, if the destination MAC-address unknown. It doesn't make indeed much difference in this case, just a nice thing to know.
And never underestimate the power of other peoples reflection. ;) There is a nice feature on Catalyst 6500, for example. If you're configuring vlan access-list you are able to do the following:
action {{drop [log]} | {forward [capture]} | {redirect {interface interface-number}} | {port-channel channel-id} {interface interface-number} | {port-channel channel-id} ...}
where:
forward
Forwards (switched by hardware) the packets to its destination.
capture
(Optional) Sets the capture bit for the forwarded packets so that ports with the capture function enabled also receive the packets.
I dunno, how to enable capture, but the next option looks perfectly suitable for our case too
redirect interface
Redirects packets to the specified interfaces; possible valid values are ethernet, fastethernet, gigabitethernet, tengigabitethernet, pos, atm, and ge-wan.
It's not proved here, but I don't see why shouldn't it work. Yes, it doesn't make a hub from a switch and overweighted, but is able to do the job, if someone desire it so bad. :)
07-24-2006 09:23 AM
I have always used SPAN when putting IDS on the line. Switches will not work like a hub but you can redirect all traffic from any number of ports to a single port, thus making it behave like a hub. SPAN is the only way you can do this...the only way that makes sense anyway. Otherwise, there are actual hardware differences that make a switch not be a hub.
07-23-2020 02:50 PM
make it a trunk port and see if that's what you looking for...
10-31-2019 07:41 AM
Hi
You erase all the configs from the access switch you want to use as an HUB and add Vlan interface and switch-port trunk so that they can communicate with the port you'll be using as up-link. K@yT
10-31-2019 08:49 AM
07-23-2020 02:44 PM
Hi, rodriguesl
Not sure if i understand your question...however Go to that Port and Configure it as a trunk port.
07-23-2020 03:25 PM
The command you need is
no mac-address-table learning vlan vlan-id
This will turn an individual VLAN into a Hub.
If your span is of a trunk which for IDS mine is then you need to create each VLAN on your switch you are connecting to the IDS and disable MAC address learning on all of the VLANs and then put the three ports in Trunking mode.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide