[Xorp-users] adding/removing interfaces with xorp-cli
Pavlin Radoslavov
pavlin at icir.org
Thu Sep 20 12:21:57 PDT 2007
Ben Greear <greearb at candelatech.com> wrote:
The errors seem to be coming from OSPF (or at least from the
FEA-OSPF interaction).
Please try deleting/adding addresses when running the FEA only as in
my sample configuration.
Pavlin
> 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
>
> _______________________________________________
> Xorp-users mailing list
> Xorp-users at xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
More information about the Xorp-users
mailing list