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

chintamani wandhre chintamanisw at gmail.com
Mon Feb 26 21:41:00 PST 2007


On 2/27/07, Pavlin Radoslavov <pavlin at icir.org> wrote:
>
> Ashish Karpe <ashishkarpe at gmail.com> wrote:
>
> > 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 !!
>
> Did you add/implement the new commands to pim/pim_node_cli.cc?
> E.g., see method PimNodeCli::add_all_cli_commands() in that file.


         But we haven't added any new command !! Initially we just want to
execute same commands those of PIM-SM for Bidir (eg. show pim interface
address & show pimbidir interface address should execute same command  !! ).



Regards,
> Pavlin
>
> >
> >
> **************************************************************************************************************
> > 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
> > >
> > _______________________________________________
> > Xorp-hackers mailing list
> > Xorp-hackers at icir.org
> > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20070227/ecb70820/attachment-0001.html 


More information about the Xorp-hackers mailing list