Cloud Core Router 1036-12G-4S настройка как свич.

Обсуждение ПО и его настройки
Ответить
voler
Сообщения: 109
Зарегистрирован: 13 апр 2012, 12:33

Добрый день.

Подскажите на сколько верны настройки.
Что нужно сделать, Cloud Core Router 1036-12G-4S подключается sfp1 в выше стоящую железку. С нее пока поступает интернет и тв.
Создал на sfp1 влан 1 и 350.
Насколько верны настройки.
 Конфиг

Код: Выделить всё

# jan/02/1970 00:36:49 by RouterOS 6.6
# software id = E8B7-IYTI
#
/ip neighbor discovery
set sfp1 discover=no
/interface vlan
add interface=sfp1 l2mtu=1584 name=vlan1 vlan-id=1
/interface ethernet
set [ find default-name=ether1 ] master-port=sfp1
set [ find default-name=ether2 ] master-port=sfp1
set [ find default-name=ether3 ] master-port=sfp1
set [ find default-name=ether4 ] master-port=sfp1
set [ find default-name=ether5 ] master-port=sfp1
set [ find default-name=ether6 ] master-port=sfp1
set [ find default-name=ether7 ] master-port=sfp1
set [ find default-name=ether8 ] master-port=sfp1
set [ find default-name=ether9 ] master-port=sfp1
set [ find default-name=ether10 ] master-port=sfp1
set [ find default-name=ether11 ] master-port=sfp1
set [ find default-name=ether12 ] master-port=sfp1
set [ find default-name=ether13 ] master-port=sfp1
set [ find default-name=ether14 ] master-port=sfp1
set [ find default-name=ether15 ] master-port=sfp1
set [ find default-name=ether16 ] master-port=sfp1
set [ find default-name=ether17 ] master-port=sfp1
set [ find default-name=ether18 ] master-port=sfp1
set [ find default-name=ether19 ] master-port=sfp1
set [ find default-name=ether20 ] master-port=sfp1
/ip neighbor discovery
set ether1 discover=no
/interface vlan
add interface=vlan1 l2mtu=1580 name=iptv vlan-id=350
/interface ethernet switch
set bridge-type=service-vlan-bridge bypass-l2-security-check-filter-for="" \
    bypass-vlan-ingress-filter-for="" \
    drop-if-invalid-or-src-port-not-member-of-vlan-on-ports="" \
    drop-if-no-vlan-assignment-on-ports="" egress-mirror-ratio=1/1 \
    egress-mirror0-enable=yes egress-mirror0-format=modified \
    egress-mirror0-port=switch1-cpu egress-mirror0-port=switch1-cpu \
    egress-mirror1-enable=yes egress-mirror1-format=modified \
    egress-sampling-ratio=1/1 fdb-uses=mirror0 forward-invalid-vlan=yes \
    ingress-mirror-ratio=1/1 ingress-mirror0-enable=yes \
    ingress-mirror0-format=modified ingress-mirror0-port=switch1-cpu \
    ingress-mirror1-enable=yes ingress-mirror1-format=modified \
    ingress-mirror1-port=switch1-cpu invalid-vlan-lookup-mode=ivl \
    ipv4-multicast-lookup-mode=dst-mac-and-vid-always mac-level-isolation=no \
    mirror-egress-if-ingress-mirrored=no mirror-tx-on-mirror-port=no \
    mirrored-packet-drop-precedence=green mirrored-packet-qos-priority=0 \
    override-existing-when-ufdb-full=no unicast-fdb-timeout=5m \
    use-cvid-in-one2one-vlan-lookup=yes use-svid-in-one2one-vlan-lookup=no \
    vlan-level-isolation=no vlan-uses=mirror0
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m \
    mac-cookie-timeout=3d
/port
set 0 name=serial0
/interface ethernet switch dscp-qos-map
set (unknown) priority=1
set (unknown) priority=1
set (unknown) drop-precedence=yellow
set (unknown) drop-precedence=red
set (unknown) priority=2
set (unknown) priority=2
set (unknown) drop-precedence=yellow priority=2
set (unknown) drop-precedence=red priority=2
set (unknown) priority=2
set (unknown) priority=2
set (unknown) drop-precedence=yellow priority=2
set (unknown) drop-precedence=red priority=2
set (unknown) priority=2
set (unknown) priority=2
set (unknown) drop-precedence=yellow priority=2
set (unknown) drop-precedence=red priority=2
set (unknown) priority=2
set (unknown) priority=3
set (unknown) priority=2
set (unknown) priority=2
/interface ethernet switch port
set 0 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="w\
    rr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-g\
    roup0:0,wrr-group0:0,wrr-group0:0"
set 1 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="w\
    rr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-g\
    roup0:0,wrr-group0:0,wrr-group0:0"
set 2 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="w\
    rr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-g\
    roup0:0,wrr-group0:0,wrr-group0:0"
set 3 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="w\
    rr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-g\
    roup0:0,wrr-group0:0,wrr-group0:0"
set 4 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="w\
    rr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-g\
    roup0:0,wrr-group0:0,wrr-group0:0"
set 5 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="w\
    rr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-g\
    roup0:0,wrr-group0:0,wrr-group0:0"
set 6 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="w\
    rr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-g\
    roup0:0,wrr-group0:0,wrr-group0:0"
