Ansible 2.5 just came out, and with it comes new network modules (and the network_cli and netconf connectivity methods). The new modules allow us to manage certain IOS configurations without always depending on the "ios_config" module, while the network_cli connectivity method means we don't always need to configure a "provider" for every
Ansible - BadHostKeyException
When executing an ansible playbook, you may get the following error:
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: paramiko.BadHostKeyException: Host key for server switch-name does not match!
This probably happened after you changed the name of your network device, and generated new RSA keys. Or, if you are using DNS
Ansible - VLAN Provisioning
Note: There is a newer guide for VLAN provisioning with Ansible 2.5
Ansible is such a powerfull tool that it can be easy to get lost in all the possibilities. Running your "network infrastructure as code" with full configs auto-generated and checked into git is the dream, but we can start simple with automating time-consuming tasks. This
Cisco Config Basics - User Port
This is my first post in a series I'm calling Cisco Config Basics. These posts will serve as a reference for anyone new to Cisco, or those of you just looking to compare your current configs. After the full config, I will explain each config item line-by-line.
In a campus network, the User Port has a lot riding on it
Cisco CSR License Install
Found a great blog post on installing a demo license on the CSR router (http://www.burningnode.com/2016/02/08/the-csr1000v-license-and-the-100kbps/), but I came across one additional (and important step below).
TL;DR - Make sure to accept the end user agreement and SAVE before reloading!
ip-10-128-228-209#reload
% Unfortunately EULA is not detected for following feature/features:
% security
% Please
Copy File to IOS Router via SCP
Enable SCP on the Cisco router:
cisco-csr(config)#ip scp server enable
Copy file from linux server to router with the following syntax:
scp filename admin@10.0.0.1:flash:/filename
IPv6 Cisco Deployment
I recently deployed a small IPv6 network to support our developers meeting Apple's IPv6 compatibility requirements (https://developer.apple.com/support/ipv6/). This was a good experience to get my feet wet with IPv6 as we have plans to dual-stack our environment in the coming year. Here are my notes:
Since this is a test/dev network, I decided to
CUCM IM change postgres external database
If you need to change the postgres external database for CUCM, there a few steps to follow:
- Change database server name
a. External server setup -> External databases - Unassign servers and disable persistent chat
a. Messaging -> Group Chat and Persistent Chat
b. Change "Persistant Chat Database Assigntment" to unsassigned
c. Uncheck "Enable Persistant Chat&
ASR 1001-X Show Transceiver
On our new ASR I was looking for a command similar to show interface 1/0/1 transceiver
, but that didn't exist. Here are the commands I found relevant to the ASR:
To show transceiver hardware details:
#show hw-module interface g0/0/1 transceiver idprom
To show transceiver temp and light levels:
#show hw-module interface g0/0/1 transceiver status