ASA fails to disable paging
See original GitHub issueget IOError: Search pattern never detected in send_command_expect:
#!/usr/bin/env python
from netmiko import ConnectHandler
from getpass import getpass
ip_addr = raw_input("Enter IP Address: ")
device = {
'device_type': 'cisco_asa',
'ip': ip_addr,
'username': 'admin', # replace with your username
'password': getpass()
'global_delay_factor': 2,
}
net_connect = ConnectHandler(**device)
print(net_connect.send_command_expect("show version"))
I ran find_prompt to find my prompt and then i figured out it was stuck at -------more-------- So when i set my terminal pager to 0 it started working.
Is there any other solution to this?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Disable paging on a Cisco ASA - Forum - Kiwi CatTools
Disable paging on a Cisco ASA. bkyle over 8 years ago. To disable paging, you can use Variations, and the following command: Terminal...
Read more >Re: Disable Default WebVPN Page - Cisco Community
I am setting up a few different WebVPN profiles I am wondering if there is any way to disable the default page. I...
Read more >Troubleshooting ASA Firewalls - Session Presentation
If Layer 2 resolution fails — no syslog. • show arp will not display an entry for the L3 next hop. • debug...
Read more >Configuring ASA Basic Settings and Firewall Using CLI
Note: If you receive a prompt for Anonymous Error reporting, proceed by answering No. Review this output and pay attention to the VLAN...
Read more >Cisco Adaptive Security Appliance (ASA) 9.12 on Firepower ...
To disable this feature and allow an unlimited number of consecutive failed local login attempts, use the no form of this command. aaa...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nope, It’s all fine now. Script is running just fine No errors and no issues. Really appreciate your help. I am new with Netmiko and Python so I am playing in my Lab with different scenarios. As of now it looks pretty good.
Once again, Really appreciate your work.
Regards, Aman Goyal.
On Wed, Aug 9, 2017 at 2:20 PM, Kirk Byers notifications@github.com wrote:
@amangoel6 So are you still having an issue then?