#1
|
|||
|
|||
Cisco show run int / show int
I frequently check the running configuration for ports by typing:
show run int interface Following this I look at interface statistics for the same port by typing: show int interface How can I create a script that will take the last show run int command and repeat as a show int command for the same port? |
#2
|
||||
|
||||
Quote:
Instead, I'd configure SecureCRT to enable the Copy on Select Global Option, and create buttons to send commands based on what's in the clipboard. Here's how I'd create my buttons: Here's how I'd enable SecureCRT to automatically copy to the clipboard whatever I select: With such a configuration in place, I'd simply click the first button to show the interfaces... ...then I'd double-click the interface I was interested in (the easy way to select the word underneath the mouse cursor is to double-click it). Knowing that what's in the clipboard is what I want to include in the next two commands (e.g. the \v portion), I'd then click my other two buttons in succession... Low cost. High value. Time $aving$. --Jake
__________________
Jake Devenport VanDyke Software Technical Support YouTube Channel: https://www.youtube.com/vandykesoftware Email: support@vandyke.com Web: https://www.vandyke.com/support Last edited by jdev; 03-06-2020 at 09:59 AM. |
#3
|
|||
|
|||
Thanks Jake!
I like your solution and the clear documentation. I created the buttons as you recommended. I also mapped keys to the same commands. Either way works great for running the commands on the clipboard content. The only problem that I had was when I tried to double click on the interface. I couldn't double click and select the interface as it's in the form of GigabitEthernet1/0/1. Double-clicking selects the content before the first forward slash. However, if I manually select the entire interface it works fine. Shawn |
#4
|
||||
|
||||
Quote:
--Jake
__________________
Jake Devenport VanDyke Software Technical Support YouTube Channel: https://www.youtube.com/vandykesoftware Email: support@vandyke.com Web: https://www.vandyke.com/support |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|