A method for managing the router table using the ternary content addressable memory divides the router table into a plurality of areas according to the prefix length of the routing, it is characterized in that: during updating the routing of the router table, the area space is adjusted dynamically between the area spaces within the router table when the actual area space is not enough or too big. The invention can solve the problem that the ternary content addressable memory implements the management of the router table of the IPv4/IPv6 and provide a simple and efficient method for implementing the update of the routing entry.
展开▼