Community discussions

MikroTik App
 
MrdotApple
newbie
Topic Author
Posts: 43
Joined: Tue Oct 25, 2016 7:44 pm

Cisco VLAN to Mikrotik

Sat Apr 27, 2024 12:18 pm

Hi!
I should replace one old cisco switch. I bought a CRS326-24G-2S+RM.
I can make just half hour down on the site, so the configuration should be good.

I have exported the cisco config:
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface Port-channel1
 switchport mode trunk
!
interface Port-channel2
 switchport mode trunk
!
interface Port-channel5
 switchport mode trunk
!
interface GigabitEthernet0/1
 spanning-tree portfast
!
interface GigabitEthernet0/2
 spanning-tree portfast
!
interface GigabitEthernet0/3
 switchport mode access
 spanning-tree portfast
!
interface GigabitEthernet0/4 
 switchport access vlan 54
 switchport mode access
 spanning-tree portfast
!
interface GigabitEthernet0/5
 spanning-tree portfast
!
interface GigabitEthernet0/6
 spanning-tree portfast
!
....
!
interface GigabitEthernet0/28 
 switchport access vlan 57
 switchport mode access
 spanning-tree portfast
!
interface GigabitEthernet0/29
 spanning-tree portfast
!
interface GigabitEthernet0/30 
 switchport access vlan 55
 switchport mode access
 spanning-tree portfast
!
interface GigabitEthernet0/31
 switchport mode trunk
 spanning-tree portfast
!
interface GigabitEthernet0/32 
 switchport access vlan 56
 switchport mode access
 spanning-tree portfast
!
interface GigabitEthernet0/39
 spanning-tree portfast
!
....
!
interface GigabitEthernet0/43
 switchport mode trunk
 channel-group 2 mode on
 spanning-tree portfast
!
interface GigabitEthernet0/44
 switchport mode trunk
 channel-group 2 mode on
 spanning-tree portfast
!
interface GigabitEthernet0/45
 switchport mode trunk
 channel-group 1 mode on
 spanning-tree portfast
!
interface GigabitEthernet0/46
 switchport mode trunk
 channel-group 1 mode on
 spanning-tree portfast
!
interface GigabitEthernet0/47
 switchport mode trunk
 channel-group 5 mode on
 spanning-tree portfast
!
interface GigabitEthernet0/48
 switchport mode trunk
 channel-group 5 mode on
 spanning-tree portfast
!
interface Vlan1
 ip address 192.168.30.48 255.255.255.0
 no ip route-cache
!
ip default-gateway 192.168.30.254
ip http server
What I already created:
(Recreating because the whole was wrong...)



Is this enough for make it work?
(I cant try it too many times, because of the timeframe... :/)
Thank you!
Last edited by MrdotApple on Sat Apr 27, 2024 12:46 pm, edited 4 times in total.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11736
Joined: Thu Mar 03, 2016 10:23 pm

Re: Cisco VLAN to Mikrotik

Sat Apr 27, 2024 12:32 pm

Is this enough for make it work?
All wrong. Have a (very good) look at this tutorial: viewtopic.php?t=143620

Your "ROSish" cludge doesn't seem to follow Cisco config (not closely at least), so I'm not trying to show correct config tor MT. If you won't be able to get it right after reading (and understanding) the tutorial linked, come back and explain (in plain English) your goals.

Who is online

Users browsing this forum: anav, hertzg and 10 guests