Questions tagged [cisco]

-1

votes
1

answer
50

Views

openconnect vpn not change resolv.conf from GUI . Fedora 29

I try to connect to the VPN with openvpn. If I connect from the cli with sudo openconnect..... its working fine. The vpn change the /etc/resolv.conf to the desired format. But If I would connect from the GUI. Settings > Network > VPN it doesn-t change the resolv.conf The SELinux is in permissive mod...
GergA
1

votes
1

answer
796

Views

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 the typical SSH login to the controller: $ ssh (Cis...
mwalto7
1

votes
1

answer
129

Views

Jabber - xmpp conflict

I'm building a custom Jabber connector (desktop app) for a bot developped internaly. I can correctly authenticate my user to my Jabber Server through XMPP. But when i want to perform a bind, the server always send me back a 409 conflict. I've tried with pidgin and the cisco jabber SDK (https://githu...
Tdc
1

votes
1

answer
23

Views

Cisco CCE: REST Update Request ErrorMessage: The specified URL does not exist

When i try to update agent skillgroup by REST Request i'm getting the following response: https://x/unifiedconfig/config/agent/(id) The specified URL does not exist. notFound.dbData There were one or more errors processing the following request: update https://x/unifiedconfig/config/agent/(id) opera...
shdr
1

votes
0

answer
509

Views

Powershell posh-ssh and cisco

I am having some issues getting command to work with posh-ssh and Cisco gear. Commands are pretty simple; New-SSHSession -ComputerName 10.10.101.240 -Port 22 Will connect fine, and will give me an ID. I then try Invoke-SSHCommand -SessionId 0 -Command 'show version' but I always get Exception calli...
markdem
1

votes
0

answer
22

Views

Post data to Azure Event Hub without additional request headers

We're using Cisco Meraki dashboard, we have client devices reporting wifi data, this is handled by Meraki. The only option they've given us is to input a redirection endpoint so we can get the data as it gets reported. There isn't any way of appending additional request headers, so that the dashboar...
Naughty Ninja
1

votes
1

answer
58

Views

Run a command (to backup a configuration) on multiple servers (routers) in Python

Is it possible to have a script iterate through each IP and backup running configuration on a local tftp server import paramiko import sys import time USER = 'root' PASS = 'cisco' HOST = ['10.10.10.10','11.11.11.11','12.12.12.12'] i=0 while i
Jim Halpert
1

votes
1

answer
26

Views

PYSNMP v3 vs CISCO

I'm trying to get an answer from ucs-6100 by SNMP. Through the console: (analogue of my request) >>> snmpget -v3 -l authPriv -u usr-sha-aes -A authkey1 -X privkey1 -a SHA -x AES demo.snmplabs.com SNMPv2-MIB::sysDescr.0 I succeed But when I use a pysnmp (like this) from pysnmp.hlapi import * resp = n...
Alex
1

votes
0

answer
29

Views

Good example of multi-vendor & multi-location & multi-type inventory for Ansible

I wonder if there are any good example of multi-vendor & multi-location & multi-type inventory for the network automation with Ansible. i.e. we have a heterogenous network, which includes Juniper firewalls, Cisco switches, and Linux firewalls&VPN servers. the idea behind the automation - to have a s...
epiq sty
1

votes
3

answer
417

Views

Interfacing with telephony systems from *nix

Does anyone know of any 'standard' way to interface with a telephony system (think Cisco CCM) from a C/C++ app in *nix? I have used MS TAPI in the past but this is Windows only and don't want to go the jTAPI (Java) route, which seems to be the only option on the face of it. I want to monitor the ph...
Rob
1

votes
2

answer
1.3k

Views

Can the Cisco VPN API be accessed from VBA?

There is an API for Cisco VPN (vpnapi.dll). Is it possible to use this API from VBA code? Thanks!
Kuyenda
1

votes
1

answer
1.5k

Views

Need a Script to Format PIX/ASA log into CSV

I'm working a project to parse various on a server into csv. Does anyone have a good perl script or gawk statement that can parse a standard PIX/ASA log into CSV... Thanks.
deFonza
1

votes
1

answer
1.1k

Views

getting the Cisco Call Manager - Call data records (CDR) from .NET

This question is an important research challenge for me! Does anyone know any way to get the call detail records Cisco (CDR) from a net 3.5 application, which is not using the Web service CDROnDemand? Thanks in advance!
Esteban Lopez
1

votes
2

answer
1.8k

Views

Paramiko: failed to re-use ssh session when connecting to Cisco C2960 switcher

I'm trying to write a simple script to connect Cisco C2960 switcher.I just can't figure out how to re-use the ssh session to execute more than two commands. There's a discussion on SO, Persistent ssh session to Cisco router but none of the answers provided there can solve my problem. Here's my code:...
yegle
1

votes
1

answer
1.6k

Views

Vlan State from MIB-2

I need to get vtpVlanState results on MIB-2. I need the vlan indexes that this object returns and I need to know whether this vlan is active. The reason I want to do this in mib-2 is because I want to do the same command(snmp) in all the switches and not only on cisco. Is there anyway to do that? th...
Lee
1

votes
2

answer
5.9k

Views

Ruby script to telnet switch

I've created the following ruby script that telnet to Cisco devices, that telnet to Cisco devices and run command 'show int status err'. require 'net/telnet' C3550_20_PterraEst = '192.168.244.20' #Enter the IP address here USER = 'user' #Enter username here PASS = 'password' #Enter password here E...
Marco
1

votes
2

answer
478

Views

Perl: Unable to check validity of hostname for Net::Appliance::Session

When I tried to pass an invalid hostname, the code will get into an infinite loop. my $s = Net::Appliance::Session->new({ personality => 'ios', transport => 'SSH', host => $ip }); Is there a way to overcome this bug? EDIT: Here's my full code: I use the subroutine to download the config file of my...
Sakura
1

votes
1

answer
315

Views

what do i need to develop an asterisk script to auto create and assign extensions to clients who have joined my network

the idea is having a LAN with an Asterisk server installed such that if someone connects to the network, the asterisk server gets to know about the 'joined client event' connection and consequently creates credentials necessary for that client to place a voip call to another person on the network....
Codepassion
1

votes
1

answer
587

Views

Regex to find search term and place result in another data file?

Not sure if the title of this question is correct or not, so let me give a bit of background information. I have two text files. One called data.txt and the other called results.txt. In the data file I have the result of a 'show version' on a Cisco networking device. It looks like the following: Cis...
kiddsupreme
1

votes
1

answer
1.6k

Views

Android make Call from specific 3rd party Voip App (like Cisco Jabber) using Telephony Manager

I am making a call from my Android Application and it lists a set of apps that is capable of placing calls and user can select one to place calls. But what I want to know, Is there a way to redirect the call to a specific 3rd party VOIP App (like Cisco Jabber) instead of listing all apps** capable o...
Arun Paarthi
1

votes
4

answer
2.9k

Views

How to manage Cisco IOS configuration file versioning?

Just wondering what is the best way to give configurations a version. To elaborate - I want to have different versions of configuration files and query the running-config for the currently running configuration version. Is there a MIB OID that I can set to specify the current running configuration...
ac84
1

votes
1

answer
467

Views

ASA failover and L3 behind

Here is my setup https://dl.dropboxusercontent.com/u/16923193/asa%20failover.JPG As you can see, we have dual ASA 5512-X used for Internet access, VPN and so on, and L3 3560-X behind them, that’s connected to L2 access switches. ASA config is ok so far. Failover is working between ASAs (when prim...
1

votes
1

answer
899

Views

Specific runtime environment commands doesn't work in SSH.NET

I'm using SSH.NET to connect (with username + password) to a server and run some commands. Connection to server is made to manage some components via Cisco Application Control Software, but that shouldn't matter because command are sent as they are. Connection to server works well, all other comma...
RonLut
1

votes
2

answer
1.1k

Views

Talking to Cisco equipment using go ssh library

I'm trying to implement monitoring various Cisco ASR parameters doing ssh to router and using show commands to get results. Here is part of the workflow (error handling omitted): client, err := ssh.Dial('tcp', '172.16.32.95:22', config) session, err := client.NewSession() sshOut, err := session.Stdo...
tchu
1

votes
1

answer
1.4k

Views

Cisco visual message waiting indicator ( VMWI or MVI )

How can I programatically illuminate Cisco IP Phones Visual message waiting indicator (VMWI or MWI) ? For sipwiz Answer: IP Adress 10.1.1.2 => is local IP in which I will send SIP Notify Message IP Address 10.1.1.9 => is IP Address of Cisco Phone that I will send SIP Message The Cisco Phone that I...
Hippias Minor
1

votes
1

answer
5k

Views

ssh connection handle pexpect in python

I was trying to automate a system where we have a linux box but customized.. to go to shell we have to pass some input. like below: tanuj$ ssh [email protected] Used by Tanuj Password: command line interface app > en app # config t app (config) # I have written a script using pexpect in python. I...
Tanuj
1

votes
1

answer
457

Views

What kind of format is this? Cisco WIM Chat Transcript

O{bTyp | S{WCS-STD}bUsr | S{Paul R Dunaway}bUid | S{1350}sCmd | S{}sId | A{}sNme | S{}sUrl | S{}sLbl | S{}sCok | S{}mMsg | S{All Other Software}fAct | S{}fTyp | S{}fKey | S{}fVal | S{}bUserType | S{CUST}transType | S{}mTsp | S{2012-01-26 15:03:04}}|O{bTyp | S{WCS-STD}bUsr | S{system}bUid | I{-1}...
JD Roberson
1

votes
1

answer
296

Views

To get IP address of Cisco UCS emulator running on VMware

I am running a Cisco UCS emulator on VMware workstation to go with my project I need to get a IP address of this UCS emulator through Eclipse by using Java code. i have tried public class Ipadd { public static void main(String[] args) { try { InetAddress inetAddr = InetAddress.getLocalHost(); byt...
user3328241
1

votes
1

answer
504

Views

Jenkins and Cisco Anyconnect on OS X server

I have a customer that is using Cisco's Anyconnect as a vpn client in front of the repository I need to pull from. I am trying to find out if Jenkins has a plugin for Cisco's Anyconnect or a solution to get the automation past it? I suggested that the repository be mirrored to my github, but that ha...
JJacquet
1

votes
2

answer
70

Views

SUM information but retain ResourceID (EmployeeNum)

In the linked sample below you will see sample telephony data from Cisco UCCX Express from the agentconnectiondetail table. This is the query I am running: SELECT * FROM agentconnectiondetail WHERE startdatetime >= TO_DATE('01-01-2015 05:00','%m-%d-%Y %H:%M') AND sessionseqnum = 0 My question is ho...
rynsmns
1

votes
1

answer
183

Views

JTAPI for CUCM Multi Cluster

How to use JTAPI for multi-cluster of CUCM (Cisco Unified Communication Manager)? As my understanding, if there is only one cluster, I should create a JTAPI Provider instance for the cluster, and work on it for making calls, monitoring calls. But if there are many clusters (I think this is general c...
Simon Liu
1

votes
1

answer
663

Views

Telnet client for Cisco switch using Android java apps

I am trying to write an Android apps as telnet client for cisco switch(2960) using apache.commons.net.telnet. But i have problem for connection. No output displayed on android emulator, but ConnectBot is running on the same emulator and can telnet to the switch perfectly. Here is code sample: MainAc...
emmesh
1

votes
3

answer
781

Views

Python Exscript - JunOS

I'm trying to to run a script to show all of the configuration and write them on files for juniper and CISCO routers. So far the CISCO script is working as it should but the thing is with the juniper router. for ii in JUNIPER: print ii cmd2 = 'show configuration | display set' conn.connect(ii) con...
D Go
1

votes
1

answer
189

Views

Cisco vwlc SHA2 certificates not supported bug?

I currently have an app running with a Cisco virtual Wireless Lan Controller, all works fine except we get some error messages regarding SHA1 certificates, when I'm looking for SHA2 support the cisco release notes tell me that SHA2 certificates are not supported, even in the latest 8.2.100.0 release...
Serge
1

votes
1

answer
73

Views

Last expect instruction is not executed

I'm working on a script to automatize instructions on an IOS Cisco router, using the expect commands. Here is the script I wrote: #!/bin/expect #log_user 0 set timeout 60 set mode [lindex $argv 0] spawn ssh [email protected] expect '*assword:' { send 'mypassword\r' } expect '*>' { send 'enable \r' }...
Razaborg
1

votes
1

answer
646

Views

Method Not Allowed using Cisco REST API

I am trying to change agent state using REST API provided from Cisco. here is the code that I wrote : ServicePointManager.ServerCertificateValidationCallback = new System.Net.Security.RemoteCertificateValidationCallback(AcceptAllCertifications); HttpWebRequest request = (HttpWebRequest)WebRequest.Cr...
Ali Alzahrani
1

votes
1

answer
115

Views

How to describe scopes in EBNF?

I'm trying to write a parser for Cisco IOS and ASA configurations, using Grako and Python. I'm trying to figure out how to represent 'scoped' keywords in EBNF - for example, the 'description' keyword must appear inside an interface scope, but there are multiple options for interface and they are all...
AnotherHowie
1

votes
1

answer
334

Views

Cisco IOS random number generator

I was wondering if anyone knew if Cisco IOS (that is, the mainline IOS, not the XE or XR trains) had an internal secure random number generator similar to Unix-style /dev/urandom? If so, what and if not, what does eg. OpenSSL use for seed entropy in Cisco IOS?
ayylmao
1

votes
1

answer
1.5k

Views

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 any/very-few third-party modules/libraries other than...
katiepy
1

votes
1

answer
6.7k

Views

XML validation No matching global declaration available for the validation root

I have an XML schema provided by Cisco for an IOS XE router. When running the command 'show ip access-list test | format' in the router's cli, it spits out an XML fragment that should validate against this schema. However it does not. Instead I get the error ': No matching global declaration availab...
Chris

View additional questions