Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- admin@ncs(config)# loopback-py test3
- admin@ncs(config-loopback-py-test3)# device c0
- admin@ncs(config-loopback-py-test3)# interface-number 2
- admin@ncs(config-loopback-py-test3)# ip-address 127.0.0.2
- admin@ncs(config-loopback-py-test3)# commit dry-run
- Aborted: Python cb_create error. IP address must be unique
- admin@ncs(config-loopback-py-test3)# ip-address 127.0.0.1
- admin@ncs(config-loopback-py-test3)# commit dry-run
- Aborted: Python cb_create error. IP address must be unique
- admin@ncs(config-loopback-py-test3)# ip-address 127.0.0.3
- admin@ncs(config-loopback-py-test3)# commit dry-run
- cli {
- local-node {
- data devices {
- device c0 {
- config {
- ios:interface {
- + Loopback 2 {
- + ip {
- + address {
- + primary {
- + address 127.0.0.3;
- + mask 255.255.255.255;
- + }
- + }
- + }
- + }
- }
- }
- }
- }
- +loopback-py test3 {
- + device c0;
- + interface-number 2;
- + ip-address 127.0.0.3;
- +}
- }
- }
- admin@ncs(config-loopback-py-test3)# commit
- Commit complete.
- admin@ncs(config-loopback-py-test3)# top
- admin@ncs(config)# show full-configuration loopback-py
- loopback-py test
- device c0
- interface-number 0
- ip-address 127.0.0.1
- !
- loopback-py test2
- device c0
- interface-number 1
- ip-address 127.0.0.2
- !
- loopback-py test3
- device c0
- interface-number 2
- ip-address 127.0.0.3
- !
- admin@ncs(config)#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement