Implement self-learning and forwarding of bridge/switch via programing simulation.