set 7 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="w\
    rr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-g\
    roup0:0,wrr-group0:0,wrr-group0:0"
set 8 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="w\
    rr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-g\
    roup0:0,wrr-group0:0,wrr-group0:0"
set 9 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="w\
    rr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-g\
    roup0:0,wrr-group0:0,wrr-group0:0"
set 10 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="\
    wrr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-\
    group0:0,wrr-group0:0,wrr-group0:0"
set 11 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="\
    wrr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-\
    group0:0,wrr-group0:0,wrr-group0:0"
set 12 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="\
    wrr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-\
    group0:0,wrr-group0:0,wrr-group0:0"
set 13 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="\
    wrr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-\
    group0:0,wrr-group0:0,wrr-group0:0"
set 14 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="\
    wrr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-\
    group0:0,wrr-group0:0,wrr-group0:0"
set 15 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="\
    wrr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-\
    group0:0,wrr-group0:0,wrr-group0:0"
set 16 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="\
    wrr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-\
    group0:0,wrr-group0:0,wrr-group0:0"
set 17 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="\
    wrr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-\
    group0:0,wrr-group0:0,wrr-group0:0"
set 18 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="\
    wrr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-\
    group0:0,wrr-group0:0,wrr-group0:0"
set 19 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="\
    wrr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-\
    group0:0,wrr-group0:0,wrr-group0:0"
set 20 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="\
    wrr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-\
    group0:0,wrr-group0:0,wrr-group0:0"
set 21 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="\
    wrr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-\
    group0:0,wrr-group0:0,wrr-group0:0"
set 22 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="\
    wrr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-\
    group0:0,wrr-group0:0,wrr-group0:0"
set 23 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="\
    wrr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-\
    group0:0,wrr-group0:0,wrr-group0:0"
set 24 egress-vlan-mode=unmodified isolation-profile=30 per-queue-scheduling="\
    wrr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-\
    group0:0,wrr-group0:0,wrr-group0:0"
set 25 egress-vlan-mode=unmodified isolation-profile=31 per-queue-scheduling="\
    wrr-group1:1,wrr-group1:2,wrr-group1:4,strict-priority:0,wrr-group0:0,wrr-\
    group0:0,wrr-group0:0,wrr-group0:0"
/ip address
add address=12.100.100.13/24 comment="default configuration" interface=ether2 \
    network=12.100.100.0
/ip dhcp-client
add comment="default configuration" dhcp-options=hostname,clientid disabled=\
    no interface=ether1
add comment="default configuration" dhcp-options=hostname,clientid disabled=\
    no interface=sfp1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 name=router
/ip firewall service-port
set ftp disabled=yes
set tftp disabled=yes
set irc disabled=yes
set h323 disabled=yes
set sip disabled=yes
set pptp disabled=yes
/lcd interface
set ether1 interface=ether1
set ether2 interface=ether2
set ether3 interface=ether3
set ether4 interface=ether4
set ether5 interface=ether5
set ether6 interface=ether6
set ether7 interface=ether7
set ether8 interface=ether8
set ether9 interface=ether9
set ether10 interface=ether10
set ether11 interface=ether11
set ether12 interface=ether12
set ether13 interface=ether13
set ether14 interface=ether14
set ether15 interface=ether15
set ether16 interface=ether16
set ether17 interface=ether17
set ether18 interface=ether18
set ether19 interface=ether19
set ether20 interface=ether20
set ether21 interface=ether21
set ether22 interface=ether22
set ether23 interface=ether23
set ether24 interface=ether24
set sfp1 interface=sfp1
/lcd interface pages
set 0 interfaces="ether1,ether2,ether3,ether4,ether5,ether6,ether7,ether8,ethe\
    r9,ether10,ether11,ether12"
set 1 interfaces="ether13,ether14,ether15,ether16,ether17,ether18,ether19,ethe\
    r20,ether21,ether22,ether23,ether24"
/tool mac-server
set [ find default=yes ] disabled=yes
add interface=ether2
add interface=ether3
add interface=ether4
add interface=ether5
add interface=ether6
add interface=ether7
add interface=ether8
add interface=ether9
add interface=ether20
add interface=ether21
add interface=ether22
add interface=ether23
add interface=ether24
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether2
add interface=ether3
add interface=ether4
add interface=ether5
add interface=ether6
add interface=ether7
add interface=ether8
add interface=ether9
add interface=ether20
add interface=ether21
add interface=ether22
add interface=ether23
add interface=ether24


Аватара пользователя
DeN_238
Сообщения: 255
Зарегистрирован: 19 фев 2012, 16:42
Откуда: Тольятти

Верны для чего? Что получить хотите в результате?


2011UAS-2HnD-IN | v. 6.40.4 | FW 3.41
mAP 2n | v. 6.40.4 | FW 3.41
voler
Сообщения: 109
Зарегистрирован: 13 апр 2012, 12:33

Дання конфигурация не верна. Что хочу получить:
На sfp1 приходить должны vlan 1, vlan 350, vlan 979.
Дальше eth1-eth10 должны пропускать vlan1
eth11 - eth24 должны пропускать vlan, vlan350
vlan 979 только для управляения, т.е. на sfp1.

Подскажите как на данном оборудовании реализовать такую схему.


Ответить