1. A method for determining shared broadcast domains of network devices and ports or interfaces comprising the steps of: learning features about physical ports or logical interfaces of devices of a network by a network management system; and identifying which ports or interfaces on each device are part of a common broadcast domain from the learned features.