Using Python Library Netmiko - SSH

preview_player
Показать описание
How to use Python Library Netmiko on Audiocodes Gateway.
Netmiko is a python Library which helps to interact with networking devices using SSH.

I have highlight some ways in which the library can be used on unsupported devices such as audiocdes gateway.

For Audiocodes SBC:
you may use device_type as: ipinfusion_ocnos (netmiko -v3.1.0)

Sending the space to retrieve more config was specifically for audiocodes gateway since on other devices like cisco you can set the terminal length to zero to get around this problem.

But since i spent some time on this, I thought i should share it.

You can learn more about the library from:

credits:
Рекомендации по теме
Комментарии
Автор

Thanks for sharing device type for AudioCodes Gateway.

Just a quick note for -- MORE -- prompt, it can remove all together by changing the window-height
Mediant 1000 - MSBG# configure system
Mediant 1000 - MSBG(config-system)# cli-terminal
Mediant 1000 - MSBG(cli-terminal)# set window-height 0

If window-height is set to 0, the entire command output is displayed. In other words, even if the output extends beyond the visible terminal window length, the --MORE --prompt is not displayed.

bolonabolona