Configuring Classifiers Introduction
6-19
Software Reference for SwitchBlade x3100 Series Switches (Access and Security)
2
ADD ACTION CLASSIFIER=ipfilt1 FORWARD
ADD ACTION CLASSIFIER=ipfilt2 FORWARD
ADD ACTION CLASSIFIER=ipdrop DROP
ADD ACTION CLASSIFIER=ipdrop COUNT
SHOW CLASSIFIER=ALL
--- Classifier Configuration Data -------------------------------
Name Field Match(es) Action(s)
------------ ---------------------------------------- ----------
ipdrop IPSOURCE=ANY DROP
COUNT
ipfilt1 IPSOURCE=192.168.1.0/24 FORWARD
ipfilt2 IPSOURCE=10.0.0.0/24 FORWARD
Associate the classifiers to interfaces
3
ADD CLASSIFIER=ipfilt1 INTERFACE=3.0 PRECEDENCE=51
ADD CLASSIFIER=ipfilt2 INTERFACE=3.0 PRECEDENCE=52
ADD CLASSIFIER=ipdrop INTERFACE=3.0 PRECEDENCE=69
SHOW CLASSIFIER INTERFACE=3.0
--- Classifier Configuration Data ----------------------------------
Interface Rank Name Field Match(es) Action(s)
----------- ------ ------------ ------------------------ ----------
ETH:3.0.0 51 ipfilt1 IPSOURCE=192.168.1.0/24 FORWARD
52 ipfilt2 IPSOURCE=10.0.0.0/24 FORWARD
69 ipdrop IPSOURCE=ANY DROP
COUNT
Deprovision the CLASSIFIER
DELETE the INTERFACE(s) from the classifier from interface or set of interfaces, then DESTROY the classifier.
4
DELETE CLASSIFIER=ipfilt1,ipfilt2,ipdrop INTERFACE=3.0
Delete classifier(s) from interface(s) (Y/N)? y
Info (010017): Operation Successful$
5
Destroy CLASSIFIER=ipfilt1,ipfilt2,ipdrop
Destroy classifier(s) (Y/N)? y
Info (010017): Operation Successful
TABLE 6-3 Configuration procedure for Classifiers
Step Command Description (Optional)