Advertisement
codemonkey

loopback-py test

Dec 20th, 2018
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. admin@ncs(config)# loopback-py test3
  2. admin@ncs(config-loopback-py-test3)# device c0
  3. admin@ncs(config-loopback-py-test3)# interface-number 2
  4. admin@ncs(config-loopback-py-test3)# ip-address 127.0.0.2
  5. admin@ncs(config-loopback-py-test3)# commit dry-run
  6. Aborted: Python cb_create error. IP address must be unique
  7. admin@ncs(config-loopback-py-test3)# ip-address 127.0.0.1
  8. admin@ncs(config-loopback-py-test3)# commit dry-run
  9. Aborted: Python cb_create error. IP address must be unique
  10. admin@ncs(config-loopback-py-test3)# ip-address 127.0.0.3
  11. admin@ncs(config-loopback-py-test3)# commit dry-run
  12. cli {
  13. local-node {
  14. data devices {
  15. device c0 {
  16. config {
  17. ios:interface {
  18. + Loopback 2 {
  19. + ip {
  20. + address {
  21. + primary {
  22. + address 127.0.0.3;
  23. + mask 255.255.255.255;
  24. + }
  25. + }
  26. + }
  27. + }
  28. }
  29. }
  30. }
  31. }
  32. +loopback-py test3 {
  33. + device c0;
  34. + interface-number 2;
  35. + ip-address 127.0.0.3;
  36. +}
  37. }
  38. }
  39. admin@ncs(config-loopback-py-test3)# commit
  40. Commit complete.
  41. admin@ncs(config-loopback-py-test3)# top
  42. admin@ncs(config)# show full-configuration loopback-py
  43. loopback-py test
  44. device c0
  45. interface-number 0
  46. ip-address 127.0.0.1
  47. !
  48. loopback-py test2
  49. device c0
  50. interface-number 1
  51. ip-address 127.0.0.2
  52. !
  53. loopback-py test3
  54. device c0
  55. interface-number 2
  56. ip-address 127.0.0.3
  57. !
  58. admin@ncs(config)#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement