Hi Roger, great content. I have a dumb question, how do you figure it out to install ubuntu and still run EVE-NG over VM in windows ?. I tried it a couple of times but in my tries, I usually lose the use of VM to run EVE-NG
Hi Roger , maybe you can help me design a playbook in ansible. Design policy (1) .Issue CLI commands to the ACI device and save the output to a log. The commands to be acquired form 4 groups so that the group of commands can be divided into groups. -Commands you want to retrieve are listed in a text file for each group. - The log creates a folder of playbook execution timing and store it in a file by command. - A playbook collects multiple parts and aggregates them into one playbook by Role.
Hello Roger, Am working on Nexus compliance and I could successfully get the compliance report for AAA, Tacacs, username, ACL's, NTP from the existing N3k, N5k, N7k and N9k devices. But i couldn't write a playbook to fetch the trunk Interfaces (eth/po) configured with syntax 'spanning-tree port type edge trunk' from the existing configuration. Please suggest
You will probably have to use a bit of Regex to pull the config and then fish out what you are looking for. Take a loot at this NTP example - the concept is the same ua-cam.com/video/UGrCBBljkKg/v-deo.html Assume you want to find all interfaces that are configured like this - or not configured like this?
Hello Roger, thanks for the video. But i got stuck with banner. When user login to connect to device post entering id, banner will come post that it's getting stukked and throwing an error. Could you please suggest me on this.
Hello Roger.. Thank you for your time to creating this video I have been following this video..but you forgot to explain how to configure the visual studio code to work with ansible.. Most of us come from network backgrounds..and visual studio is part of DevOps..Not networking.. Can you please explain that part, please?
There is not much to explain? VSC is just a code editor, like a fancy notepad. I just use it to edit the code and then run it from the terminal. Let me know if you want it explained more, but tbh there is nothing else to it
For other vendors you just need to find that vendors modules, most have them. An understanding of how to configure those devices is required before you start to automate them
Ansible saves the configs to a local folder and then you can decide how you archive them? Pushing them to gitlab would be a good video - I will add it to the list. Setting up Gitlab for an on site repository for configs
Hi Roger , we have using cisco switch on telnet port. how to communicate ansible playbook with telnet port on switch.? Because Ansible playbook has running on SSH port default. I have tried to run on ansible playbook on telnet switch , but error message has displayed on "Un-reachable on your switches....". How to solve this issue? Thanks !..
You cannot connect to a switch using Telnet with Ansible. If you are locked in and cannot change your switches to SSH then you need to be looking at a pure Python script
@@RogerPerkin Thank you !. for your reply. my another question. why used to pure Python script? and how to used python script as soon as could not be change my switches to SSH?
Hello Mr Perkin, i use Ansible Tower and i have use the script. I cann save the config files from Cisco Switches theres no Problem, now i have a Problem by Nexus Router to save the config Files. fatal: [10.x.x.x]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/libexec/platform-python"}, "changed": false, "msg": "unable to elevate privilege to enable mode, at prompt [b'\\xxxx-xxxxxxxx# '] with error: failed to elevate privilege to enable mode still at prompt [b'\\xxx-xxxxxxx# ']"} when i start the console to connect to the Nexus i come in and the Nexus is in enable mode, i don´t need a comand ena. I hope you can help me by this Problem. Greeting Joe
Roger Perkin - Hi Roger, I am your Big fan after I found your channel on UA-cam . Your great efforts and absolutely generously giving your valued training materials help to Network Engineers all over the world.... I was searching for Ansible training on global internet..... Since I found your video course my search has finally end..... Greatly Greatly appreciated your valued time and help to the world....
Hi Roger, great content. I have a dumb question, how do you figure it out to install ubuntu and still run EVE-NG over VM in windows ?. I tried it a couple of times but in my tries, I usually lose the use of VM to run EVE-NG
Fantastic
Hi Roger , maybe you can help me design a playbook in ansible. Design policy (1) .Issue CLI commands to the ACI device and save the output to a log. The commands to be acquired form 4 groups so that the group of commands can be divided into groups. -Commands you want to retrieve are listed in a text file for each group. - The log creates a folder of playbook execution timing and store it in a file by command. - A playbook collects multiple parts and aggregates them into one playbook by Role.
Hello Roger, Am working on Nexus compliance and I could successfully get the compliance report for AAA, Tacacs, username, ACL's, NTP from the existing N3k, N5k, N7k and N9k devices. But i couldn't write a playbook to fetch the trunk Interfaces (eth/po) configured with syntax 'spanning-tree port type edge trunk' from the existing configuration. Please suggest
You will probably have to use a bit of Regex to pull the config and then fish out what you are looking for. Take a loot at this NTP example - the concept is the same ua-cam.com/video/UGrCBBljkKg/v-deo.html
Assume you want to find all interfaces that are configured like this - or not configured like this?
Hello Roger, thanks for the video.
But i got stuck with banner.
When user login to connect to device post entering id, banner will come post that it's getting stukked and throwing an error. Could you please suggest me on this.
Take a look at the IOS Banner module docs.ansible.com/ansible/latest/modules/ios_banner_module.html
Hello Roger..
Thank you for your time to creating this video
I have been following this video..but you forgot to explain how to configure the visual studio code to work with ansible..
Most of us come from network backgrounds..and visual studio is part of DevOps..Not networking..
Can you please explain that part, please?
There is not much to explain? VSC is just a code editor, like a fancy notepad. I just use it to edit the code and then run it from the terminal. Let me know if you want it explained more, but tbh there is nothing else to it
Hi Roger, how about Junos devices ?
For other vendors you just need to find that vendors modules, most have them. An understanding of how to configure those devices is required before you start to automate them
Gr8 video. Is there a way to have ansible save those nx-os configs somewhere else like gitlab or github?
Ansible saves the configs to a local folder and then you can decide how you archive them? Pushing them to gitlab would be a good video - I will add it to the list. Setting up Gitlab for an on site repository for configs
@@RogerPerkin Awesome!! I will keep an eye out for the video. I have my notifications enabled for this channel.
Hi Roger , Ansible is working on cisco switches?
because your all videos is covered only cisco Routers.
Yes, Ansible will work just the same for cisco switches
@@RogerPerkin Thankyou !.
Hi Roger - It is a great video. Looking for an Eve-NG configuration video for Various Cisco and other Vendor devices
Are you looking for video on how to setup devices in Eve-NG?
@@RogerPerkin I am looking for video to deploy various Cisco and Other device in EVE-NG
Hi Roger , we have using cisco switch on telnet port. how to communicate ansible playbook with telnet port on switch.? Because Ansible playbook has running on SSH port default. I have tried to run on ansible playbook on telnet switch , but error message has displayed on "Un-reachable on your switches....". How to solve this issue?
Thanks !..
You cannot connect to a switch using Telnet with Ansible. If you are locked in and cannot change your switches to SSH then you need to be looking at a pure Python script
@@RogerPerkin Thank you! for your reply. So, If Ansible playbook run on Cisco device , should be switch connect to the SSH port.
This is Correct?
@@sathisha4456 Yes, you should be running SSH to connect to your switches and this is how Ansible connects also.
@@RogerPerkin Thank you !. for your reply. my another question. why used to pure Python script? and how to used python script as soon as could not be change my switches to SSH?
@@sathisha4456 Just subscribe to my channel on turn on notifications as I will be uploading some videos on using Python very soon
HI ROGER, NYC WORK, CAN U PUT THIS SCRIPTS ON GITHUB FOR REFERENCE?
Thanks Vishal, everything I've got is here - github.com/rogerperkin/network-programmability
Hello Mr Perkin, i use Ansible Tower and i have use the script. I cann save the config files from Cisco Switches theres no Problem, now i have a Problem by Nexus Router to save the config Files. fatal: [10.x.x.x]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/libexec/platform-python"}, "changed": false, "msg": "unable to elevate privilege to enable mode, at prompt [b'\\xxxx-xxxxxxxx# '] with error: failed to elevate privilege to enable mode still at prompt [b'\\xxx-xxxxxxx# ']"} when i start the console to connect to the Nexus i come in and the Nexus is in enable mode, i don´t need a comand ena. I hope you can help me by this Problem. Greeting Joe
If all switches having Privileged Mode (enable) password. How to write playbook?
so your userid should have "privileged mode 15" so it will not ask for enable password.
Out of date playbook. With current Ansible version this playbook wouldn't work.
Can you expand on your statement? Why would the playbook not work? This is running on Ansible 2.8.5
Roger Perkin - Hi Roger, I am your Big fan after I found your channel on UA-cam . Your great efforts and absolutely generously giving your valued training materials help to Network Engineers all over the world.... I was searching for Ansible training on global internet..... Since I found your video course my search has finally end..... Greatly Greatly appreciated your valued time and help to the world....