# Adding New Switch
This article shows how to add a new switch or router to EasyDCIM using the Discover Device workflow. It explains the required SNMP credentials, automatic port discovery, profile matching and Remote Agent selection.
# Discover Device
Network devices such as switches and routers are equipped with support for the SNMP protocol. The best way to add a network device to EasyDCIM is to use the Discover Device form.
The Discover Device form allows you to add a network device based on the SNMP protocol access data. Discovering is very useful for network devices because it automatically detects and adds the network ports of that device to EasyDCIM. You can find the form in Devices → Auto Discovering.
Firstly, you should specify SNMP access credentials and select a remote agent:
- Remote Agent - a remote agent responsible for connecting to SNMP.
- Hostname or IP Address or CIDR Subnet - an IP address, a hostname, or subnet address in the CIDR format.
- For SNMP 1 or SNMP v2:
- SNMP Public Community - a public SNMP community that should have read-only rights. Used in the process of retrieving data from SNMP.
- SNMP Private Community - a private SNMP community that should have write rights. Used in processes such as disabling and enabling network ports or power outlets.
- For SNMP version 3:
- Security Name, SNMPv3 Security Level, SNMPv3 Authentication Protocol, SNMPv3 Authentication Pass Phrase, SNMPv3 Privacy Protocol, SNMPv3 Privacy Pass Phrase are specific fields for the configuration of SNMP version 3. You need to complete them according to the SNMP settings of your device.
If the SNMP connection is established, EasyDCIM adds the device and starts advanced discovery in the background.
# SNMP Profile selection
During automatic discovery, EasyDCIM can match a new device to an official or custom SNMP Profile using the device's discovered sysObjectID, sysDescr or firmware value. A profile is assigned only when the match is unambiguous. If no profile matches, or more than one profile matches, the device remains on the legacy path.
After the device has been added, open Settings → SNMP Settings from the device summary to review or change the SNMP Profile selection. Selecting a profile enables declarative profile-based discovery and polling. Leaving the field empty preserves the legacy driver behavior.
The SNMP Profile is independent of the Switch Driver. The latter can be selected separately when the device needs managed operations such as VLAN, trunk, speed or interface configuration. For the complete profile workflow, see Switch Management Extension.
Auto-Discovery does not silently migrate existing devices. To change an existing device from legacy behavior to a profile, select the profile explicitly and run discovery and polling verification.