qacafe - ip test solutions
Knowledge Base > Basic Configuration > How can I comment out one of my LAN/WAN interfaces from the configuration file?

How can I comment out one of my LAN/WAN interfaces from the configuration file?

In CDRouter-Multiport, it is possible to configure multiple LAN or WAN interfaces in your configuration file. However, you may wish to remove one of these interfaces for certain tests, but not want to delete the interfaces from the config file or have to comment out every line of the interface's configuration. With CDRouter-Multiport it is possible to simply put the word "IGNORE" before a testvar_group to remove the entire interface from the configuration.

An example of this would look like:

IGNORE testvar_group lan4 {

   testvar lanInterface       eth8
   testvar lanType            802.11g
   testvar lanSSID            qacafe
   testvar lanUseEAPOL        yes
}

By doing this, CDRouter-Multiport will skip over lan4 altogether as if it wasn't even in the config file.