Passa ai contenuti principali

NX-OS PYTHON

Cisco PYTHON e NX-OS - Nexus 7004 -


Nexus2_ITESYS# python

Copyright (c) 2001-2012 Python Software Foundation; All Rights Reserved

Nexus2_ITESYS >>>   

1) Esegue un comando CLI e memorizza in una stringa

Nexus2_STACK# >>> string = cli("show ip bgp summary")
Nexus2_STACK# >>> print(string)
...snip...
Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
149.29.28.89    4   174  965977    7240        7    0    0    5d00h 1






Commenti

Post popolari in questo blog