test take info frome switch