RE: Policy Map with no action clause for a class ?

From: Paresh Khatri (Paresh.Khatri@aapt.com.au)
Date: Thu Mar 09 2006 - 02:04:19 GMT-3


Hi Imran,

You certainly can - that is pretty common usage, actually.

Paresh.

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Moin, Imran
Sent: Thursday, 09 March 2006 02:57 PM
To: Group Study (E-mail)
Subject: Policy Map with no action clause for a class ?

Folks,

Can I have a policy-map which has a class with no action-clause in it? The
reason I am asking this is because I have another class with an action clause
of "drop". If I want to exclude certain traffic from being dropped, can I have
another class BEFORE this one with no action clause, hoping that all this
traffic will be implicitly permitted?

class-map match-all SMTP
 match protocol smtp

class-map match-all FROM_BB2
 match input-interface FastEthernet0/1
!
!
policy-map FILTER
 class SMTP

 class FROM_BB2
   drop

Thanks,
Imran.



This archive was generated by hypermail 2.1.4 : Sat Apr 01 2006 - 10:07:38 GMT-3