Tree traversal method and device
Patent Information
- Authority / Receiving Office
- CN Β· China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Publication Date
- 2008-03-19
- Estimated Expiration
- Not applicable Β· inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The present invention relates to virtual private LAN service (Virtual Private LAN service, VPLS for short), and more specifically, relates to a method and device for traversing tree table entries in VPLS. Background technique
[0002] Currently, Layer 2 and Layer 3 forwarding devices of VPLS mostly use Network Processor (NP for short) as the underlying forwarding module. When forwarding packets, it often involves traversal processing of table entries, that is, deleting, aging, adding and other processing of user table entries and forwarding table entries.
[0003] When these table items are static table items, the effective index is issued by the upper module for traversal, and the operation is convenient.
[0004] When these entries are tree table entries, the inventor found in the process of implementing the present invention that the tree table entries cannot be directly indexed, and need to be searched by key value. However, if the key value is d...