cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
227
Views
1
Helpful
1
Replies

RADKit to send configuration commands

dbillon
Level 1
Level 1

Hi,

Is it possible to execute a configuration command with the RADKit exec() function on an IOS device ?

I don't see any parameter in exec() to switch the IOS device to the configuration mode ("conf t").

BR,

Damien.

1 Accepted Solution

Accepted Solutions

BjoernMartin
Spotlight
Spotlight

Hi Damien. Sure RADKit rocks!

# Set filter

ios = service.inventory.filter("device_type", "IOS")

# some commands
commands = ios.exec(["conf t", "int lo100", "description RADKIT ROCKS!"])

 

View solution in original post

1 Reply 1

BjoernMartin
Spotlight
Spotlight

Hi Damien. Sure RADKit rocks!

# Set filter

ios = service.inventory.filter("device_type", "IOS")

# some commands
commands = ios.exec(["conf t", "int lo100", "description RADKIT ROCKS!"])