Skip to main content

dynamic access-list - the small trick

short note about the dynamic ACLs:

if you are going to use dynamic ACL to allow some kind of access to service/server with absolute timer it's very important to remember that you need to enable the "absolute timer" extensive of the ACL's


R1(config)#access-list dynamic-extended


and the rest that you have to remember is to put autocommand sub option but if you cannot remember what should be options after that they are available in exec mode



R1(config)#username ENABLE autocommand ?
LINE Command to be automatically issued after the user logs in



R1#access-enable ?
host Enable a specific host only
timeout Maximum idle time to expire this entry


example acl with dynamic statement
ip access-list extended DYN
permit tcp any any eq telnet
permit tcp any any eq 7001
permit udp any any eq rip
dynamic ACCESS timeout 15 permit tcp any any eq www
deny ip any any
deny ip any any log


vty configuration

R1(config-line)#autocommand access-enable timeout 5



One very important note from the INE technology workbook is to be careful with the AAA authorization when you are using dynamic ACL - the reason of that is you must using local exec authorization with non or if-authenticated

Popular posts from this blog

Juniper IS-IS summary

##################################################################################################### ## ISIS ##################################################################################################### # Be sure to set family iso on the interface to be placed into ISIS set interfaces <interface> family iso # By default Junos places interfaces as L1/L2 # Default route leaking:         L1 to L2 - all internal routes         L2 to L1 - 0/0 route # L1/L2 will send the attached-bit down to L1 and it will act as a NSSA-like area.  When the L1 interface # receives the attached-bit it will inject a 0/0 route into the RIB point to the L1/L2 interface. # To disable the attached bit use: set protocols isis ignore-attached-bit # Be careful with the "interface all" command, as it may have some unexpected consequences such as trying # to establish a neighbor on your fxp0 management...

CompTIA+

Sometimes you just need a good distraction, and I randomly got the urge to study for an exam;  something I haven't done in years. I decided to look into network security and started watching some CompTIA training videos, and...it was all a bit too familiar. Apparently the search continues.

SecurityIE Forum

http://www.securityie.com/ Securityie is an open forum for CCIEs and CCIE candidates to discuss issues and technologies related to the CCIE Security certification. Signing up is free. If you sign up for one forum you are automatically setup for our other forums Routerie and Voiceie. We have over 20000 members active on these boards many of which already have their CCIE.