[Xorp-users] adding/removing interfaces with xorp-cli

Ben Greear greearb at candelatech.com
Thu Sep 20 11:58:01 PDT 2007


I tried these commands:

delete interfaces interface rddVR44 vif rddVR44 address 10.4.0.1
delete protocols ospf4 area 0.0.0.0 interface rddVR44 vif rddVR44 address 10.4.0.1
set protocols ospf4 area 0.0.0.0 interface rddVR44 vif rddVR44 address 10.4.0.10
set interfaces interface rddVR44 vif rddVR44 address 10.4.0.10 prefix-length 24
commit

I get this error on commit:

root at lanforge-33-46# commit Commit Failed
102 Command failed BadPeer from line 479 of peer_manager.cc: Unable to get prefix length for rddVR44/rddVR44/10.4.0.10[edit]

I also tried this:
delete interfaces interface rddVR44 vif rddVR44 address 10.4.0.1
delete protocols ospf4 area 0.0.0.0 interface rddVR44 vif rddVR44 address 10.4.0.1
commit

This failed with:
root at lanforge-33-46# commit
Commit Failed
102 Command failed Failed executing: "RemoveAddr4: rddVR44 rddVR44 10.4.0.1"[edit]

And, I tried removing just the ospf portion:
root at lanforge-33-46> configure Entering configuration mode.
There are no other users in configuration mode.
[edit]
root at lanforge-33-46# delete protocols ospf4 area 0.0.0.0 interface rddVR44 vif rddVR44 address 10.4.0.1
Deleting:
     10.4.0.1 {
     }

OK
[edit]
root at lanforge-33-46# commit
Commit Failed
102 Command failed BadPeer from line 392 of peer_manager.cc: No mapping for rddVR44/rddVR44 exists[edit]


I tried just changing the interface info:

root at lanforge-33-46> configure Entering configuration mode.
There are no other users in configuration mode.
[edit]
root at lanforge-33-46# delete interfaces interface rddVR44 vif rddVR44 address 10.4.0.1
Deleting:
     10.4.0.1 {
         prefix-length: 24
     }

OK
[edit]
root at lanforge-33-46# set interfaces interface rddVR44 vif rddVR44 address 10.4.0.10 prefix-length 24
[edit]
root at lanforge-33-46# commit
Commit Failed
102 Command failed Failed executing: "RemoveAddr4: rddVR44 rddVR44 10.4.0.1"[edit]
root at lanforge-33-46#


Any ideas?

Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-users mailing list