Assign Device To Site
Location in GUI:
Provision » Inventory » Select Device » Actions » Provision » Assign Device to Site
Diagram
Section titled “Diagram”Classes
Section titled “Classes”devices (catalyst_center.inventory)
Section titled “devices (catalyst_center.inventory)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| state | Choice | INIT, PNP, PROVISION, REPROVISION, ASSIGN, MARK_FOR_REPLACEMENT | Yes |
Device Site Assignment associates a discovered Device with a specific location in the site hierarchy (Area, Building, or Floor). This is a prerequisite for device provisioning and determines which network settings, credentials, and policies are applied to the device. Applicable to both SDA fabric and non-fabric deployments.
Examples
Section titled “Examples”Example-1: Basic Device Site Assignment
This example demonstrates how to assign a network device to a specific site in Catalyst Center inventory management. Device site assignment is a critical step in the provisioning workflow that establishes the geographic and logical location of devices within the network hierarchy.
The device site assignment includes:
- Device identification using name (EDGE02) and fqdn_name (EDGE02.cisco.eu) for inventory tracking
- Device IP address (198.18.130.2) for management connectivity and communication
- Product ID (C9KV-UADP-8P) for hardware identification and capability determination
- State change from INIT to ASSIGN to trigger the site assignment process
- Device role specification (ACCESS) for network function and policy application
- Site hierarchy assignment (Global/Poland/Krakow/Bld A) for geographic and organizational placement
- Foundation for subsequent provisioning and configuration deployment workflows
---catalyst_center: inventory: devices: - name: EDGE02 fqdn_name: EDGE02.cisco.eu device_ip: 198.18.130.2 pid: C9KV-UADP-8P state: ASSIGN device_role: ACCESS site: Global/Poland/Krakow/Bld AExample-2: Multiple Device Site Assignments Across Different Locations
This example shows how to assign multiple network devices to different sites simultaneously, enabling bulk site assignment operations for distributed network deployments across various geographic locations.
---catalyst_center: inventory: devices: - name: CORE01 fqdn_name: CORE01.hq.company.com device_ip: 10.1.1.10 pid: C9500-40X state: ASSIGN device_role: CORE site: Global/North America/Headquarters/Data Center - name: DIST01.branch.company.com fqdn_name: DIST01.branch.company.com device_ip: 10.2.1.10 pid: C9300-48P state: ASSIGN device_role: DISTRIBUTION site: Global/Europe/Branch Offices/London Office - name: ACCESS01.remote.company.com fqdn_name: ACCESS01.remote.company.com device_ip: 10.3.1.10 pid: C9200-24P state: ASSIGN device_role: ACCESS site: Global/Asia Pacific/Remote Sites/Tokyo Branch