User Function - @manuf

Description:
This user function tests whether the MAC address represented by MAC_FIELD indicates that a certain manufacturer produced the network adapter with that MAC address.

Syntax:
@manuf(MAC_FIELD, MANUFACTURER_ID)

Arguments:
MAC_FIELD A protocol field ID in the form <PROTOCOL_ID>:<FIELD_ID>.  The protocol field represented by that ID must be of type MAC Address.
MANUFACTURER_ID A three byte MAC address manufacturer's ID prefix.  This argument may be represented as: 
  • an unformatted, decimal numeric string (e.g., 123456)
  • a formatted, hexidecimal numeric string (e.g., 12:A7:8A)
  • a symbolic name alias, representing a numeric value (e.g., CISCO)

Returns:
True if the MAC address data at the specified protocol node indicates the specified manufacturer, else false.

Example:
The following example tests whether the Token Ring destination MAC address specified by the ID TOK:DLC.DA is an IBM-assigned MAC address.

    @manuf(TOK:DLC.DA, IBM)


Copyright © 2000-2001 Golden Code Development Corporation.  ALL RIGHTS RESERVED.