Quick method for recovering mass configuration of exchanger

When user saves configuration, each module outputs own configuration information in command form. The configuration information is saved in a buffer link. When all configuration information is obtained, all configuration information is written into storage device at one time. When device is restarte...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: FENGFENG YUAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:When user saves configuration, each module outputs own configuration information in command form. The configuration information is saved in a buffer link. When all configuration information is obtained, all configuration information is written into storage device at one time. When device is restarted up, configuration information is read out from storage device to the buffer link. Buffer link is composed of multiple buffer link nodes. Multiple buffer link nodes constitute a link through pointers. When capacity of buffer link is not large enough, one buffer link nodes can be applied for. Thus, configuration information is increased in small granularity. If buffer link is configured for each single board, function of recovering configuration for hot plug single board is not redundant, providing high efficiency. 本发明提供了一种L3交换机海量配置的快速恢复方法,属于计算机网络通信领域。当用户保存配置的时候,每个模块分别以命令的形式输出自己的配置信息,该配置信息保存在一个buffer link中,当所有的配置信息获取完成后,所有的配置信息一次性的写入存储设备中,当设备重新启动之后,从存储设备中读取配置信息到buffer link中。配置的保存和恢复中使用由多个buffer link node组成的buffer link,使用指针把多个buffer link node连接起来成为一个link,当buffer link容量不够的时候,可再申请一个buffer link node,使占用的内存随着配置信息的多少以一个很小的粒度进行增长。当为每一块板分别配置一个bufferlink时,单板的配置信息可拷贝到对应的buffer link中,使基于单板的热插拔配置恢复的功能没有冗余,效率高。