Valid values for policy classification rules -11, Table 11‐30, Table 11-30 – Enterasys Networks D-Series User Manual

Page 327: For va

Advertising
background image

set policy rule

Enterasys D-Series CLI Reference

11-11

Defaults

None.

Mode

Switch command, read‐write.

Usage

Table 11‐30

 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.

profile‐index 

Specifies a policy profile number to which this rule will be assigned. 
Policy profiles are configured with the set policy profile command as 
described in “

set policy profile

” on page 11‐3. Valid profile‐index values 

are 1‐ 255.

ether

Classifies based on type field in Ethernet II packet.

icmptype

Classifies based on ICMP type.

ipproto

Classifies based on Protocol field in IP packet.

ipdestsocket

Classifies based on destination IP address with optional post‐fixed port.

ipsourcesocket

Classifies based on source IP address, with optional post‐fixed port. 

iptos

Classifies based on Type of Service field in IP packet.

macdest

Classifies based on MAC destination address.

macsource 

Classifies based on MAC source address.

tcpdestport

Classifies based on TCP destination port.

tcpsourceport 

Classifies based on TCP source port.

udpdestport 

Classifies based on UDP destination port.

udpsourceport 

Classifies based on UDP source port.

data

Specifies the code for a predefined classifier. This value is dependent on 
the classification type entered. Refer to 

Table 11‐30

 for valid values for 

each classification type.

mask mask

(Optional) Specifies the number of significant bits to match, dependent on 
the data value entered. Refer to 

Table 11‐30

 for valid values for each 

classification type and data value.

vlan vlan 

Classifies to a VLAN ID.

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 11-30

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

Advertising