cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1611
Views
0
Helpful
2
Replies

NX-OS ios_config type equivalent?

Cory Anderson
Level 1
Level 1

Hi all,

Is there an equivalent to ios_config on nx-os?  If there is, can it handle config-sync?

 

Is this something I should be focusing on using TcL & expect from a linux box rather than the tcl installed on the devices?

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

Ideally you should be using Python on NX-OS as it will be the first class language moving forward.  There is also a Cisco NX-OS API built in for Python.  The Python "cli" command can help you run config.

 

For Tcl on NX-OS, the "cli" command will allow you to run config commands.  For example:

 

cli "config t ; int e1/1 ; description test"

 

See https://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/6_x/nx-os/fundamentals/configuration/guide/b_Cisco_Nexus_7000_Series_NX-OS_Fundamentals_Configuration_Guide_Release_6-x/b_Cisco_Nexus_7000_Series_NX-OS_Fundamentals_Configuration_Guide_Rele... for more details.

View solution in original post

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

Ideally you should be using Python on NX-OS as it will be the first class language moving forward.  There is also a Cisco NX-OS API built in for Python.  The Python "cli" command can help you run config.

 

For Tcl on NX-OS, the "cli" command will allow you to run config commands.  For example:

 

cli "config t ; int e1/1 ; description test"

 

See https://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/6_x/nx-os/fundamentals/configuration/guide/b_Cisco_Nexus_7000_Series_NX-OS_Fundamentals_Configuration_Guide_Release_6-x/b_Cisco_Nexus_7000_Series_NX-OS_Fundamentals_Configuration_Guide_Rele... for more details.

Thanks Joseph!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: