
set policy rule
Enterasys G-Series CLI Reference 8-11
Defaults
None.
Mode
Switch
command,
read
‐
write.
Usage
Table 8
‐
3
provides
the
set
policy
rule
data
values
that
can
be
entered
for
a
particular
classification
type,
and
the
mask
bits
that
can
be
entered
for
each
classifier
associated
with
that
parameter.
Examples
This
example
shows
how
to
use
Table 8
‐
3
to
assign
a
rule
to
policy
profile
3
that
will
filter
Ethernet
II
Type
1526
frames
to
VLAN
7:
G3(su)->set policy rule 3 ether 1526 vlan 7
This
example
shows
how
to
use
Table 8
‐
3
to
assign
a
rule
to
policy
profile
5
that
will
forward
UDP
frames
from
source
port
45:
G3(su)->set policy rule 5 udpportsource 45 forward
cos
cos
Specifies
that
this
rule
will
classify
to
a
Class
‐
of
‐
Service
ID.
Valid
values
are
0
‐
4095
.
A
value
of
‐
1
indicates
that
no
CoS
forwarding
behavior
modification
is
desired.
(Not
supported
on
B3,
C3,
and
G3.)
drop
|
forward
Specifies
that
packets
within
this
classification
will
be
dropped
or
forwarded.
Table 8-3 Valid Values for Policy Classification Rules
Classification Rule Parameter
data
value
mask
bits
ether
Type field in Ethernet II packet:
1536
-
65535
or
0x600 - 0xFFFF
1
-
16
ipproto
Protocol field in IP packet:
0 - 255
or
0 - 0xFF
1
-
8
Destination or Source IP Address:
ipdestsocket
ipsourcesocket
IP Address in dotted decimal
format:
000.000.000.000
and
(Optional) post-fixed port:
0
-
65535
1
-
48
iptos
Type of Service field in IP packet:
0 - 252
or
0 - 0xFC
1
-
8
Destination or Source MAC:
macdest
macsource
MAC Address:
00-00-00-00-00-
00
1
-
48
Destination or Source TCP port:
tcpdestport
tcpsourceport
TCP Port Number:
0 - 65535
or
0 - 0xFFFF
1
-
16
Destination or Source UDP port:
udpsourceport
udpdestport
UDP Port Number:
0 - 65535
or
0 - 0xFFFF
1
-
16
Содержание G3G170-24
Страница 1: ...Enterasys G Series Ethernet Switch CLI Reference Firmware Version 1 00 xx P N 9034358 01...
Страница 2: ......
Страница 30: ...xxviii...
Страница 100: ...set ssl 2 56 Basic Configuration...
Страница 132: ...clear lldp port tx tlv 3 32 Discovery Protocol Configuration...
Страница 272: ...show spantree nonforwardingreason 6 52 Spanning Tree Configuration...
Страница 296: ...set garp timer 7 24 802 1Q VLAN Configuration...
Страница 384: ...clear nodealias config 11 34 Logging and Network Management...
Страница 438: ...Enabling Router Configuration Modes 14 4 Preparing for Router Mode...
Страница 514: ...show ip pimsm staticrp 16 56 IPv4 Routing Protocol Configuration...
Страница 524: ...traceroute ipv6 17 10 IPv6 Management...
Страница 602: ...show ipv6 ospf virtual link 19 46 OSPFv3 Configuration...