I'm looking for a way to make my EEM script more dynamic and automated for my environment. This is what I have - basically I just capture the 4 IPSec peer IP addresses of each neighbor and insert this data into 4 different variables.
cli command "show crypto session | i port"
string range "$_cli_result" 6 20
regexp "[0-9]+" "$_string_result" IP1
string range "$_cli_result" 24 60
regexp "[0-9]+" "$_string_result" IP2
My configuration is manually set for the 4 neighbors I currently have setup and I guesstimate the IP address space required (Eg. 192.168.100.111 verses 10.0.1.1). If the IP address is not 3 full values per octet, some strings could be off.
Also, I would like to cycle through the "show crypto session | i port" cli command output and dynamically figure out how many neighbors I have instead of my current manual method of hard setting this configuration in the script.
I have a cisco 4010 switch for which I have forgotten the enable password.. i wish to either recover the password or reset the switch to factory default.. i tried write erase command but on reboot it goes back to old configuration.. pls help
HelloI have a 3650 switch running 16.12.4, which has intermittent packet/connection drops, sometimes really bad drops where video will cut out or audio will drop, when having teams calls or streaming. I have tried to research the issue and I can see ...
Hi everyone,I have a Cisco DPC 3928s router and I’m trying to configure wake on lan. Is it possible?I see that this router has an ARP list but I can’t find a way to IP and Mac ARP binding.Could someone help me?
Hello NetPros, I do hope you all keeping well and safe. I have a sceanario that I need you much valued not to mention esteemed input and opinion. Background Information Now for the last 4 months I have been working on a WAN (HQ + 5 Branches...
Hi guys,for a while i'm struggling with a project in packet tracer. Is there anyone who can help with this? These are the guidelines:Device and Vlan addressing tableImplementation of the DHCP serverVlan network implementationTrank implementation / Et...