Smarts IP: Why are EtherChannels/PortChannels not getting discovered for Nexus devices via SNMP discovery?
search cancel

Smarts IP: Why are EtherChannels/PortChannels not getting discovered for Nexus devices via SNMP discovery?

book

Article ID: 331705

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


Discovered a Nexus device in Smarts via SNMP and it doesn't detect/discover Port Channels

Environment

VMware Smart Assurance - SMARTS

Cause

In Smarts, by default ,the device certification for Nexus devices has CLI driver to check for EtherChannel discovery. SNMP discovery will not check for EtherChannel discovery.

Resolution

Below workaround can be implemented if CLI access to device from Smarts is not permitted and only SNMP discovery is possible.

Smarts make use PAGP or LAGP MIB for creating AggregatePorts/PortChannel/EtherChannel.
PAGP MIB OIDs:
.1.3.6.1.4.1.9.9.98.1.1.1.1.1
.1.3.6.1.4.1.9.9.98.1.1.1.1.817


LAGP MIB OIDs:
.1.2.840.10006.300.43.1.1.1.1.8
.1.2.840.10006.300.43.1.1.1.1.2
.1.2.840.10006.300.43.1.1.1.1.4
.1.2.840.10006.300.43.1.2.1.1.13
.1.2.840.10006.300.43.1.2.1.1.9
.1.2.840.10006.300.43.1.2.1.1.3
.1.2.840.10006.300.43.1.2.1.1.17
.1.2.840.10006.300.43.1.2.1.1.14


Make sure either of the above MIBs is enabled on the device SNMP configuration.

If the above OIDs are available in device configuration, implement the below steps in Smarts IP installation:
a) Navigate to <Basedir>/IP/smarts/bin
b) Use sm_edit to open DISCOVERY_GENERIC.import file:
./sm_edit ../conf/discovery/DISCOVERY_GENERIC.import

c) As per the Nexus device model/series present in your Smarts topology, implement the below changes required.
To enable Aggregate Port discovery on Nexus 7k devices:
- Search for "Nexus7K-Selector"
- You will find code snippet as below:
   GA_Selector::Null-Nexus7K-Selector {
               selector = ".1.3.6.1.4.1.9.12.3.1.3.612|.1.3.6.1.4.1.9.12.3.1.3.777|.1.3.6.1.4.1.9.12.3.1.3.932"
               Driver = GA_NullDriver::Null-Nexus7K-Driver
                },


- Change the following line:Driver = GA_NullDriver::Null-Nexus7K-Driver
   to below:
   Driver = GA_CompoundDriver::EtherChannel-Generic-Driver

To enable Aggregate Port discovery on Nexus 6k devices:
- Search for "Nexus6K-Selector"
- You will find code snippet as below:
   GA_Selector::Null-Nexus6K-Selector {
               selector = ".1.3.6.1.4.1.9.12.3.1.3.847|.1.3.6.1.4.1.9.12.3.1.3.899|.1.3.6.1.4.1.9.12.3.1.3.1062"
               Driver = GA_NullDriver::Null-Nexus6K-Driver
                },


- Change the following line: Driver = GA_NullDriver::Null-Nexus6K-Driver
   to below:
   Driver = GA_CompoundDriver::EtherChannel-Generic-Driver

To enable Aggregate Port discovery on Nexus 5k devices:
- Search for "Nexus5K-Selector"
- You will find code snippet as below:
   GA_Selector::Null-Nexus5K-Selector {
                selector = ".1.3.6.1.4.1.9.12.3.1.3.719|.1.3.6.1.4.1.9.12.3.1.3.798|.1.3.6.1.4.1.9.12.3.1.3.1008|.1.3.6.1.4.1.9.12.3.1.3.1038|.1.3.6.1.4.1.9.12.3.1.3.1084"
                Driver = GA_NullDriver::Null-Nexus5K-Driver
                 },


-  Change the following line:Driver = GA_NullDriver::Null-Nexus5K-Driver
    to below:
    Driver = GA_CompoundDriver::EtherChannel-Generic-Driver

d) Save and close the file.
e) Restart IP domain.
f) Delete and discover the devices.