Community discussions

MikroTik App
 
tysmakitla
just joined
Topic Author
Posts: 6
Joined: Wed Oct 02, 2013 1:28 pm

Port Mirroring on CRS125-24G-1S-RM

Tue Mar 25, 2014 12:50 pm

HI

I'm a bigginer and I have bought a CRS125-24G-1S-RM. I need to mirror ports on the Switch.
I have tried chacking and below is what I manage to do:
admin@OTEL Switch] /interface ethernet switch> print
name: switch1
type: QCA-8513L
bridge-type: service-vlan-bridge
drop-if-no-vlan-assignment-on-ports:
drop-if-invalid-or-src-port-not-member-of-vlan-on-ports:
invalid-vlan-lookup-mode: ivl
forward-invalid-vlan: yes
use-svid-in-one2one-vlan-lookup: no
use-cvid-in-one2one-vlan-lookup: yes
mac-level-isolation: no
vlan-level-isolation: no
ipv4-multicast-lookup-mode: dst-mac-and-vid-always
override-existing-when-ufdb-full: no
unicast-fdb-timeout: 5m
ingress-mirror0-enable: yes
ingress-mirror0-port: ether2
ingress-mirror0-format: modified
ingress-mirror1-enable: yes
ingress-mirror1-port: Sentinel - ether3
ingress-mirror1-format: modified
ingress-mirror-ratio: 1/1
egress-mirror0-enable: yes
egress-mirror0-port: ether2
egress-mirror0-format: original
egress-mirror1-enable: yes
egress-mirror0-port: Sentinel - ether3
egress-mirror1-format: modified
egress-mirror-ratio: 1/1
egress-sampling-ratio: 1/1
fdb-uses: mirror0
vlan-uses: mirror0
mirror-egress-if-ingress-mirrored: yes
mirror-tx-on-mirror-port: yes
mirrored-packet-qos-priority: 0
mirrored-packet-drop-precedence: green
bypass-vlan-ingress-filter-for:
bypass-l2-security-check-filter-for:

Please help as I cannot seem to get it working. I need to mirror Ether2 with Ether3 :?


Regards
Thyson Makitla
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12008
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Port Mirroring on CRS125-24G-1S-RM

Tue Mar 25, 2014 10:25 pm

I need to mirror Ether2 with Ether3
I do not know what you already have try to do and configured, If you have trouble, first reset all configuration (you lose all).

Remember to add Karma, if my help have solved your problem,

Thanks.
Last edited by rextended on Mon Mar 20, 2023 6:21 pm, edited 1 time in total.
 
User avatar
docmarius
Forum Guru
Forum Guru
Posts: 1222
Joined: Sat Nov 06, 2010 12:04 pm
Location: Timisoara, Romania
Contact:

Re: Port Mirroring on CRS125-24G-1S-RM

Wed Mar 26, 2014 12:20 am

The CRS switch has a totally different command set. It does not accept that command.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12008
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Port Mirroring on CRS125-24G-1S-RM

Wed Mar 26, 2014 12:34 am

The CRS switch has a totally different command set. It does not accept that command.

??? CRS! not CCR! :oops:

What RouterOS version are you using?
I have misunderstand the model...... sorry.... :(
 
User avatar
docmarius
Forum Guru
Forum Guru
Posts: 1222
Joined: Sat Nov 06, 2010 12:04 pm
Location: Timisoara, Romania
Contact:

Re: Port Mirroring on CRS125-24G-1S-RM

Wed Mar 26, 2014 8:17 pm

My CRS came with 6.5 and I used up to 6.11 (now down to 6.10 - i try to reproduce a switch bug).
But the switch commands didn't change to much between these versions.

There is a special section in the wiki dedicated to the CRS switch: http://wiki.mikrotik.com/wiki/Manual:CRS_features

tysmakitla's config seems logical, but maybe the logic of the switch works differently :lol:
 
tysmakitla
just joined
Topic Author
Posts: 6
Joined: Wed Oct 02, 2013 1:28 pm

Re: Port Mirroring on CRS125-24G-1S-RM

Wed Apr 23, 2014 9:31 am

I have upgraded to version 6.12 and I still cannot get mirroring to work.

Anyone has idea or has managed to get it working? :(
 
ksharabi
just joined
Posts: 6
Joined: Mon Jun 16, 2014 3:48 pm

Re: Port Mirroring on CRS125-24G-1S-RM

Wed Jul 09, 2014 5:18 pm

someone knows what is the commands for the port mirroring ?


Your support is highly appreciated!
 
becs
MikroTik Support
MikroTik Support
Posts: 499
Joined: Thu Jul 07, 2011 8:26 am

Re: Port Mirroring on CRS125-24G-1S-RM

Thu Jul 10, 2014 9:24 am

someone knows what is the commands for the port mirroring ?


Your support is highly appreciated!
http://wiki.mikrotik.com/wiki/Manual:CR ... _Mirroring
 
wolfeyes
Frequent Visitor
Frequent Visitor
Posts: 92
Joined: Sun Apr 17, 2011 11:37 am

Re: Port Mirroring on CRS125-24G-1S-RM

Wed Sep 23, 2015 11:28 am

I applied the cmd as specified in the wiki for the master port (ether1), but still cannot see any traffic using torch for the slave ports. Can someone help? tnx
 
becs
MikroTik Support
MikroTik Support
Posts: 499
Joined: Thu Jul 07, 2011 8:26 am

Re: Port Mirroring on CRS125-24G-1S-RM

Wed Sep 23, 2015 11:36 am

Run Torch tool on interface which is the master-port but in CRS Switch menu configure "switch1-cpu" as mirroring analyzer port.
 
wolfeyes
Frequent Visitor
Frequent Visitor
Posts: 92
Joined: Sun Apr 17, 2011 11:37 am

Re: Port Mirroring on CRS125-24G-1S-RM

Wed Sep 23, 2015 12:00 pm

Tnx for the quick response. This is actually the default configuration which indeed works for torch capturing all routed communication from the internal network. But, do I have the chance to also capture switch level communications between hosts residing on the same subnet? Can this be supported by torch or I need to use wireshark from an individual host? Torch would be ideal for my case. It is critical because I need to capture some internal tcp connections.
 
becs
MikroTik Support
MikroTik Support
Posts: 499
Joined: Thu Jul 07, 2011 8:26 am

Re: Port Mirroring on CRS125-24G-1S-RM

Wed Sep 23, 2015 2:42 pm

You can configure ingress/egress port mirroring from any physical CRS switch port to the "switch1-cpu" port and you will see that traffic when running Torch on the master-port.
/interface ethernet switch
set ingress-mirror0=switch1-cpu egress-mirror0=switch1-cpu

/interface ethernet switch port
set ether6 egress-mirror-to=mirror0 ingress-mirror-to=mirror0
Note that a lot of mirrored traffic to the CPU will increase its usage and may cause connectivity issues.
 
wolfeyes
Frequent Visitor
Frequent Visitor
Posts: 92
Joined: Sun Apr 17, 2011 11:37 am

Re: Port Mirroring on CRS125-24G-1S-RM

Wed Sep 23, 2015 3:45 pm

Worked just fine! Many thanks!

Who is online

Users browsing this forum: alixviral, Google [Bot], mszru, sas2k, vetal12311 and 210 guests