10-07-2015 01:05 AM - edited 03-08-2019 02:05 AM
Hello all!
I have Cisco2911
I applied wrong access list to interface, and lost connections via ssh. I powered off 2911 and powered on.
Connection via ssh was not restored...
I connected router via console cable and found what my changes saved at start config...
How it can be done?
I tried past following config by block:
interface GigabitEthernet0/0
no ip access-group from_elion_sip in
exit
no ip access-list extended from_elion_sip
ip access-list extended from_elion_sip
permit udp host ...
...
permit udp host 88.196.1.34 host 195.250.168.182
interface GigabitEthernet0/0
ip access-group from_elion_sip in
exit
as result
EST01-GPN-MB-R01(config)interface GigabitEthernet0/0
EST01-GPN-MB-R01(config-if)#no ip access-group from_elion_sip in
EST01-GPN-MB-R01(config)exit
EST01-GPN-MB-R01(config)
EST01-GPN-MB-R01(config)#no ip access-list extended from_elion_sip
EST01-GPN-MB-R01(config)#ip access-list extended from_elion_sip
EST01-GPN-MB-R01(config-ext-nacl)# permit udp host 195.250.168.182 host 88.196.1.34
....
EST01-GPN-MB-R01(config-ext-nacl)#
EST01-GPN-MB-R01(config-ext-nacl)#
EST01-GPN-MB-R01(config-ext-nacl)#
EST01-GPN-MB-R01(config-ext-nacl)#
EST01-GPN-MB-R01(config-ext-nacl)# interface GigabitEthernet0/0
EST01-GPN-MB-R01(config-if)#ip access-group from_elion_sip in
EST01-GPN-MB-R01(config-if)# e
After reboot config was saved at start... how it can be done?
10-07-2015 02:03 AM
How did you reboot it, the only way I could see that happen is if you typed reload and hit y by mistake when the below comes up
6509Sup720#reload
System configuration has been modified. Save? [yes/no]:
If you hard rebooted then not sure don't see how it could save without actually doing it
10-07-2015 02:24 AM
Router rebooted by power off...
Access to cli was lost immediately after ACL applied
Router installed at remote location. Local personal tried to reboot router using power button.
After what I connect to router console and found what power time is several minutes and ACL saved at start...
10-07-2015 02:28 AM
That doesn't make sense routers don't automatically save config it needs to be written to flash , did you collect any extracts from the router when you consoled in
10-07-2015 07:15 AM
please be carefully...
It is abnormal behavior...
We have logging from console
We have logging all run and start changes until ACL applied...
no write, copy run start command was applied...
but after reboot startup config include new command...
The question is how it can be done...
May be 2911 has any procedure to save config while power off...
For exampe: press and hold power button 10 seconds...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide