Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # feb/20/2020 10:31:57 by RouterOS 6.46.3
- #
- # model = CRS328-24P-4S+
- /interface bridge
- add admin-mac=XX:XX:XX:XX:XX:XX auto-mac=no comment=defconf fast-forward=no ingress-filtering=yes name=bridge1 vlan-filtering=yes
- /interface ethernet
- set [ find default-name=ether1 ] name=ether01
- set [ find default-name=ether2 ] name=ether02
- set [ find default-name=ether3 ] name=ether03
- set [ find default-name=ether4 ] name=ether04
- set [ find default-name=ether5 ] name=ether05
- set [ find default-name=ether6 ] name=ether06
- set [ find default-name=ether7 ] name=ether07
- set [ find default-name=ether8 ] name=ether08
- set [ find default-name=ether9 ] name=ether09
- set [ find default-name=sfp-sfpplus4 ] name=sfp4-Trunk-Sw1
- /interface vlan
- add interface=bridge1 name=Admin vlan-id=300
- add interface=bridge1 name=MGMT vlan-id=999
- /interface list
- add name=WAN
- add name=LAN
- /interface wireless security-profiles
- set [ find default=yes ] supplicant-identity=MikroTik
- /ip hotspot profile
- set [ find default=yes ] html-directory=flash/hotspot
- /interface bridge port
- add bridge=bridge1 comment=defconf interface=ether01 pvid=100
- add bridge=bridge1 comment=defconf interface=ether02
- add bridge=bridge1 comment=defconf interface=ether03
- add bridge=bridge1 comment=defconf interface=ether04
- add bridge=bridge1 comment=defconf interface=ether05
- add bridge=bridge1 comment=defconf interface=ether06
- add bridge=bridge1 comment=defconf interface=ether07
- add bridge=bridge1 comment=defconf interface=ether08
- add bridge=bridge1 comment=defconf interface=ether09
- add bridge=bridge1 comment=defconf interface=ether10
- add bridge=bridge1 comment=defconf interface=ether11
- add bridge=bridge1 comment=defconf interface=ether12
- add bridge=bridge1 comment=defconf interface=ether13
- add bridge=bridge1 comment=defconf interface=ether14
- add bridge=bridge1 comment=defconf interface=ether15
- add bridge=bridge1 comment=defconf interface=ether16
- add bridge=bridge1 comment=defconf interface=ether17
- add bridge=bridge1 comment=defconf interface=ether18
- add bridge=bridge1 comment=defconf interface=ether19
- add bridge=bridge1 comment=defconf interface=ether20
- add bridge=bridge1 comment=defconf interface=ether21 pvid=300
- add bridge=bridge1 comment=defconf interface=ether22
- add bridge=bridge1 comment=defconf interface=ether23
- add bridge=bridge1 comment=defconf interface=ether24
- add bridge=bridge1 comment=defconf interface=sfp-sfpplus1
- add bridge=bridge1 comment=defconf interface=sfp-sfpplus2
- add bridge=bridge1 comment=defconf interface=sfp-sfpplus3
- add bridge=bridge1 comment=Trunk interface=sfp4-Trunk-Sw1
- /interface bridge vlan
- add bridge=bridge1 comment="Office LAN" tagged=bridge1,sfp4-Trunk-Sw1 untagged=ether01 vlan-ids=100
- add bridge=bridge1 comment=ADMIN tagged=bridge1,sfp4-Trunk-Sw1 untagged=ether21 vlan-ids=300
- add bridge=bridge1 comment=MGMT tagged=bridge1,sfp4-Trunk-Sw1 vlan-ids=999
- /interface list member
- add interface=ether01 list=WAN
- add interface=ether02 list=LAN
- add interface=ether03 list=LAN
- add interface=ether04 list=LAN
- add interface=ether05 list=LAN
- add interface=ether06 list=LAN
- add interface=ether07 list=LAN
- add interface=ether08 list=LAN
- add interface=ether09 list=LAN
- add interface=ether10 list=LAN
- add interface=ether11 list=LAN
- add interface=ether12 list=LAN
- add interface=ether13 list=LAN
- add interface=ether14 list=LAN
- add interface=ether15 list=LAN
- add interface=ether16 list=LAN
- add interface=ether17 list=LAN
- add interface=ether18 list=LAN
- add interface=ether19 list=LAN
- add interface=ether20 list=LAN
- add interface=ether21 list=LAN
- add interface=ether22 list=LAN
- add interface=ether23 list=LAN
- add interface=ether24 list=LAN
- add interface=sfp-sfpplus1 list=LAN
- add interface=sfp-sfpplus2 list=LAN
- add interface=sfp-sfpplus3 list=LAN
- add interface=sfp4-Trunk-Sw1 list=LAN
- /ip address
- add address=10.10.2.12/24 comment="Trunk-SW1 Uplink" interface=Admin network=10.10.2.0
- add address=172.27.1.12/24 interface=MGMT network=172.27.1.0
- add address=10.10.2.22/24 interface=bridge1 network=10.10.2.0
- add address=10.10.2.32/24 interface=sfp4-Trunk-Sw1 network=10.10.2.0
- /ip dns
- set servers=10.10.4.3,10.10.4.4
- /ip route
- add distance=1 gateway=10.10.2.1
- /system identity
- set name=Sw2-MT-Users
- /system ntp client
- set enabled=yes primary-ntp=10.10.4.3 secondary-ntp=10.10.4.4
- /system routerboard settings
- set boot-os=router-os
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement