Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Doing operations with the resource

Now, we have a started resource with a set of available operations. These operations will be send to the real device. In this case, we will be execute an IP configuration:

Code Block
chassis:setInterface router:junos20 fe-0/1/2.0 192.168.1.1 255.255.255.0

To get the configuration result:

 

Code Block
 
Code Block
chassis:listInterfaces router:junos20

Removing a resource

Finally, if you don't need more our resource, you can stop and remove it. First, we need to stop it:

...