Community discussions

MikroTik App
 
Duduhandelman
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 89
Joined: Wed Jan 04, 2012 5:30 pm

Switch basics?

Tue Jun 05, 2012 5:47 pm

Hi All,
I'm using a few Mikrotik routers all is working great.
There are a few things that I'm not sure regarding the switch.

1. What can I do with switch rules? Copy to CPU or redirect to CPU
2. Master port it's a must? I can use the port even when it's a master port
3. Is there any way to sniff data from the switch?

Many Thanks
 
kirshteins
MikroTik Support
MikroTik Support
Posts: 592
Joined: Tue Dec 02, 2008 10:55 am

Re: Switch basics?

Thu Jun 07, 2012 10:43 am

1) Switch rules can do basic traffic filtering. Copy to CPU will send copy of the traffic to CPU while redirect to CPU will send actual traffic.
2) You switch ports by assign master-port to slave ports, so master-port is a must for such configuration.
3) There is a mirroring feature.
 
Duduhandelman
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 89
Joined: Wed Jan 04, 2012 5:30 pm

Re: Switch basics?

Thu Jun 07, 2012 10:53 am

Thank you.
What is the actually usage for copying or redirecting to the CPU?
Thanks again.
 
kirshteins
MikroTik Support
MikroTik Support
Posts: 592
Joined: Tue Dec 02, 2008 10:55 am

Re: Switch basics?

Thu Jun 07, 2012 11:00 am

There is some traffic that will go only through the switch chip and no CPU of the router. You can change that with these features.
 
Duduhandelman
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 89
Joined: Wed Jan 04, 2012 5:30 pm

Re: Switch basics?

Thu Jun 07, 2012 11:05 am

Thank you.
Can you please provide an example of a real usage?
Many thanks
 
User avatar
Hammy
Forum Veteran
Forum Veteran
Posts: 759
Joined: Fri May 28, 2004 5:53 pm
Location: DeKalb, IL
Contact:

Re: Switch basics?

Tue Jun 23, 2015 8:54 pm

I too would like to see an example of the "redirect-to-CPU" in use. I was hoping to use the switch chip to pass most data at wirespeed, but then use rules to pull some traffic out, process it and pass it on if the firewall rules permit.
-----
Mike Hammett

The Brothers WISP
 
User avatar
pukkita
Trainer
Trainer
Posts: 3037
Joined: Wed Dec 04, 2013 11:09 am
Location: Spain

Re: Switch basics?

Tue Jun 23, 2015 9:11 pm

+1 it looks that ACL filtering is done without copying to CPU? Do copy to CPU and then firewall cover the rest of cases?
Simplicity is the Ultimate Sophistication - Da Vinci
Getting the most out of this forum

Who is online

Users browsing this forum: No registered users and 41 guests