Hi
I am implementing MSTPD on Marvel switch, I have a couple of queries regarding the same.
It will be of great help if any body clarify/confirm them:
1) As MSTPD is running completely in user space, can we run MSTPD without creating a bridge in the kernel; I mean can we run MSTPD without using command "brctl addbr br0". Kindly confirm.
2) If the answer to point (1) above is yes, then how can we add port to mstp daemon,using mstpctl command.
If the answer to point (1) is no, then kindly ignore this point 2.
3) How many ports can we add per bridge in MSTPd
4) driver_set_aging_time() function belongs to set ageing time per port , but Marvell switch does not support per post ageing time , so how to handle this case , Please advise.
3) Kindly validate below mentioned config for test cases for MSTPd. Please share if I am missing something.
Case 1:
Basic test case:
/sbin/mstpd
brctl addbr br0
brctl addif br0 eth1
brctl addif br0 eth2
ifconfig br0 up
mstpctl addbridge br0
mstpctl setforcevers br0 rstp
brctl stp br0 on
Case 2:
Multi Vlan per spanning test case:
mstpctl setmstconfid br0 0 CommonRegion
brctl addbr br0
mstpctl createtree br0 1
mstpctl createtree br0 2
mstpctl setvid2fid br0 7:1,10,20 9: 30,40,50
mstpctl setfid2mstid br0 1:7 2:9
brctl addif br0 eth0
brctl addif br0 eth1
mstpctl addbridge br0
brctl stp br0 on
mstpctl setforcevers br0 rstp
Thanks
Vivek
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I am implementing MSTPD on Marvel switch, I have a couple of queries regarding the same.
It will be of great help if any body clarify/confirm them:
1) As MSTPD is running completely in user space, can we run MSTPD without creating a bridge in the kernel; I mean can we run MSTPD without using command "brctl addbr br0". Kindly confirm.
2) If the answer to point (1) above is yes, then how can we add port to mstp daemon,using mstpctl command.
If the answer to point (1) is no, then kindly ignore this point 2.
3) How many ports can we add per bridge in MSTPd
4) driver_set_aging_time() function belongs to set ageing time per port , but Marvell switch does not support per post ageing time , so how to handle this case , Please advise.
3) Kindly validate below mentioned config for test cases for MSTPd. Please share if I am missing something.
Case 1:
Basic test case:
/sbin/mstpd
brctl addbr br0
brctl addif br0 eth1
brctl addif br0 eth2
ifconfig br0 up
mstpctl addbridge br0
mstpctl setforcevers br0 rstp
brctl stp br0 on
Case 2:
Multi Vlan per spanning test case:
mstpctl setmstconfid br0 0 CommonRegion
brctl addbr br0
mstpctl createtree br0 1
mstpctl createtree br0 2
mstpctl setvid2fid br0 7:1,10,20 9: 30,40,50
mstpctl setfid2mstid br0 1:7 2:9
brctl addif br0 eth0
brctl addif br0 eth1
mstpctl addbridge br0
brctl stp br0 on
mstpctl setforcevers br0 rstp
Thanks
Vivek