LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 09-15-2006, 04:02 PM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 1,942

Rep: Reputation: 55
Cisco 1721 SDM access list issue


I accidently block access to the router from a rule in the access list of the router. I can connect to it from the console but I am not to familiar yet with the CLI of Cisco. Can somebody please guide me to this mess. If I can delete it from the console then I can get back in to the giu and finish up faster. Also, why is it that when the router was bought, when accessing through the GUI it only has certain modules available and you have to upgrade the SDM or Cisco IOS on the router. What a pain in the @#$@# to have to do that from the start. You would imagine that it Cisco would try and make things easier that harder!
 
Old 09-15-2006, 04:55 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 38,390

Rep: Reputation: 882Reputation: 882Reputation: 882Reputation: 882Reputation: 882Reputation: 882Reputation: 882
ok, well it's me again... hurrah!

what have you actually applied the acl to? if you know what the acl is called then just run "sh run" in enable mode and see where the access list is being applied. then go into that interface or whatever it is and remove it.

Code:
password:xxxxxx
router>en               <--- normal mode here
password:zzzzzzz
router#sh run           <--- enable mode started here
Generating Configuration...
[snip...]
int FastEthernet1        
  ip access-list 123    <--- bit you're looking for
[...snip}
router#conf t           <--- enter configuration mode
router(configure)#int FastEthernet1
router(configure int)#no ip access-list 123     <--- the line to remove with "no" infront of it
router(configure int)#exit
router#
something along those lines. if you're stuck paste the whole output of sh run here.
ios is lovely... embrace it!

btw if you're using console access under widows i *really* recommend using tuTTY (a puTTY fork) for serial port console access, much better than hypertrm.

Last edited by acid_kewpie; 09-15-2006 at 04:56 PM.
 
Old 09-15-2006, 08:13 PM   #3
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 30
Based on your post, it sounds like you accidentally added a rule to an existing ACL attached to an interface, but since you are using SDM, there are a couple of other ways it might add a command to block http/s access

Code:
no ip http server
no ip http secure-server
-or-


Code:
access-list 10 remark ACL for Access to local http server
access-list 10 permit 192.168.9.0 0.0.0.255
access-list 10 permit 192.168.16.8 0.0.0.7
access-list 10 permit 192.168.32.8 0.0.0.7
access-list 10 deny   any log

ip http server
ip http access-class 10
ip http authentication local
ip http secure-server
If your network or host address is not listed in ACL 10, then http/s access would not be permitted.
 
Old 09-16-2006, 09:51 AM   #4
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 1,942

Original Poster
Rep: Reputation: 55
Gentlemen,

many thanks. I was able to finally setup everything up. A true learning experience.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco 1721 and DSL setup metallica1973 Linux - Networking 0 09-13-2006 12:58 AM
Cisco VPN Issue on FC4 ag1010 Linux - Software 3 11-18-2005 08:15 PM
Suse 10.0 Cisco VPN Client Issue crazibri Suse/Novell 1 11-10-2005 02:17 AM
Problem with Cisco uBR7246. Speed issue. dr_sad General 2 08-18-2005 01:17 PM
Slackware * Cisco VPN client issue mmoser63 Linux - Networking 1 12-28-2004 04:17 PM


All times are GMT -5. The time now is 02:30 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration