Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # SW3
- /interface bridge
- add frame-types=admit-only-vlan-tagged ingress-filtering=yes name=br1 protocol-mode=none pvid=3 vlan-filtering=yes
- add name=lo0
- /interface vlan
- add interface=br1 name=ospf-305 vlan-id=305
- add interface=br1 name=ospf-306 vlan-id=306
- add interface=br1 name=ospf-406 vlan-id=406
- add interface=br1 name=ospf-408 vlan-id=408
- add interface=br1 name=ospf-416 vlan-id=416
- /routing ospf instance
- set [ find default=yes ] redistribute-connected=as-type-2 router-id=10.70.255.3
- /interface bridge port
- add bridge=br1 interface=ether1 pvid=3
- add bridge=br1 interface=ether2 pvid=3
- add bridge=br1 interface=ether3 pvid=3
- add bridge=br1 interface=ether4 pvid=3
- add bridge=br1 interface=ether5 pvid=3
- add bridge=br1 interface=ether6 pvid=3
- /interface bridge vlan
- add bridge=br1 tagged=br1,ether4 vlan-ids=305
- add bridge=br1 tagged=br1,ether5 vlan-ids=306
- add bridge=br1 tagged=br1,ether1 vlan-ids=406
- add bridge=br1 tagged=ether1,ether4,ether5 vlan-ids=407
- add bridge=br1 tagged=br1,ether2 vlan-ids=408
- add bridge=br1 tagged=ether2,ether4,ether5 vlan-ids=411
- add bridge=br1 tagged=br1,ether3 vlan-ids=416
- add bridge=br1 tagged=ether3,ether4,ether5 vlan-ids=417
- /ip address
- add address=10.70.255.3 interface=lo0 network=10.70.255.3
- add address=10.70.254.45/30 interface=ospf-305 network=10.70.254.44
- add address=10.70.254.49/30 interface=ospf-306 network=10.70.254.48
- add address=10.70.254.10/30 interface=ospf-406 network=10.70.254.8
- add address=10.70.254.14/30 interface=ospf-408 network=10.70.254.12
- add address=10.70.254.30/30 interface=ospf-416 network=10.70.254.28
- /routing ospf network
- add area=backbone network=10.70.254.44/30
- add area=backbone network=10.70.254.48/30
- add area=backbone network=10.70.254.8/30
- add area=backbone network=10.70.254.12/30
- add area=backbone network=10.70.254.28/30
- /system identity
- set name=SW3
- /tool romon
- set enabled=yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement