DOCSIS Config file- Ethernet LLC Packet Classification Encodings

DOCSIS Config file- Ethernet LLC Packet Classification Encodings

1: Destination MAC Address
The values of the field specifies the matching parameters for the MAC destination address. An Ethernet packet with
MAC destination address "etherdst" matches this parameter if dst = (etherdst AND msk)

If this parameter is omitted, then comparison of the Ethernet MAC destination address for this entry is irrelevant.

Type Length Value

[22/23/60].10.1 12 dst1, dst2, dst3, dst4, dst5, dst6, msk1, msk2, msk3, msk4, msk5, msk6

2: Source MAC Address

The value of the field specifies the matching value for the MAC source address. 

If this parameter is omitted, then comparison of the Ethernet MAC source address for this entry is irrelevant.

Type Length Value
[22/23/60].10.2 6 src1, src2, src3, src4, src5, src6

3: Ethertype/DSAP/MacType:

Type, eprot1, and eprot2 indicate the format of the layer 3 protocol ID in the Ethernet packet as follows:


If type = 0, the rule does not use the layer 3 protocol type as a matching criterion. 

If type = 0, eprot1, eprot2 are ignored when considering whether a packet matches the current rule.


If type = 1, the rule applies only to frames which contain an Ethertype value. Ethertype values are contained in
packets using the DEC-Intel-Xerox (DIX) encapsulation or the [RFC 1042] Sub-Network Access Protocol (SNAP)
encapsulation formats. 

If type = 1, then eprot1, eprot2 gives the 16-bit value of the Ethertype that the packet must
match in order to match the rule


If type = 2, the rule applies only to frames using the IEEE 802.2 encapsulation format with a Destination Service
(DSAP) other than 0xAA (which is reserved for SNAP). 

If type = 2, the lower 8 bits of the eprot1, eprot2, MUST match the DSAP byte of the packet in order to match the rule.


If type = 3, the rule applies only to MAC Management Messages(FC field 1100001x) with a "type" field of its

MAC Management Message header (6.3.1) between the values of eprot1 and eprot2, inclusive. (1-22)

As exceptions, the
following MAC Management message types MUST NOT be classified:

Type 4: RNG-REQ

Type 6: REG-REQ

Type 7: REG-RSP

Type 14: REG-ACK

Type 30: INIT-RNG-REQ

Type 34: B-INIT-RNG-REQ

Type 44: REG-REQ-MP

Type 45: REG-RSP-MP

If type = 4, the rule is considered a "catch-all" rule that matches all Data PDU packets. The rule does not match
MAC Management Messages. The value of eprot1 and eprot2 are ignored in this case.

If the Ethernet frame contains an 802.1P/Q Tag header (i.e., Ethertype 0x8100), this object applies to the embedded
Ethertype field after the 802.1P/Q header.

Other values of type are reserved. 

If this TLV is omitted, then comparison of either the Ethertype or IEEE 802.2 DSAP for this rule is irrelevant.

Type Length Value

[22/23/60].10.3 3 type, eprot1, eprot2

你可能感兴趣的:(File,config,DOCSIS)