Kings, I've always used filename as you have shown below. In the command reference is says:
The following example shows how to configure a match condition for an FTP transfer filetype in an FTP inspection policy map: hostname(config-pmap)# match filetype class regex ftp-regex-filetype The filetypes for FTP that I am familiar with are ASCII and Binary. I haven't tried this, but will lab something up today. I can't find any examples in the documentation of it actually being used other than what I pasted above nor can I find anything in the Cisco course books. I know this probably isn't much help but it may spark some others to chime in. Regards, Brandon Carroll - CCIE #23837 Senior Technical Instructor - IPexpert Mailto: [email protected] Telephone: +1.810.326.1444 Live Assistance, Please visit: www.ipexpert.com/chat eFax: +1.810.454.0130 IPexpert is a premier provider of Classroom and Self-Study Cisco CCNA (R&S, Voice & Security), CCNP, CCVP, CCSP and CCIE (R&S, Voice, Security & Service Provider) Certification Training with locations throughout the United States, Europe and Australia. Be sure to check out our online communities at www.ipexpert.com/communities and our public website at www.ipexpert.com. On Mon, Feb 1, 2010 at 4:40 AM, Kingsley Charles <[email protected] > wrote: > Hi all > > If I need to match file with extensions of ".exe" and ".giff", should we > use match filename or filetype. > > I see the following is most of the docs: > > regex ext1 "*.exe" > regex ext2 "*.pdf" > > class type inspect ftp match-all mine > match filename regex ext1 > match filename regex ext2 > > Do we use filetype to match types like mime etc? > > > With regards > Kings > > _______________________________________________ > For more information regarding industry leading CCIE Lab training, please > visit www.ipexpert.com > >
_______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com
