Netmagis application

logo

Configuration commands

Configuration commands to send to equipments to change interface characteristics.

Rank

Each pattern has a sort order. When the toposendd program is building the set of commands to send to an equipment, models are searched in ascending order, which allows to specify more specific regular expressions first (lower values) and more general ones at the end (highest values).

Type

Equipment type (which are defined in the equipment type page).

Action

The toposendd daemon looks for specific actions in order to configure the equipment interface according to user's needs. These actions and their meaning are described hereafter.

ActionDescriptionParameters
prologueBegin dialog with equipment (done once for all interfaces)None
epilogueSave configuration and Close dialog with equipmentNone
ifenableEnable interface%1$s = interface name
ifdisableShut down the interface%1$s = interface name
ifresetReset an interface to a known state (most of the time by removing all VLANs)%1$s = interface name
ifdescSet the interface description string%1$s = interface name
%2$s = interface description string
resetvlanRemove a VLAN from an interface. This command is used on switches (such as HP switches) which cannot reset interfaces to a known state. It is called for each VLAN id present on the switch. %1$s = interface name
%2$s = VLAN-id
ifaccessSet the access VLAN on an interface%1$s = interface name
%2$s = VLAN-id
ifvoiceSet the VoIP VLAN on an interface%1$s = interface name
%2$s = VLAN-id

Model

Regular expression matching equipment models. When the toposendd program is building the set of commands to send to an equipment, it matches equipment model with these regular expressions, using the Rank parameter to sort them.

Command

Configuration commands to send to equipments. Parameters (such as interface name, interface description or VLAN-id) are specific to each action and are described with the action description earlier on this page.

Netmagis license Netmagis Web site