Skip to content

Instantly share code, notes, and snippets.

@igran
Created August 2, 2016 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igran/a535f6d68d0881bcc70468d481f0e9dc to your computer and use it in GitHub Desktop.
Save igran/a535f6d68d0881bcc70468d481f0e9dc to your computer and use it in GitHub Desktop.
MMMM MMMM KKK TTTTTTTTTTT KKK
MMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKK
MMM MM MMM III KKKKK RRR RRR OOO OOO TTT III KKKKK
MMM MMM III KKK KKK RRRRRR OOO OOO TTT III KKK KKK
MMM MMM III KKK KKK RRR RRR OOOOOO TTT III KKK KKK
MikroTik RouterOS 6.34.1 (c) 1999-2015 http://www.mikrotik.com/
[?] Gives the list of available commands
command [?] Gives help on the command and list of arguments
[Tab] Completes the command/word. If the input is ambiguous,
a second [Tab] gives possible options
/ Move up to base level
.. Move up one level
/command Use command at the base level
[admin@MikroTik2] >
/interface export
# jan/13/2016 22:26:34 by RouterOS 6.34.1
# software id = YMC1-06GA
#
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n disabled=no mode=ap-bridge \
ssid=******
add disabled=no mac-address=D6:CA:6D:E5:9F:1B master-interface=wlan1 name=\
wlan2 wds-cost-range=0-4294967295 wds-default-cost=0 wps-mode=\
push-button-virtual-only
/interface bridge
add name=bridge1 protocol-mode=none
add name=emul-switch protocol-mode=none
add name=iptv protocol-mode=none
add name=ipv6br
add name=wifibr
/interface ethernet
set [ find default-name=ether1 ] advertise=1000M-half,1000M-full name=\
ether1-uplink
set [ find default-name=ether2 ] name=ether2-hub
set [ find default-name=ether3 ] name=ether3-srv
/interface wireless wds
add master-interface=wlan1 name=wds1 wds-address=D4:CA:6D:DE:7E:45
/interface vlan
add interface=ether1-uplink name=eth1-iptv-v101 vlan-id=101
add interface=ether1-uplink name=eth1-uplink-v1 vlan-id=1
add interface=ether1-uplink name=eth1-wifi-v3 vlan-id=3
add interface=ether1-uplink name=ipv6vl vlan-id=6
add interface=ethe2-hub name=vlanproxotowifi vlan-id=100
add interface=ethe2-hub name=vlanemul-switch vlan-id=1
add interface=ether3-srv name=vlan1-srv vlan-id=1
add interface=ether3-srv name=vlan4-vpn vlan-id=2
add interface=ether3-srv name=vlan101 vlan-id=101
add interface=ether1-uplink name=vpn-trunk vlan-id=4
/interface bridge port
add bridge=emul-switch interface=vlan1-srv
add bridge=iptv interface=eth1-iptv-v101
add bridge=iptv interface=ether4
add bridge=wifibr interface=eth1-wifi-v3
add bridge=wifibr interface=wlan1
add bridge=wifibr interface=vlanproxotowifi
add bridge=emul-switch interface=wlan2
add bridge=emul-switch interface=vlanemul-switch
add bridge=iptv interface=vlan101
add bridge=bridge1 interface=vpn-trunk
add bridge=bridge1 interface=vlan4-vpn
add bridge=ipv6br interface=ipv6vl
add bridge=emul-switch
add bridge=wifibr
add bridge=emul-switch interface=ether2-hub
/interface ethernet switch vlan
add independent-learning=no ports=ether2-hub switch=switch1 vlan-id=1
add independent-learning=no ports=ether2-hub switch=switch1 vlan-id=254
add disabled=yes ports=ether2-hub switch=switch1
add independent-learning=no ports=ether2-hub switch=switch1 vlan-id=100
/interface ethernet switch port
set ether2-hub vlan-mode=secure default-vlan-id=100
/interface wireless access-list
add authentication=no disabled=yes forwarding=no mac-address=\
AC:38:70:74:A4:49 vlan-mode=no-tag
add disabled=yes interface=wlan1 mac-address=00:08:22:86:92:46 vlan-mode=\
no-tag
add disabled=yes interface=wlan1 mac-address=28:E3:47:8A:25:60
add authentication=no disabled=yes forwarding=no interface=wlan1 mac-address=\
4C:0F:6E:4B:AB:77 vlan-mode=no-tag
add disabled=yes mac-address=C4:42:02:55:E1:8D
add vlan-mode=no-tag
/interface wireless cap
set caps-man-addresses=192.168.137.1 interfaces=wlan1
[admin@MikroTik2] >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment