[Xorp-hackers] PIM-SM / PIM-Bidir doubt about (*,G) entries.

Ashish Karpe ashishkarpe at gmail.com
Mon Feb 26 13:21:08 PST 2007


On 2/20/07, Pavlin Radoslavov <pavlin at icir.org> wrote:
>
>
> >   We changed pim.cmds so now we can see pimbidir commands (eg. show
> > pimbidir) but no actions is performed as appropriate XRL is to be
> associated
> > with it !!  So is there any document  which will  help us  in achieving
> > this  (via  xorpsh) !! or please let us know which which files to be
> > modified ??
>
> The actions associated with the *.cmds xorpsh templates are
> executing external commands, not XRLs. Those commands then might
> invoke various XRLs.


There is some problem in invoking various XRLs through commands !!


**************************************************************************************************************
We modified pim.cmds as follows :


/* $XORP: xorp/etc/templates/pim.cmds,v 1.4 2004/06/02 02:38:41 pavlin Exp $
*/

show pim {
    %command: "" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about IPv4 PIM";
}

show pim bootstrap {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about PIM IPv4 bootstrap routers";
}

show pim bootstrap rps {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about PIM IPv4 bootstrap RPs";
}

show pim interface {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about PIM IPv4 interfaces";
}

show pim interface address {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about addresses of PIM IPv4 interfaces";
}

show pim join {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about PIM IPv4 groups";
}

show pim join all {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about all PIM IPv4 groups";
}

show pim mfc {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about PIM Multicast Forwarding Cache";
}

show pim mrib {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display MRIB IPv4 information inside PIM";
}

show pim neighbors {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about PIM IPv4 neighbors";
}

show pim rps {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about PIM IPv4 RPs";
}

show pim scope {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about PIM IPv4 scope zones";
}

show pimbidir {
    %command: "" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about IPv4 PIM-BIDIR";
}

show pimbidir bootstrap {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about PIM-BIDIR IPv4 bootstrap routers";
}

show pimbidir bootstrap rpas {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about PIM-BIDIR IPv4 bootstrap RPAs";
}

show pimbidir interface {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about PIM-BIDIR IPv4 interfaces";
}

show pimbidir interface address {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
%tag: HELP "Display information about addresses of PIM-BIDIR IPv4
interfaces";
}

show pimbidir join {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about PIM-BIDIR IPv4 groups";
}

show pimbidir join all {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about all PIM-BIDIR IPv4 groups";
}

show pimbidir mfc {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
%tag: HELP "Display information about PIM-BIDIR Multicast Forwarding Cache";
}

show pimbidir mrib {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display MRIB IPv4 information inside PIM-BIDIR";
}

show pimbidir neighbors {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about PIM-BIDIR IPv4 neighbors";
}

show pimbidir rpas {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about PIM-BIDIR IPv4 RPAs";
}

show pimbidir scope {
    %command: "cli/tools/send_cli_processor_xrl -t PIMSM_4 $0" %help: HELP;
    %module: pimsm4;
    %tag: HELP "Display information about PIM-BIDIR IPv4 scope zones";
}


************************************************************************************************************
Output of XORPSH :


root at chintamani> show
`show' is ambiguous.
Possible completions:
  host                 Display information about the host
  igmp                 Display information about IGMP
  interfaces           Show network interface information
  mfea                 Display information about IPv4 MFEA
  pim                  Display information about IPv4 PIM
  pimbidir             Display information about IPv4 PIM-BIDIR
  route                Show routes
root at chintamani> show pimbidir interface address
  <[Enter]>            Execute this command
  |                    Pipe through a command
root at chintamani> show pimbidir interface address
root at chintamani>


*************************************************************************************************************
Now it should be showing interfaces but there is no action at all !!!! what
is going wrong here ??

Thank you,
Ashish




Regards,
> Pavlin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20070227/a53a4f0e/attachment.html 


More information about the Xorp-hackers mailing list