Wednesday, 20 December 2017

Cisco dCloud dumps

https://dcloud2-sng.cisco.com/session/201073/details?returnPathTitleKey=view-session&isLoggingIn=true



Putt https:// in dcloud-sng-anyconnect.cisco.com







Read the Demo guide - recommended. https://drive.google.com/open?id=1RX55dnbIQ0k2xQqecRkuNPiLt6erHKjJ



Once connected to the Cisco AnyConnect, log in to the workstation.




This is what you'll see in the workstation desktop:

Vsphere_WebClient


UCS_Manager



GitBash




CloudCenter




BuildACI_Fabric




Atom




ApicLogin




This PC



+++





Deploy an Application in Development




This page will come up.



From the side menu, click the "APP PROFILE" to display available Application Profiles.




Mouse over Splunk and click DEPLOY to deploy Splunk Application.




Copy similar in the screenshot, then click next.




Keep the defaults, click next.













+++
Ssh'ing to a Centos Server




A UCS-C240-M4 (The Apic)




Apic Controllers connected to "leaves".




Topology including Spine


Zooming in...






+++

Sample leaf interface



Sample Spine interface



Sample Policy


Fabric Memberships (TEPs)




TEP-1-101






PRIME Dumps

Creating Configuration Template







Before execution in Job Dashboard






After execution in Job Dashboard

Wednesday, 13 December 2017

JSON 01



+++



Executing 'napalm1.py'...


+++

Just a note:

NAPALM 01



https://napalm.readthedocs.io/en/latest/



Installing Napalm:

sudo apt-get update
sudo apt-get install build-essential libssl-dev libffi-dev -y
sudo apt-get install python -y
sudo apt-get install python-pip -y
pip install cryptography
pip install netmiko
pip install --upgrade pip
pip install napalm


+++

Referencing to https://napalm.readthedocs.io/en/latest/support/index.html  ...



+++



+++

  GNU nano 2.8.6                           File: napalm1.py                                     

from napalm import get_network_driver
driver = get_network_driver('ios')
iosvl2 = driver('192.168.122.71', 'adrian', 'cisco')
iosvl2.open()

ios_output = iosvl2.get_facts()
print ios_output
















Tuesday, 12 December 2017

Netmiko01_CampusNetwork-Divided into Core and Access Confiugration








  GNU nano 2.8.6                                                                                                                     File: netmikoCampus_Access-Core.py                                                                                                                               

#!/usr/bin/env python

from netmiko import ConnectHandler

iosv_l2_s1 = {
    'device_type': 'cisco_ios',
    'ip': '192.168.122.71',
    'username': 'adrian',
    'password': 'cisco',
}

iosv_l2_s2 = {
    'device_type': 'cisco_ios',
    'ip': '192.168.122.72',
    'username': 'adrian',
    'password': 'cisco',
}

iosv_l2_s3 = {
    'device_type': 'cisco_ios',
    'ip': '192.168.122.73',
    'username': 'adrian',
    'password': 'cisco',
}

iosv_l2_s4 = {
    'device_type': 'cisco_ios',
    'ip': '192.168.122.74',
    'username': 'adrian',
    'password': 'cisco',
}

iosv_l2_s5 = {
    'device_type': 'cisco_ios',
    'ip': '192.168.122.75',
    'username': 'adrian',
    'password': 'cisco',
}


with open('iosv_l2_access') as f:
    lines = f.read().splitlines()
print lines

all_devices = [iosv_l2_s5, iosv_l2_s4, iosv_l2_s3]

for devices in all_devices:
    net_connect = ConnectHandler(**devices)
    output = net_connect.send_config_set(lines)
    print output




with open('iosv_l2_core') as f:
    lines = f.read().splitlines()
print lines


all_devices = [iosv_l2_s2, iosv_l2_s1]

for devices in all_devices:
    net_connect = ConnectHandler(**devices)
    output = net_connect.send_config_set(lines)
    print output




+++







Executing the python script...


+++

Changes has been run, executed in each SW.







Demo: Interface Profiles

Create Leaf Interface Profile