Catalyst Center: IOS Configuration for SEA Deployment - Quick Start Guide
Prerequisite
Your device must be running IOS-XE version 17.13.1 or above.
Identify the interface you wish the device to use for cloud connectivity.
Ensure that you have already onboarded this device on the IoT OD GUI. For details see, Add a single externally managed device.
Identify the IoT cluster.
For US cluster: device-us.ciscoiot.com
For EU cluster: device-eu.ciscoiot.com
Insert the SD card and format/partition the SD card to create the required IOx partition in the card. This action erases all data on the card and format/partitions the card.
! If the complete SD card is being reserved for IOx, use the following command to format the SD card format sdflash: ext4 ! Example: IE-3400#format sdflash: ext4 Format operation may take a while. Continue? [confirm] Format operation will destroy all data in "sdflash:". Continue? [confirm] Format operation reloads, if partitions are there. Continue? [confirm] format completed with no errors ! If you want to partition the SD card to have both an IOx partition and FAT32 partition, use the following command partition sdflash: iox
Ensure that the DNS sever is able to resolve device-us.ciscoiot.com and us.ciscoiot.com.
If DHCP is used, specify the DHCP pool for the subnet in which the SEA agent will be installed.
Ensure that the switch has the VLAN(s) configured to support the application.
Prepare the configuration template as follows:
! aaa new-model ! ! aaa authentication login default local aaa authorization exec default local ! username [IoTOD Device Profile username] privilege 15 password [IoTOD Device Profile password] ! vtp mode transparent ! vlan 4094 name app-man-native-vlan interface AppGigabitEthernet1/1 switchport trunk native vlan 4094 switchport mode trunk ! ip http server ip http authentication local ip http secure-server ! line vty 0 4 transport input all exec-timeout 60 0 ! wsma agent exec profile exec ! wsma profile listener exec transport http path /wsma/exec ! ! cgna gzip ! ! cgna profile cg-nms-register add-command show version | format flash:/managed/odm/cg-nms.odm add-command show inventory | format flash:/managed/odm/cg-nms.odm interval 3 url https://localhost:443/cgna/ios/registration transport-profile wst gzip active ! ida transport-profile wst callhome-url wss://device-us.ciscoiot.com:443/wst/cgna ! use the URL below for EU ! callhome-url wss://device-eu.ciscoiot.com:443/wst/cgna active ! iox ! end