Method and system for classifying flow of Ethernet vlan segment based on bitmap
A technology of bitmap and flow classification, applied in the field of data communication, can solve the problems of configuration specification limitation, high cost and energy consumption of TCAM, unfavorable control of equipment cost and power consumption, and achieve cost reduction and power consumption control, power consumption and cost, and the effect of reducing the resource usage of entries
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0166] Example 1: The SVLAN ID of the message is 5, and the CVLAN ID is 20. Use the SVLAN as the index to look up the SVLAN G table, and get Data_S as 00000011B, and use the CVLAN ID as the index to look up the CVLAN G table, and get Data_C as 00000001B. "Bitwise AND" operation, the result is 00000001B, therefore, this message belongs to the group whose Group Id is 0 (the obtained Group id is consistent with the configuration), and the configured matching rule is to match double-layer VLAN RANGE, and the Range Id is 4096, The lookup key value of the traffic classification is the packet source port number and the Range Id value 4096.
example 2
[0167] Example 2: The SVLAN ID of the message is 5, and the CVLAN ID is 100. Use the SVLAN as the index to look up the SVLAN G table, and get Data_S as 00000011B, and use the CVLAN ID as the index to look up the CVLAN G table, and get Data_C as 00100000B. "Bitwise AND" operation, the result is 0, it can be seen that the matching rule configured in this packet does not match double-layer VLAN RANGE. Therefore, further search to determine whether the configured matching rule matches a single-layer VLAN RANGE, first look up the T table with the SVLAN ID as the index, and get Data_T S 00000010B, Data_S and Data_T S Perform the "bitwise AND" operation, and the result is 00000010B, so the GroupId is 1 (the obtained Group id is consistent with the configuration), and the Range Id obtained by offset calculation is 4097. If the configuration is correct, the packet will only match the previous set of VLAN rules at most, so there is no need to continue to check the CVLAN. Therefore, th...
example 3
[0168] Example 3: The SVLAN ID of the message is 500, and the CVLAN ID is 300. Use the SVLAN as the index to look up the SVLAN G table, and get Data_S as 0, and use the CVLAN ID as the index to look up the CVLAN G table, and get Data_C to be 00001000B. Data_S is 0, so the configured matching rule is only possible for CVLAN to match VLAN RANGE. Use the CVLAN ID as the index to look up the T table to get Data_T C 00001000B, Data_C and Data_T C Do the "bitwise AND" operation, the result is 00001000B, the Group Id is 3 (the obtained Group id is consistent with the configuration), the Group id offset is calculated to get the Range Id is 4099, then the search key value is the packet source port number, CVLAN The ID and Range Id values are 4099.
[0169] 3) Use the converted stream in step 2) to match the search key to find the matching stream classification table. Since the matching keyword of VLAN RANGE is Range Id, a VLAN RANGE rule only occupies one flow classification entry...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


