EP1365327A1

A method and a network device having a flexible EEPROM for setting configuration settings

Abstract

A method for flexibly configuring default values of a network device and a network device using such flexible configuration method is described. First, it is determined whether the default values are obtained through a microprocessor interface or a memory interface. When it is determined that the default values are obtained through the memory interface, a header is received from a memory through the memory interface it is determined from the header whether any default value of the network device should be updated. If the network device should be updated, then at least one configuration instruction is fetched from the memory and the at least one configuration instruction is interpreted. A register default value of the default values is changed, corresponding to the interpreted at least one configuration instruction. Alternatively, when it is determined that the default values are obtained through the microprocessor interface, the default values are changed according to data received through the microprocessor interface.

EP1365327A1, drawing sheet 1
Sheet 1 of 7

Term

Term ended

Projected expiry passed 9 May 2023, 3.4 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

21 claims: 3 independent, 18 dependent

  1. 1
    A method for configuring default values of a network device, comprising:determining whether the default values are obtained through a microprocessor interface or a memory interface;when it is determined that the default values are obtained through the memory interface, performing the steps of: receiving a header from a memory through the memory interface;determining from the header whether any default value of the network device should be updated;fetching at least one configuration instruction from the memory when the determining step determines that the network device should be updated;interpreting said at least one configuration instruction;and changing a register default value of said default values corresponding to said interpreted at least one configuration instruction;and when it is determined that the default values are obtained through the microprocessor interface, changing said default values according to data received through the microprocessor interface.
  2. 8
    A network device, having default values that are flexibly configurable, comprising:a microprocessor interface;a memory interface;a register file containing the default values for the network device;and a configuration instruction interpreter;wherein the memory interface is configured to receive configuration instructions, with each configuration instruction of said configuration instructions being composed of an address index and a corresponding value, wherein the configuration instruction interpreter is configured to interpret the received configuration instructions such that the corresponding values are mapped corresponding default values of the register file, and wherein the network device is configurable to set default values based on data received through either the microprocessor interface and the memory interface.
  3. 15
    A network device, comprising:means for determining whether the default values are obtained through a microprocessor interface or a memory interface;means for receiving a header from a memory through the memory interface;means for determining from the header whether any default value of the network device should be updated;means for fetching at least one configuration instruction from the memory when the determining step determines that the network device should be updated;means for interpreting said at least one configuration instruction;means changing a register default value of said default values corresponding to said interpreted at least one configuration instruction;and means for changing said default values according to data received through the microprocessor interface;wherein said means for changing said default values according to data received through the microprocessor interface is configured to change the default values when the means for determining whether the default values are obtained through a microprocessor interface or a memory interface determines that the default values are to be obtained through a microprocessor interface.