
clear policy rule
9-12
Policy Classification Configuration
Examples
This
example
shows
how
to
use
to
assign
a
rule
to
policy
profile
3
that
will
filter
Ethernet
II
Type
1526
frames
to
VLAN
7:
C2(su)->set policy rule 3 ether 1526 vlan 7
This
example
shows
how
to
use
to
assign
a
rule
to
policy
profile
5
that
will
forward
UDP
frames
from
source
port
45:
C2(su)->set policy rule 5 udpportsource 45 forward
This
example
shows
how
to
use
to
assign
a
rule
to
policy
profile
1
that
will
drop
IP
source
traffic
from
IP
address
1.2.3.4.
If
mask
32
is
not
specified
as
shown,
a
default
mask
of
48
bits
(IP
address
+
port)
would
be
applied:
C2(su)->set policy rule 1 ipsourcesocket 1.2.3.4 mask 32 drop
clear policy rule
Use
this
command
to
delete
policy
classification
rule
entries.
Syntax
This
command
has
two
forms
of
syntax—one
to
clear
an
admin
rule
(for
policy
ID
0),
and
the
other
to
clear
a
classification
rule.
clear policy rule admin-profile
{
vlantag
data
[
mask
mask
]
clear policy rule profile-index
{
all-pid-entries
| {
ether
|
icmptype
|
ipproto
|
ipdestsocket
|
ipsourcesocket
|
iptos
|
macdest
|
macsource
|
tcpdestport
|
tcpsourceport
|
udpdestport
|
udpsourceport
}}
Parameters
The
following
parameters
apply
to
deleting
an
admin
rule.
The
following
parameters
apply
to
deleting
a
classification
rule.
Destination or Source UDP port:
udpsourceport
udpdestport
UDP Port Number:
0 - 65535
or
0 - 0xFFFF
1
-
16
vlantag
VLAN tag:
1
-
4094
1
-
12
Table 9-3
Valid Values for Policy Classification Rules (Continued)
Classification Rule Parameter
data value
mask bits
admin
‐
profile
Specifies
that
the
rule
to
be
deleted
is
an
admin
rule
for
policy
ID
0.
vlantag
data
Deletes
the
rule
based
on
VLAN
tag
specified
by
data
.
Value
of
data
can
range
from
1
to
4094
or
0xFFF.
mask
mask
(Optional)
Specifies
the
number
of
significant
bits
to
match,
dependent
on
the
data
value
entered.
Value
of
mask
can
range
from
1
to
12.
Refer
to
for
valid
values
for
each
classification
type
and
data
value
.
Summary of Contents for SecureStack C2
Page 1: ...SecureStack C2 Stackable Switches Configuration Guide Firmware Version 5 1 xx P N 9033991 16 ...
Page 2: ......
Page 28: ...xxvi ...
Page 106: ...set ssl 3 52 Basic Configuration ...
Page 226: ...Creating a Basic SNMP Trap Configuration 6 38 SNMP Configuration ...
Page 278: ...show spantree nonforwardingreason 7 52 Spanning Tree Configuration ...
Page 302: ...set garp timer 8 24 802 1Q VLAN Configuration ...
Page 448: ...show dhcp pool configuration 14 30 DHCP Server Configuration ...
Page 454: ...no license advanced 15 6 Preparing for Router Mode ...