Troubleshooting reachability issue between VD and Appliance


Table of Contents

Case1: Check IP Reachability

Case2: Check Netconf/SSH

Case3: Contact Support

 

Purpose

The purpose of this document is to provide users tools and steps to narrow down and mitigate reachability issue between Director and Appliance (branch). Director communicates with appliance using netconf protocol over SSH on TCP port 2022. It is importance to understands that VD communicates with Appliances only via controller. 

Case1: Verify IP Reachability between versa Director and Branch

 1.1 Ping Branch Management IP from director shell.

 

1.2 Check IP Reachability between director to controller.

 

 

 

1.3 Check the IP Reachability between controller and branch

 

 

 

 

 

 

 

 

tcpdump <wan interface> filter "'host <branch WAN IP address> greater 1000 and less 1200 -w inet.cpap'"

 

 

tcpdump <wan interface> filter "'host <controller WAN IP address> greater 1000 and less 1200 -w mpls.cpap'"

Case2: Verify netconf/ssh on Director and Branch 

2.1 Verify hash values of director and the branch. 

 

2.2 Run a netconf-check.sh script on Director.

 

admin@director1:~$ /opt/versa/vnms/scripts/netconf-check.sh 10.1.64.101 versa123

PING 10.1.64.101 (10.1.64.101) 56(84) bytes of data.

64 bytes from 10.1.64.101: icmp_seq=1 ttl=63 time=2.70 ms

64 bytes from 10.1.64.101: icmp_seq=2 ttl=63 time=1.44 ms

64 bytes from 10.1.64.101: icmp_seq=3 ttl=63 time=1.12 ms

 

--- 10.1.64.101 ping statistics ---

3 packets transmitted, 3 received, 0% packet loss, time 2003ms

rtt min/avg/max/mdev = 1.120/1.756/2.707/0.685 ms

Warning: Permanently added '[10.1.64.101]:2022' (RSA) to the list of known hosts.

<?xml version="1.0" encoding="UTF-8"?>

<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<capabilities>

<capability>urn:ietf:params:netconf:base:1.0</capability>

<capability>urn:ietf:params:netconf:base:1.1</capability>

===== SUCCESS: IPAddress and NetConf port is reachable and also able to do basic hand-shake====

2.3 Verify netconf/2022 is opened on Director and Branch

 

2.4 Check vnf-manager configuration on Appliance. 

 

  

 

2020-04-02 21:34:30.686 ALERT notif_read_cb: NETCONF session 114883 started

2020-04-02 21:34:30.841 ALERT oam_raise_config_change: Pending: Alarm found, Configuration changed : username (admin), context (netconf), time&date (Thu Apr  2 21:34:30 2020
)
 2020-04-02 21:34:31.579 ALERT notif_read_cb: NETCONF session 114883 ended

2.5 Check services are running on the branch.

Please ensure all services are running on the branch, specifically monit for the netconf to work:

vsh status

2.6 You can enable netconf traces from director and at the branch to isolate the netconf issue further.

Note: Please remember to delete all trace commands once troubleshooting is done and the trace will be used for further review. It is suggested to enable trace logs with consultation with versa support.


 set devices global-settings trace pretty
 set devices global-settings trace-dir /var/log/vnms/ncs

Note: Netconf trace will be created for the device under director /var/log/vnms/ncs/netconf-<device>.trace

 

admin@director1:/var/log/vnms/ncs$ tail -f netconf-Hub-2.trace

>>>>out 2-Apr-2020::07:12:06.922 device=Hub-2 session-id=113482

<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"

     message-id="4">

  <edit-config xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0">

    <target>

      <candidate/>

    </target>

    <test-option>test-then-set</test-option>

    <error-option>rollback-on-error</error-option>

    <config>

      <orgs xmlns="http://www.versa-networks.com/org">

        <org-services>

          <name>Tenant-1</name>

          <class-of-service xmlns="http://www.versa-networks.com/class-of-service">

            <qos-profiles>

              <qos-profile>

                <name>test</name>

                <dot1p-rw-enable>no</dot1p-rw-enable>

                <loss-priority>low</loss-priority>

                <dscp-rw-enable>yes</dscp-rw-enable>

                <peak-kbps-rate>10000</peak-kbps-rate>

                <forwarding-class>fc_nc</forwarding-class>

              </qos-profile>

            </qos-profiles>

          </class-of-service>

        </org-services>

      </orgs>

    </config>

  </edit-config>

</rpc>

 


set confdConfig logs confdLog enabled
set confdConfig logs developerLog enabled
set confdConfig logs developerLogLevel trace
set confdConfig logs netconfLog enabled
set confdConfig logs netconfTraceLog enabled

Case3: Contact Support

Capture Logs all above outputs and contact Versa Support.
NOTE: Log the putty/terminal session to capture all outputs when performing requested steps, will be helpful when engaging Support.