All the Ports are discovered as Interfaces on Switch.
search cancel

All the Ports are discovered as Interfaces on Switch.

book

Article ID: 384596

calendar_today

Updated On:

Products

VMware Smart Assurance VMware Telco Cloud Service Assurance

Issue/Introduction

This article will helps you to address the certification of the device with the sysOID .1.3.6.1.4.1.9.1.3079 to discover/monitor the Ports.

Environment

SMARTS - 10.1.X  & TCSA 2.X 

Cause

The certification of the device is not qualified for discovering/monitoring the Ports. Hence all the instances are discovered as Interfaces.

#Cisco catalyst C9200CX-12P-2X2G

.1.3.6.1.4.1.9.1.3079 {

    TYPE                        = Switch
    VENDOR                      = Cisco
    MODEL                       = C9200CX-12P-2X2G
    CERTIFICATION       = CERTIFIED
    CONT                        = Cisco-Router-CardSelect
    HEALTH                      = Cisco-Router-ASR-EntSensor
        VLAN            = Cisco-Membership
        NEIGHBOR                = LLDP-CDP
INSTRUMENTATION:
    Environment                         = CiscoEntityFRU:DeviceID
    CPU/Memory                          = CiscoRouter:DeviceID
    Card-Fault                          = CiscoEntityFRU
    Interface-Fault                     = MIB2
    Interface-Performance               = CiscoRouter
    Interface-Ethernet-Performance      = CiscoRouter_Ethernet
        Port-Fault                          = MIB2
        Port-Performance                    = MIB2
        Port-Ethernet-Performance           = dot3_Ethernet

Resolution

  • Below is the initial certification of the device;
#Cisco catalyst C9200CX-12P-2X2G

.1.3.6.1.4.1.9.1.3079 {

    TYPE                        = Switch
    VENDOR                      = Cisco
    MODEL                       = C9200CX-12P-2X2G
    CERTIFICATION       = CERTIFIED
    CONT                        = Cisco-Router-CardSelect
    HEALTH                      = Cisco-Router-ASR-EntSensor
        VLAN            = Cisco-Membership
        NEIGHBOR                = LLDP-CDP
INSTRUMENTATION:
    Environment                         = CiscoEntityFRU:DeviceID
    CPU/Memory                          = CiscoRouter:DeviceID
    Card-Fault                          = CiscoEntityFRU
    Interface-Fault                     = MIB2
    Interface-Performance               = CiscoRouter
    Interface-Ethernet-Performance      = CiscoRouter_Ethernet
        Port-Fault                          = MIB2
        Port-Performance                    = MIB2
        Port-Ethernet-Performance           = dot3_Ethernet

  • Now, modify the certification of the device to reflect the Containment part as Cisco-RouterToSwitch instead of Cisco-Router-CardSelect;
#Cisco catalyst C9200CX-12P-2X2G

.1.3.6.1.4.1.9.1.3079 {

    TYPE                        = Switch
    VENDOR                      = Cisco
    MODEL                       = C9200CX-12P-2X2G
    CERTIFICATION       = CERTIFIED
    CONT                        = Cisco-RouterToSwitch
    HEALTH                      = Cisco-Router-ASR-EntSensor
        VLAN            = Cisco-Membership
        NEIGHBOR                = LLDP-CDP
INSTRUMENTATION:
    Environment                         = CiscoEntityFRU:DeviceID
    CPU/Memory                          = CiscoRouter:DeviceID
    Card-Fault                          = CiscoEntityFRU
    Interface-Fault                     = MIB2
    Interface-Performance               = CiscoRouter
    Interface-Ethernet-Performance      = CiscoRouter_Ethernet
        Port-Fault                          = MIB2
        Port-Performance                    = MIB2
        Port-Ethernet-Performance           = dot3_Ethernet
  • Add the below code to DISCOVERY_CISCO.import file
GA_CompoundDriver::Containment-Cisco-RouterToSwitch-Driver {
    drivers = {
        {"Containment-Create-Interface-Driver", 10},
        {"Containment-Create-Interface-Ext-Driver", 20},
        {"Containment-Create-Port-IfDescr-Driver", 30},
        {"Cisco-Card-Selector-Driver", 40},
        {"Containment-IfMIB-Stack-Driver", 50},
        {"Containment-IfTable-Driver", 60}
    }
    waitForCompletion = TRUE
}
 
  • Reload the OID using the below command;
sm_tpmrg -s <IP domain> --reloadoid
  • Rediscover the device and observer that the Ports are discovered correctly now.

Additional Information

The issue has been fixed in TCSA 2.4.0.X patch.