DOCSIS config file-IPv4 Packet Classification Encodings

IPv4 Packet Classification Encodings

1:  IPv4 Type of Service Range and Mask

The values of the field specify the matching parameters for the IPv4 TOS byte range and mask. An IP packet with
IPv4 TOS byte value "ip-tos" matches this parameter if tos-low <= (ip-tos AND tos-mask) <= tos-high

If this field is omitted, then comparison of the IP packet TOS byte for this entry is irrelevant.

Type Length Value

[22/23/60].9.1 3 tos-low, tos-high, tos-mask

2: IP Protocol

The value of the field specifies the matching value for the IP Protocol field [RFC 1700]. 

If this parameter is omitted, then comparison of the IP header Protocol field for this entry is irrelevant.
There are two special IP Protocol field values:"256" matches traffic with any IP Protocol value, and "257" matches
both TCP and UDP traffic.
An entry that includes an IP Protocol field value greater than 257 MUST be invalidated
for comparisons (i.e., no traffic can match this entry).

Type Length Value

[22/23/60].9.2 2 prot1, prot2

Valid range: 0 - 257

The value of the IP protocol

1 Internet Control Message Protocol (ICMP) 
   
2 Internet Group Management Protocol (IGMP) 
   
4 IP in IP (encapsulation) 
   
6 Transmission Control Protocol (TCP) 
   
17 User Datagram Protocol (UDP) 
   
45 Inter-Domain Routing Protocol (IDRP) 
   
46 Resource Reservation Protocol (RSVP) 
   
47 Generic Routing Encapsulation (GRE) 
   
54 NBMA Next Hop Resolution Protocol (NHRP) 
   
88 Cisco Internet Gateway Routing Protocol (IGRP) 
   
89 Open Shortest Path First (OSPF)

3: IPv4 Source Address

The value of the field specifies the matching value for the IP source address. An IP packet with IP source address
"ip-src" matches this parameter if src = (ip-src AND smask).
If this parameter is omitted, then comparison of the IP packet source address for this entry is irrelevant.

Type Length Value

[22/23/60].9.3 4 src1,src2,src3,src4

4: IPv4 Source Mask

The value of the field specifies the mask value for the IP source address. 

If this parameter is omitted, then the default IP source mask is 255.255.255.255.

Type Length Value

[22/23/60].9.4 4 smask1,smask2,smask3,smask4

5: IPv4 Destination Address
The value of the field specifies the matching value for the IP destination address. An IP packet with IP destination

address "ip-dst" matches this parameter if dst = (ip-dst AND dmask).

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

Type Length Value

[22/23/60].9.5 4 dst1,dst2,dst3,dst4

6: IPv4 Destination Mask
The value of the field specifies the mask value for the IP destination address. If
this parameter is omitted, then the default IP destination mask is 255.255.255.255.
Type Length Value

[22/23/60].9.6 4 dmask1,dmask2,dmask3,dmask4


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