Method: Cisco::Node#show
- Defined in:
- lib/cisco_node_utils/node.rb
#show(command, type = :ascii) ⇒ Object
Send a show command to the device. In general, clients should use config_get() rather than calling this function directly.
274 275 276 277 278 |
# File 'lib/cisco_node_utils/node.rb', line 274 def show(command, type=:ascii) @client.show(command, type) rescue CiscoNxapi::CliError => e raise Cisco::CliError.new(e.input, e.clierror, e.previous) end |