[Xorp-users] Problems with XORP - seeing error 102 - 102 Command failed Cannot enable vif register_vif: no such vif[edit protocols pimsm4]

Pavlin Radoslavov pavlin at icir.org
Sat Jan 20 09:38:14 PST 2007


> I am a new user of XORP and am using XOPR for some testing. I am using LIVE
> CD v1.3 and I am facing certain problems -
> 
> 1) If I change connection during runtime, i.e. XORP is up and running some
> interface goes down showing message 'NO CARRIER'. I need to restart the
> system

Yes, this is a known problem.
After the cable is reconnected to the interface you can do the
following: disable then enable (inside xorpsh) the affected
interface. You need to disable and enable it in mfea4, igmp and
pimsm4. E.g.:

set protocols pimsm4 interface rl0 vif rl0 disable true
# commit
set protocols igmp interface rl0 vif rl0 disable true
# commit
set multicast mfea4 interface rl0 vif rl0 disable true
commit

set protocols pimsm4 interface rl0 vif rl0 disable false
# commit
set protocols igmp interface rl0 vif rl0 disable false
# commit
set multicast mfea4 interface rl0 vif rl0 disable false
commit

If this doesn't work, then you might need to use the commented-out
"commit" commands as well.


> 2) I am not able to add register_vif interface. I have successfully added
> the other physical interface for PIMSM4. When I try to add register_vif, it
> gives an error saying vif register_vif does not exist. I did following
> things serially

You need to add the register_vif to mfea4 before adding it to
pimsm4. E.g.

set plumbing mfea4 interface register_vif vif register_vif
# commit
set protocols pimsm4 interface register_vif vif register_vif
commit

Hope that helps,
Pavlin

> 
> What all I did -
> - Connected Physical Interfaces
> - Restarted PC with XORP Live CD v1.3
> - Selected the interfaces during startup
> - When system booted up, I configured the interface address and verified
> using ping
> --- being PASTE ----
> dc0/dc0: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500
>         inet 149.11.1.1 subnet 149.11.1.0/24 broadcast 149.11.1.255
>         physical index 2
>         ether 00:80:ad:85:1c:b1
> fxp0/fxp0: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500
>         inet 192.168.10.149 subnet 192.168.10.0/24 broadcast 192.168.10.255
>         physical index 4
>         ether 00:11:25:38:56:d4
> lo0/lo0: Flags:<ENABLED,MULTICAST,LOOPBACK> mtu 16384
>         physical index 9
> rl0/rl0: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500
>         inet 149.10.1.1 subnet 149.10.1.0/24 broadcast 149.10.1.255
>         physical index 1
>         ether 00:00:a1:32:3b:fc
> vr0/vr0: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500
>         inet 149.12.1.1 subnet 149.12.1.0/24 broadcast 149.12.1.255
>         physical index 3
>         ether 00:80:c8:03:87:36
> ----end PASTE---------------
> - Enabled PIM routing process (set protocols pimsm4)
> - Added interface name to the pimsm4
> --------------begin PASTE----------------------
> xorp at LiveCD> show pim interface
> Interface    State    Mode   V PIMstate Priority DRaddr          Neighbors
> dc0          UP       Sparse 2 DR              1 149.11.1.1              0
> fxp0         DISABLED Sparse 2 DR              1 192.168.10.149          0
> lo0          DISABLED Sparse 2 NotDR           1 0.0.0.0                 0
> rl0          UP       Sparse 2 DR              1 149.10.1.1              0
> vr0          UP       Sparse 2 DR              1 149.12.1.1              0
> xorp at LiveCD>
> ------------------end PASTE------------------------
> 
> - Now when I add special register_vif I get an error
> 
> ------------------------being
> PASTE---------------------------------------------
> xorp at LiveCD> configure
> Entering configuration mode.
> There are no other users in configuration mode.
> [edit]
> xorp at LiveCD# edit protocols pimsm4
> [edit protocols pimsm4]
> xorp at LiveCD# set interface regs
> Possible completions:
>   <text>               Configure IPv4 PIM-SM on a network interface
> xorp at LiveCD# set interface register_vif vif register_vif
> [edit protocols pimsm4]
> xorp at LiveCD# commit
> Commit Failed
> 102 Command failed Cannot enable vif register_vif: no such vif[edit
> protocols pimsm4]
> xorp at LiveCD#
> ------------------------end
> PASTE---------------------------------------------
> 
> And since it is mandatory to have the special vif installed, PIM is not
> working. Can someone guide me how to do it
> 
> -- 
> Thanks and Regards,
> Neeraj Prasad
> _______________________________________________
> 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