07-14-2013 01:37 AM - edited 03-11-2019 07:11 PM
Hi Everyone,
I know we can have only 1 global policy on ASA that apply to all the interfaces.
Say we have global policy map that has FTP checked for inspection.
ASA1# sh run policy-map
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect ip-options
inspect icmp
!
ASA1# sh run class-map
!
class-map inspection_default
description Class MAP name is inspection_default
match default-inspection-traffic
Above we have default class and inspection.
For testing purposes i create another class and policy map and apply to DMZ interface
class-map Class-DMZ
description TEST
match default-inspection-traffic
policy-map DMZ-FTP
description TEST
class Class-DMZ
inspect ftp
service-policy DMZ-FTP interface DMZ.
Now we have same FTP inspection under global and DMZ interface.
How does and under which order FTP inspection works?
Regards
MAhesh
Solved! Go to Solution.
07-14-2013 02:31 AM
Interface-specific inspection rules always take precednece over those in the global policy, if applied to the same traffic class (class-map). So for FTP inspection in your case the service policy, applied to the DMZ interface will take care of FTP traffic.
07-14-2013 02:31 AM
Interface-specific inspection rules always take precednece over those in the global policy, if applied to the same traffic class (class-map). So for FTP inspection in your case the service policy, applied to the DMZ interface will take care of FTP traffic.
07-14-2013 11:14 AM
Many thanks Andrew
Regards
Mahesh
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