Method: Rbeapi::Client::Node#enable_authentication

Defined in:
lib/rbeapi/client.rb

#enable_authentication(password) ⇒ Object

Configures the node instance to use an enable password. EOS can be configured to require a second layer of authentication when putting the session into enable mode. The password supplied will be used to authenticate the session to enable mode if necessary.

Parameters:

  • password (String)

    The value of the enable password.



335
336
337
# File 'lib/rbeapi/client.rb', line 335

def enable_authentication(password)
  @enablepwd = password
end