Trunk, Vlan CCR and Cisco Switch
Trunk, Vlan CCR and Cisco Switch
Trunk, Vlan CCR and Cisco Switch
Rudios
Forum Veteran
Posts: 897
Joined: Mon Mar 11, 2013 1:58 pm
Reputation: 2
Location: The Netherlands
ros code
/interface vlan
add name=vlan2-sfp1
add name=vlan3-sfp1
add name=vlan4-sfp1
add name=vlan5-sfp1
interface=sfp1
interface=sfp1
interface=sfp1
interface=sfp1
vlan-id=2
vlan-id=3
vlan-id=4
vlan-id=5
add
add
add
add
name=vlan2-sfp2
name=vlan3-sfp2
name=vlan4-sfp2
name=vlan5-sfp2
interface=sfp2
interface=sfp2
interface=sfp2
interface=sfp2
vlan-id=2
vlan-id=3
vlan-id=4
vlan-id=5
add
add
add
add
name=vlan2-sfp3
name=vlan3-sfp3
name=vlan4-sfp3
name=vlan5-sfp3
interface=sfp3
interface=sfp3
interface=sfp3
interface=sfp3
vlan-id=2
vlan-id=3
vlan-id=4
vlan-id=5
add
add
add
add
name=vlan2-sfp4
name=vlan3-sfp4
name=vlan4-sfp4
name=vlan5-sfp4
interface=sfp4
interface=sfp4
interface=sfp4
interface=sfp4
vlan-id=2
vlan-id=3
vlan-id=4
vlan-id=5
ros code
/interface brige
add name=bridge-vlan2
add name=bridge-vlan3
add name=bridge-vlan4
add name=bridge-vlan5
#2
ros code
/interface bridge port
add bridge=bridge-vlan2
add bridge=bridge-vlan2
add bridge=bridge-vlan2
add bridge=bridge-vlan2
add bridge=bridge-vlan2
interface=vlan2-sfp1
interface=vlan2-sfp2
interface=vlan2-sfp3
interface=vlan2-sfp4
interface=ether1
add
add
add
add
add
add
add
add
add
bridge=bridge-vlan3
bridge=bridge-vlan3
bridge=bridge-vlan3
bridge=bridge-vlan3
bridge=bridge-vlan3
bridge=bridge-vlan3
bridge=bridge-vlan3
bridge=bridge-vlan3
bridge=bridge-vlan3
interface=vlan3-sfp1
interface=vlan3-sfp2
interface=vlan3-sfp3
interface=vlan3-sfp4
interface=ether2
interface=ether3
interface=ether4
interface=ether5
interface=ether6
add
add
add
add
add
add
add
add
bridge=bridge-vlan4
bridge=bridge-vlan4
bridge=bridge-vlan4
bridge=bridge-vlan4
bridge=bridge-vlan4
bridge=bridge-vlan4
bridge=bridge-vlan4
bridge=bridge-vlan4
interface=vlan4-sfp1
interface=vlan4-sfp2
interface=vlan4-sfp3
interface=vlan4-sfp4
interface=ether7
interface=ether8
interface=ether9
interface=ether10
add
add
add
add
add
add
bridge=bridge-vlan5
bridge=bridge-vlan5
bridge=bridge-vlan5
bridge=bridge-vlan5
bridge=bridge-vlan5
bridge=bridge-vlan5
interface=vlan5-sfp1
interface=vlan5-sfp2
interface=vlan5-sfp3
interface=vlan5-sfp4
interface=ether11
interface=ether12
----------------What you also could do is create a bridge an put all the trunk ports in it
ros code
/interface bridge
add name=bridge-trunk
/interface bridge port
add bridge=bridge-trunk
add bridge=bridge-trunk
add bridge=bridge-trunk
add bridge=bridge-trunk
interface=sfp1
interface=sfp2
interface=sfp3
interface=sfp4
ros code
/interface vlan
add name=vlan2-tr
add name=vlan3-tr
add name=vlan4-tr
add name=vlan5-tr
interface=bridge-trunk
interface=bridge-trunk
interface=bridge-trunk
interface=bridge-trunk
vlan-id=2
vlan-id=3
vlan-id=4
vlan-id=5
And then create additional bridges for the ether ports to bridge and put the respective vlan interface into
that same bridge
ros code
/interface bridge
add name=bridge-vlan2
add name=bridge-vlan3
add name=bridge-vlan4
add name=bridge-vlan5
/interface bridge port
add bridge=bridge-vlan2 interface=ether2
add bridge=bridge-vlan2 interface=vlan2-tr
add
add
add
add
add
bridge=bridge-vlan3
bridge=bridge-vlan3
bridge=bridge-vlan3
bridge=bridge-vlan3
bridge=bridge-vlan3
interface=ether3
interface=ether4
interface=ether5
interface=ether6
interface=vlan3-tr
add
add
add
add
add
bridge=bridge-vlan4
bridge=bridge-vlan4
bridge=bridge-vlan4
bridge=bridge-vlan4
bridge=bridge-vlan4
interface=ether7
interface=ether8
interface=ether9
interface=ether10
interface=vlan4-tr
Jimmy
newbie
Topic Author
Posts: 45
Joined: Thu Sep 29, 2011 11:42 pm
Reputation: 0
#3
Hi Rudios
Damm I love a good support forum, I will try this first thing in the morning.
THX for quick reply.
Cheers
Jimmy
LCPL J.Hahn
Jimmy
newbie
Topic Author
Posts: 45
Joined: Thu Sep 29, 2011 11:42 pm
Reputation: 0
#4
ivtts
just joined
Posts: 8
Joined: Tue Aug 20, 2013 12:47 pm
Reputation: 0
Location: Russia
#5
ros code
/ip addresses
add address=10.0.0.1/24 interface=bridge-vlan2
Rudios
Forum Veteran
Posts: 897
Joined: Mon Mar 11, 2013 1:58 pm
Reputation: 2
Location: The Netherlands
#6
It depends. If you want the routerboard to route traffic, add an IP address to the vlan bridges. If you only
want to split out the VLAN's brought to the routerboard via the trunk, IP addresses are not needed. Maybe
only one for management, but still it needs to be on the bridge.
Testing setup with: 2 x RB750UP | 2 x RB750GL | 1 x RB951G-2HnD | 1 x RB2011UiAS-IN
Jimmy
newbie
Topic Author
Posts: 45
Joined: Thu Sep 29, 2011 11:42 pm
Reputation: 0
#7
ivtts
just joined
Posts: 8
Joined: Tue Aug 20, 2013 12:47 pm
Reputation: 0
Location: Russia
#8
ros code
ping 192.168.0.1
Hmm no ping
I can ping the ccr there is connect from trunk so again no problem on the trunk, and i can See all in the
dude too, so it have to Be the vlan, but the Big Q WHY cuss if the trunk is working then the ccr can filter
the trunk?
Cheers
jimmy
Send from mobile phone