Skip to main content
Open topic with navigation CAPL Functions » Ethernet » Function Overview » ethClearMacAddressTable

ethClearMacAddressTable

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

Clears the MAC address table of the Ethernet network interface.
  • In channel-based mode, the function can only be used with Vector network interface (e.g., VN5640) in operation mode which manages a MAC address table, i.e., Ethernet switch.
  • In port-based mode, the function resets the tables of all switches within the network referenced by the channel number.

Parameters

  • channel: Ethernet channel number.
    Value range: 1..32

Return Values

  • 0: Success
  • 1: Not supported by network interface.
  • 2: Failed, check settings of network interface.
  • 3: Not supported in channel-based simulation mode.

Example

See Also