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
2
votes
0 answers

Using Ansible to delete old usernames across entire company network devices

Created below test yml file against test switches to nail down configs, error below. I defined provider in last task with no luck as well --- - hosts: aus2-mdf-testswitches gather_facts: no connection: local tasks: - name: OBTAIN LOGIN…
2
votes
1 answer

Ansible: (unexpected) hostvars items always overwritten by values for last host in group during task loop

I am attempting to write an Ansible playbook that runs a handful of tasks to configure Cisco IOS routers. Some of these tasks need to loop over list variables that are defined at the host variables file level. For example, given one or more…
2
votes
1 answer

Freeradius with LDAP - Cisco WLC - Authentication Failing

I am getting the following error in debug mode [mschapv2] +group MS-CHAP { [mschap] No Cleartext-Password configured. Cannot create LM-Password. [mschap] No Cleartext-Password configured. Cannot create NT-Password. [mschap] Creating challenge hash…
Eli
  • 29
  • 1
2
votes
1 answer

Golang SSH to Cisco Wireless Controller and Run Commands

I am trying to SSH to a Cisco wireless controller through Go, using Go's golang.org/x/crypto/ssh library, to programmatically configure access points. The problem I'm running into is correctly parsing the controller CLI in Go. For example, this is…
mwalto7
  • 307
  • 6
  • 19
2
votes
2 answers

Netmiko library returns pattern never detected in send_command_expect

I am working as a network engineer and I have tried to automate routine tasks with some python scripts. We are using cisco so I thought it would be nice to implement netmiko library. Here is the part of the script which is used to connect to device…
i80r
  • 21
  • 1
  • 3
2
votes
1 answer

Make a phone call from Cisco Jabber using .Net console app

I am trying to make a phone call from .Net console Application using Jabber client installed on my laptop. I want to achieve something similar that you would achieve by the following anchor command in HTML:
Arun Kumar
  • 907
  • 13
  • 33
2
votes
4 answers

python3 telnet read_all() doesn't work

I am telneting to a Cisco router via Python3. However, it hangs up after running the script (But I am able to telnet to the router from my Linux bash). Please see the snippets of my script and outputs below. import getpass import telnetlib HOST =…
Jones Doe
  • 51
  • 1
  • 6
2
votes
1 answer

Cannot print CDP Packet IP Address, but LLDP works fine

I am having an issue where I am trying to use Python's pyshark to read in IP addresses. I was able to print out the IP address of an LLDP packet just fine, using packet.lldp.mgn_addr_ip4. However packet.cdp... does not seem to have an equivalent,…
natzberg
  • 31
  • 5
2
votes
1 answer

Providing input/subcommands to command executed over SSH with JSch

I'm trying to manage router via Java application using Jcraft Jsch library. I'm trying to send Router Config via TFTP server. The problem is in my Java code because this works with PuTTY. This my Java code: int port=22; String name ="R1"; String ip…
2
votes
1 answer

Connect CISCO Anyconnect VPN via Python

I am trying to connect to CISCO Anyconnect VPN via python function. I have seen the ways given here: Connect CISCO Anyconnect VPN via bash But first I have a couple of problems, the first one being new to Python and second being reluctant to use…
katiepy
  • 95
  • 1
  • 1
  • 6
2
votes
2 answers

Reading XMPP console using node-xmpp

I have an issue at work and I can't find a solution. I know StackOverflow questions aren't for documentation, but apparently the documentation for node-xmpp is rather... "light". My problem is the following: I have an xmpp client connected to a…
SmashingQuasar
  • 411
  • 2
  • 13
2
votes
1 answer

cisco switch enable port pysnmp

trying to convert this line in to pysnmp snmpset -v 2c -On -r 5 -t 2 -c private ip-address .1.3.6.1.2.1.2.2.1.7.369098771 i 1 I am trying to take a working walk function and modify it but my knowledge with SNMP makes it very hard to understand…
2
votes
1 answer

enter priviledge executive mode in php code via ssh and exec commands

I am writing a php code that connects to a cisco router via ssh. I am facing a problem (returning null) when getting the interfaces' info. Here is the code that I wrote: $ssh = new Net_SSH2($ip); if (!$ssh->login($user, $pass)) { exit('Login…
aline
  • 27
  • 1
  • 6
2
votes
2 answers

Directly accessing eth0 when using Docker while Cisco AnyConnect Secure Mobility Client is providing a VPN tunnel

When VPN is active, all the traffic seems to be tunneled through csctun0. Using a VirtualBox I am able to set up a "network bridge" to eth0, which seems to completely ignore the manipulations made by Cisco's software. The VirtualBox directly…
deviolog
  • 119
  • 6
2
votes
1 answer

How to query UCCX stored procedures from informix database using razorsql?

I am new to stored procedures, informix, and UCCX. I am working on a project to consolidate reporting into on BI tool, and it appears there are several UCCX stored procedures that could be great time savers for bringing the UCCX historical reporting…