Switch

Switch

What TDL subscriptions are created

Switch Subscriptions

The following table shows you the list of TDL subscriptions created for a switch.

Subscription Number TDL Update Policy Description
222 /services;serviceName=ios_oper/platform_component 1 hour Used for device discovery
223 /services;serviceName

=ios_emul_oper/device_hardware;singleton_id

=0/device_system_data;singleton_id=0

3 seconds Device system information

The following table shows you the list of TDL subscriptions created for the switch port status.

Subscription Number TDL Update Policy Description
224 /services;serviceName=ios_emul_oper/interface On charge Switch port interface status

The following table shows you the list of TDL subscriptions created for the switch PoE subscription.

Subscription Number TDL Update Policy Description
225 /services;serviceName

=ios_oper/platform_component;cname

=Switch1/platform_properties

5 seconds Switch platform properties
226 /services;serviceName=ios_oper/poe_module 4 seconds. Switch POE Module
227 /services;serviceName=ios_oper/poe_port_detail 3 seconds Switch POE Port

How do I verify the TDL subscriptions are created and valid?

Run the command show telemetry ietf subscription all command on the switch.

The command displays the subscriptions, the subscription type, and if a subscription is valid. switch creates five different subscriptions 222-227.

Device# show telemetry ietf subscription all 

  Telemetry subscription brief

  ID               Type        State       Filter type      
  --------------------------------------------------------
  222              Configured  Valid       tdl-uri          
  223              Configured  Valid       tdl-uri          
  224              Configured  Valid       tdl-uri          
  225              Configured  Valid       nested-uri       
  226              Configured  Valid       tdl-uri          
  227              Configured  Valid       tdl-uri

What is the TDL status?

Run the show telemetry ietf subscription ID receiver command on the switch.

The command displays the TDL subscriptions status.

Device# show telemetry ietf subscription 222 receiver 
Telemetry subscription receivers detail:

  Subscription ID: 222
  Address: 192.168.46.20
  Port: 8014
  Protocol: cloud-native
  Profile: 
  Connection: 32037
  State: Connected
  Explanation: 

The switch has five different subscriptions ranging from 222-227 which can be used as the Subscription ID. Check if the Address is the IP address of the Cisco Spaces: Connector. Also check if the State is Connected.

What commands are run on the switch?

When a switch port status changes to UP, Cisco Spaces: Connector polls the switch for any potential switch port identity information. The connector executes the NETCONF GET command, which is similar to the show dot1x interface GigabitEthernet 1/0/1 details command.

Below is the output of the NETCONF command.

<filter xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\">
    <identity-oper-data xmlns=\"http://cisco.com/ns/yang/Cisco-IOS-XE-identity-oper\">
        <session-context-data>
            <intf-iifid>___interface_index___</intf-iifid>
        </session-context-data>
    </identity-oper-data>
</filter>

Below is the output of the NETCONF command.