Set Match Rule Defaults (Setdefaults) - Allied Telesis SwitchBlade x3100 Series Manual

Release 14.2 - issue 2
Table of Contents

Advertisement

Classifier Management
52
ip2
53
ip3
54
ip4
55
ip5
56
ip6
57
ip7
69
ipde
The following shows that classifiers are added by the system when they can be derived. For the IPSOURCE clas-
sifiers, the PROTOCOL (IPV4) and IPVERSION (4) are derived from the IPSOURCE and are added with the (D)
added, telling the user these were added by the system.
officer SEC>> show class all interface=2.0 full
--- Classifier Configuration Data ---------------------------------------------
Interface Rank Name
--------- ---- ------------ ---------------------------------------- ---------
ETH:2.0
51
ip1
52
ip2
53
ip3
54
ip4
55
ip5
56
ip6
57
ip7
69
ipde
-------------------------------------------------------------------------------

6.3.2.6 Set Match Rule Defaults (SETDEFAULTS)

Classifier match rule defaults can be reset using the SETDEFAULTS command. This command is useful if the
user wishes to change a match rule setting without having to delete the classifier. An example follows.
Here a classifier, ipfilt1, is created with IPSOURCE set.
officer SEC>> CREATE CLASSIFIER=ipfilt1 IPSOURCE=172.16.5.0/28
Info (010017): Operation Successful
officer SEC>> SHOW CLASSIFIER=IPFILT1
--- Classifier Configuration Data ---------------------------------------------
Name
Field Match(es)
------------------- -------------------------------------- -------------------
ipfilt1
-------------------------------------------------------------------------------
An action is added to the classifier to drop the IPSOURCE ipaddress.
officer SEC>> ADD ACTION CLASSIFIER=ipfilt1 DROP
Software Reference for SwitchBlade x3100 Series Switches (Access and Security)
IPSOURCE=1.1.1.2/32
IPSOURCE=1.1.1.3/32
IPSOURCE=1.1.1.4/32
IPSOURCE=1.1.1.5/32
IPSOURCE=1.1.1.6/32
IPSOURCE=1.1.1.7/32
IPSOURCE=ANY
Field Match(es)
PROTOCOL=IPV4
IPVERSION=4
IPSOURCE=1.1.1.1/32
PROTOCOL=IPV4
IPVERSION=4
IPSOURCE=1.1.1.2/32
PROTOCOL=IPV4
IPVERSION=4
IPSOURCE=1.1.1.3/32
PROTOCOL=IPV4
IPVERSION=4
IPSOURCE=1.1.1.4/32
PROTOCOL=IPV4
IPVERSION=4
IPSOURCE=1.1.1.5/32
PROTOCOL=IPV4
IPVERSION=4
IPSOURCE=1.1.1.6/32
PROTOCOL=IPV4
IPVERSION=4
IPSOURCE=1.1.1.7/32
PROTOCOL=IPV4
IPVERSION=4
IPSOURCE=ANY
IPSOURCE= 172.16.5.0/
28
DROP
Action(s)
(D)
(D)
(D)
(D)
(D)
(D)
(D)
(D)
(D)
(D)
(D)
(D)
(D)
(D)
(D)
DROP
(D)
Action(s)
Introduction
6-13

Advertisement

Table of Contents
loading

Table of Contents