Skip to main content

Automated Business Ready Documents from the NX-OS Guestshell

Project description

nxpydocs

Automated NXOS Business Ready Documents from th guestshell Python

Enable guestshell

switch# guestshell enable

Wait until the guestshell becomes active

Resize guestshell diskspace

guestshell resize rootfs 2000
guesthshell reboot

Update DNS

[cisco@guestshell ~]sudo vi /etc/resolv.conf
nameserver <dns server IP address>
domain <domain that matches NX-OS configured domain>

Update yum

[cisco@guestshell ~]yum update -y

Install Python3

[cisco@guestshell ~]sudo yum install -y python3

Set Python3 as default Python version

[cisco@guestshell ~]sudo alternatives --install /usr/bin/python python /usr/bin/python3.6 60

[cisco@guestshell ~]sudo alternatives --config python

There is 1 program that provides 'python'.

  Selection    Command
-----------------------------------------------
*+ 1           /usr/bin/python3.6

Enter to keep the current selection[+], or type selection number: 1

Project details


Release history Release notifications | RSS feed

This version

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nxpydocs-0.1.0.tar.gz (67.5 kB view hashes)

Uploaded Source

Built Distribution

nxpydocs-0.1.0-py3-none-any.whl (69.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page