Configuring Cisco Tetration Analytics

Overview

This article provides examples of how to configure Cisco Tetration when using the Cisco APIC. The following information applies when configuring Cisco Tetration.

  • An inband management IP address must be configured on each leaf where the Cisco Tetration agent is active.

  • Define an analytics policy and specify the destination IP address of the Cisco Tetration server.

  • Create a switch profile and include the policy group created in the previous step.

Configuring Cisco Tetration Analytics Using the NX-OS Style CLI

Procedure


Step 1

configure terminal

Enters global configuration mode.

Example:

apic1# configure terminal 
Step 2

analytics cluster cluster_name

Create the analytics policy.

Example:

apic1(config)# analytics cluster cluster1
Step 3

flow-exporter server_name

Configure external analytics information.

Example:

apic1(config-analytics)# flow-exporter server1
Step 4

destination ip_address

Configure the destination port.

Example:

apic1(config-analytics-cluster-exporter)# destination 192.0.2.1
Step 5

exit

Exit command mode.

Example:

# apic1(config-analytics-cluster-exporter)# exit
Step 6

exit

Exit command mode.

Example:

apic1(config-analytics)#  exit
Step 7

fabric-internal

Enters fabric internal configuration mode.

Example:

apic1(config)# fabric-internal
Step 8

template leaf-policy-group leaf_group_name

Define leaf policy group.

Example:

apic1(config-fabric-internal)# template leaf-policy-group lpg1
Step 9

inherit analytics-policy cluster cluster_name server server_name

Associate analytics policy to leaf policy group.

Example:

apic1(config-leaf-policy-group)# inherit analytics-policy cluster cluster1 server server1
Step 10

exit

Exit command mode.

Example:

apic1(config-leaf-policy-group)# exit
Step 11

leaf-profile lleaf_profile_name

Define leaf profile.

Example:

apic1(config-fabric-internal)# leaf-profile lp1
Step 12

leaf-group leaf_group_name

Define leaf group.

Example:

apic1(config-leaf-profile)# leaf-group lg1
Step 13

leaf-policy-group leaf_policy_group_name

Associate leaf policy group to leaf group.

Example:

apic1(config-leaf-group)# leaf-policy-group lpg1
Step 14

leaf leaf_group_number

Add nodes to leaf group.

Example:

apic1(config-leaf-group)# leaf 101
Step 15

show analytics

Display analytics.

Note 

The destination port is not configurable. UDP port 5640 is always used for leaf switches and UDP port 5641 is always used for spine switches.

The DSCP is not configurable. VA (Voice Admit) is always used.

Example:

apic1# show analytics
Cluster              : cluster1
  Config Server Name : server1
    Destination IP   : 192.0.2.1
    Destination Port : unspecified
    DSCP             : VA
Step 16

show running-config analytics

Display running configuration analytics.

Example:

apic1# show running-config analytics
# Command: show running-config analytics
# Time: Wed May 25 21:14:43 2016
  analytics cluster cluster1
    flow-exporter server1
      destination 192.0.2.1
      destination-port unspecified
      dscp VA
      ip-filter-action deny
      exit
    exit
apic1#