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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值