netmikoのサンプルスクリプトをお探しの方へ

netmikoのサンプルスクリプトを探している方は、以下に記載したnetmiko公式(netmikoのGitHub)を一度見てみてください。

github.com

上記のリンク先に掲載されている内容ですが、以下のような情報が掲載されていますので探し物が見つかるかもしれません。

Available Device Types

  • Available device types

Simple Examples

  • Simple example
  • Connect using a dictionary
  • Dictionary with a context manager
  • Enable mode

Multiple Devices (simple example)

  • Connecting to multiple devices

Show Commands

  • Executing a show command
  • Handling commands that prompt (timing)
  • Handling commands that prompt (expect_string)
  • Using global_delay_factor
  • Adjusting delay_factor

Parsers (TextFSM and Genie)

  • TextFSM example
  • Genie example

Configuration Changes

  • Configuration changes
  • Configuration changes from a file

SSH keys and SSH config_file

Logging and Session Log

  • Session log
  • Standard logging

Secure Copy

  • Secure Copy

Auto Detection of Device Type

  • Auto detection using SSH
  • Auto detection using SNMPv3
  • Auto detection using SNMPv2c

Terminal Server Example

  • Terminal Server and Redispatch

以上です。