Smarts IP: How do I create NetworkConnections between layer3 switches and their neighboring routers?
search cancel

Smarts IP: How do I create NetworkConnections between layer3 switches and their neighboring routers?

book

Article ID: 303873

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


How do I create Smarts IP NetworkConnections between layer3 switches and their neighboring routers?

Smarts IP NetworkConnections are not being created between some layer3 switches and their neighboring routers

Environment

VMware Smart Assurance - SMARTS

Cause

By default, AM only discovers these NetworkConnections for layer3 switches with the following SysOIDs:

.1.3.6.1.4.1.9.1.400|.1.3.6.1.4.1.9.5.44|.1.3.6.1.4.1.4641.1.*|.1.3.6.1.4.1.5567.1.1.*

For NetworkConnections to be created on devices that are not listed in the default matching pattern, the SysOID of the layer3 switch must be added to the the tpmgr-param.conf file as described in the Fix statement of this solution.

Resolution

To create Smarts IP NetworkConnections between layer3 switches and their neighboring routers, do the following:

  1. Open the tpmgr-param.conf file for editing using sm_edit as follows:

    <BASEDIR>/IP/smarts/bin/sm_edit conf/discovery/tpmgr-param.conf

     
  2. Add the SysOID(s) of the layer3 switch or switches to the following section of the tpmgr-param.conf file.


    # Specify the sysObjIDs for the layer3 switches. This will allow us to ensure
    # that we create network connections between layer3 switches and their neighboring
    # routers - see ic-post-wan-link.asl

    Layer3SwitchPattern  .1.3.6.1.4.1.9.1.400|.1.3.6.1.4.1.9.5.44|.1.3.6.1.4.1.4641.1.*|.1.3.6.1.4.1.5567.1.1
    .*

  3. Save and close the tpmgr-param.conf file.

  4. To load the new settings in the tpmgr-param.conf configuration file in a running AM domain (without restarting), run the following command:

    <BASEDIR>/IP/smarts/bin/sm_tpmgr -s <AM_DOMAIN> --load-conf=tpmgr-param.conf

  5. To run post processing (which will create the NetworkConnections), run the following command:

<BASEDIR>/IP/smarts/bin/sm_tpmgr -s <AM_DOMAIN> --start-post