My core router: CCR1036-8G-2S+EM
Switch at POP: CRS226-24G-2S+RM
Connected the switch to the router using 20km SFP+ (10Gbps) modules. There’s a management VLAN on the sfpplus1 interface on the switch, which I was able to configure.
I need to trunk 3 VLANs through the switch’s sfpplus2 interface using an SFP module (1Gbps). I also need to trunk 6 VLANs through ether1 of the CRS and another 3 VLANs through ether2.
Can anyone PLEASE show me how to do it?
This is the script I used:
/interface vlan
add interface=sfp-sfpplus1 name=VLAN66 vlan-id=66
/ip address
add address=x.x.x.x/30 interface=VLAN66
/ip route
add dst-address=0.0.0.0/0 gateway=x.x.x.x
/interface ethernet switch egress-vlan-tag
add tagged-ports=sfp-sfpplus1,sfp-sfpplus2 vlan-id=112
add tagged-ports=sfp-sfpplus1,sfp-sfpplus2 vlan-id=113
add tagged-ports=sfp-sfpplus1,sfp-sfpplus2 vlan-id=114
add tagged-ports=sfp-sfpplus1,ether1 vlan-id=124
add tagged-ports=sfp-sfpplus1,ether1 vlan-id=125
add tagged-ports=sfp-sfpplus1,ether1 vlan-id=126
add tagged-ports=sfp-sfpplus1,ether1 vlan-id=121
add tagged-ports=sfp-sfpplus1,ether1 vlan-id=122
add tagged-ports=sfp-sfpplus1,ether1 vlan-id=123
add tagged-ports=sfp-sfpplus1,ether2 vlan-id=118
add tagged-ports=sfp-sfpplus1,ether2 vlan-id=119
add tagged-ports=sfp-sfpplus1,ether2 vlan-id=120
/interface ethernet switch vlan
add ports=sfp-sfpplus1,sfp-sfpplus2 vlan-id=112 learn=yes
add ports=sfp-sfpplus1,sfp-sfpplus2 vlan-id=113 learn=yes
add ports=sfp-sfpplus1,sfp-sfpplus2 vlan-id=114 learn=yes
add ports=sfp-sfpplus1,ether1 vlan-id=124 learn=yes
add ports=sfp-sfpplus1,ether1 vlan-id=125 learn=yes
add ports=sfp-sfpplus1,ether1 vlan-id=126 learn=yes
add ports=sfp-sfpplus1,ether1 vlan-id=121 learn=yes
add ports=sfp-sfpplus1,ether1 vlan-id=122 learn=yes
add ports=sfp-sfpplus1,ether1 vlan-id=123 learn=yes
add ports=sfp-sfpplus1,ether2 vlan-id=118 learn=yes
add ports=sfp-sfpplus1,ether2 vlan-id=119 learn=yes
add ports=sfp-sfpplus1,ether2 vlan-id=120 learn=yes