Questions tagged [cisco]

For software development issues related to Cisco hardware. Networking and configuration questions should be asked on https://networkengineering.stackexchange.com/

Cisco Systems is a widely deployed brand of networking and telecommunications gear. Questions using this tag should cover software development related to Cisco equipment. Questions about configuration and administration of network gear should be posted on Server Fault. Network design and protocol questions should go to Network Engineering

1035 questions
166
votes
1 answer

Netflow record can't get octets (jnca)

I'm using jnca library to collect NetFlow records sent by a router. The version of the NetFlow record sent by the router is version 9. When the NetFlow packet is observed from the Wireshark the flow sets with the template id 263 contains the data…
Asiri Liyana Arachchi
  • 2,663
  • 5
  • 24
  • 43
45
votes
10 answers

ssl.SSLError: tlsv1 alert protocol version

I'm using the REST API for a Cisco CMX device, and trying to write Python code which makes a GET request to the API for information. The code is as follows and is the same as that in the file except with the necessary information changed. from…
finaris
  • 513
  • 1
  • 6
  • 13
37
votes
3 answers

Cisco VPN client on Ubuntu 16.04 LTS

I am trying to install Cisco VPN Client on Ubuntu, but I am facing problems. So How can I install it on Ubuntu 16.04 LTS ?
SK7
  • 643
  • 1
  • 6
  • 15
29
votes
8 answers

paramiko Incompatible ssh peer (no acceptable kex algorithm)

I'm getting the following error when trying to ssh to a Cisco ACS device using the paramiko library. I've used paramiko in python without issue, and I can ssh to this box from the command line, or using putty without issue. I've turned on…
Tony
  • 391
  • 1
  • 4
  • 11
16
votes
5 answers

Connect CISCO Anyconnect VPN via bash

As title says, trying to connect vpn via bash. The following script seemed closest to the answer I'm looking for: #!/bin/bash /opt/cisco/anyconnect/bin/vpn -s << EOF connect…
Brayden Hancock
  • 786
  • 1
  • 6
  • 22
15
votes
3 answers

Connecting to a VPN without installation of client software

I must sometimes write software to establish a socket with a particular server residing within a Cisco VPN. I simply write my software as if there were no VPN (making use of the standard sockets library). When it is time to run this program, I…
Adam Paynter
  • 46,244
  • 33
  • 149
  • 164
15
votes
3 answers

Python: SSH into Cisco device and run show commands

I have read over this post extensively and have researched Exscript, paramiko, Fabric and pxssh and I am still lost Persistent ssh session to Cisco router . I am new to python scripting. I am attempting to write a script in Python that will SSH into…
D3l_Gato
  • 1,297
  • 2
  • 17
  • 25
10
votes
1 answer

What is the difference between exec_command and send with invoke_shell() on Paramiko?

So what is the difference between SSHClient.exec_command() and send with SSHClient.invoke_shell on Paramiko? I can send and execute command with exec_command to MikroTik router device but can't execute it with send (invoke_shell()). On the other…
Adhy
  • 177
  • 1
  • 1
  • 10
9
votes
1 answer

Error trying to install Numpy

I am currently running Yocto-distr on a Cisco Router (so this is embedded-Linux system call Guest-Os). I already have python-2.7.3 version installed. I am currently to install Numpy. However, the installation wasn't successful, and I have no idea…
andy_tse
  • 189
  • 1
  • 5
  • 13
8
votes
4 answers

Persistent ssh session to Cisco router

I have search on this site and multiple other locations but I have been unable to resolve my problem of connecting and maintaining ssh session after one command. Below is my current code: #!/opt/local/bin/python import os import pexpect import…
msudi
  • 169
  • 1
  • 1
  • 8
8
votes
9 answers

Managing Cisco programmatically; Telnet vs SNMP?

I was recently approached by a network-engineer, co-worker who would like to offload his minor network admin duties to a junior-level helpdesk tech. The specific location in need of management acts as an ISP for tenants on its single-site…
crftr
  • 8,488
  • 4
  • 34
  • 44
7
votes
1 answer

Access VPN connection on guest Virtual PC from Host OS

I am running as my Host OS - Win 7 x64 and running an instance of Virtual PC XP. I am running the Cisco ISPec VPN Client on the Guest XP VPC OS and can successfully connect to my company's corporate network. I cannot run the Cisco IPSec client sw…
RobDemo
  • 291
  • 5
  • 13
7
votes
1 answer

AnyConnect disconnect then reconnect when starting a new docker container

I connect to my company VPN with AnyConnect (using this rather than openconnect to allow single sign on to work). When I run a docker container that's not using network driver "host", my VPN disconnects then reconnects. My VPN connection is still…
eotfofiw
  • 101
  • 2
7
votes
7 answers

Programatially determine if Cisco VPN Client is connected

I am working with the basic Cisco VPN client (v.5 I believe). Is there anyway to determine programatically if a partciular profile (or any profile for that matter) is connected? I'm looking to somehow get a status from the client itself. I don't…
Mike Marshall
  • 7,788
  • 4
  • 39
  • 63
7
votes
1 answer

How to use cBarge (Barge) to create conference with JTApi

We have 2 cisco phones: one for call manager and another for his superviser. We need to create a conference when the manager answers and put the supervisor's phone on mute. We are trying to achieve it using JTApi: wait for event TermConnActiveEv,…
balbelias
  • 428
  • 5
  • 17
1
2 3
68 69