Method: Rbeapi::Api::BaseInterface#default

Defined in:
lib/rbeapi/api/interfaces.rb

#default(value) ⇒ Boolean

default will configure the interface using the default keyword. For virtual interfaces this is equivalent to deleting the interface. For physical interfaces, the entire interface configuration will be set to defaults.

Parameters:

  • value (String)

    The interface name to default in the node. The interface name must be the full interface identifier (ie Loopback, not Lo).

Returns:

  • (Boolean)

    Returns true if the command completed successfully.

Since:

  • eos_version 4.13.7M



314
315
316
# File 'lib/rbeapi/api/interfaces.rb', line 314

def default(value)
  configure("default interface #{value}")
end