01-15-2009 04:16 AM - edited 03-04-2019 03:27 AM
Hi,
ISP-ACC-RTR-XX>show ip cef | in Serial0/1/0.1/1/1/1:0
XX.XX.XX.XX/30 attached Serial0/1/0.1/1/1/1:0
XX.XX.XX.XX/28 attached Serial0/1/0.1/1/1/1:0
Want to know the command in junper router for the abow output..is there any command comparision notes for cisco/juniper router.
Thanks in advance
ujil
Solved! Go to Solution.
01-15-2009 06:09 AM
on the juniper you can use show route | match
01-15-2009 05:24 AM
cef is a cisco forwarding mechanism, there is no cef available on a juniper.
There is a course on the juniper site, publicly available, that shows both ways next to each other and takes about one hour, see http://www.juniper.net/training/elearning/jsl/
01-15-2009 05:34 AM
Hi,
Thanks for the reply.We have few juniper routers (core) for isp links.Requrement if i know the wan ip of customer how can i find what is the lan pool customer is using in juniper router...(in cisco routers the same can be accomplished by ip cef ..any way to find the same in juniper router ...
thanks a lot for the reply once again
ujil
01-15-2009 05:44 AM
If they have something like the "| include" you can do "shop ip route | include serial x/y".
Note - leaving low ratings in the forum is not a great way to get along despite any verbal appreciation.
01-15-2009 05:52 AM
Hi paolo,
thanks for the pointing the mistake .. will check the same in future ..
thanks
ujil
01-15-2009 06:09 AM
on the juniper you can use show route | match
01-15-2009 06:38 AM
Patrick,
This command would list the content of the routing table (RIB). "show route forwarding-table" would list the content of the FIB, which would be more or less equivalent to "show ip cef" on an IOS box.
Regards
01-15-2009 06:51 AM
Hi,
I agree what harold pointed.Kinldy find the out put were lsq-3/3/0.3 is a multilink interface.its only showing the connected interface ip.
Thanks for the reply
MUM-ISP-AGGR-RTR-XX> show route | match XX.XX.XX.66
> to XX.XX.XX.66 via lsq-3/3/0.3
> to XX.XX.XX.66 via lsq-3/3/0.3
{master}
01-15-2009 10:33 AM
Match by interface and not ip then. Or if you are scripting, match by ip first and then match by the interface result.
01-15-2009 09:21 PM
Hi Paolo,
Thanks for the input,Tried the same but giving the same out put.
MUM-ISP-AGGR-RTR-XX> show route | match lsq-3/3/0.3
> via lsq-3/3/0.3
Local via lsq-3/3/0.3
> to XX.XX.XX.66 via lsq-3/3/0.3
> to XX.XX.XX.66 via lsq-3/3/0.3
############################################
After a long search i got the appropriate command..(dont know this is the correct command but this fullfilld my requiremen) thanks for the help ...
MUM-ISP-AGGR-RTR-XX>show configuration | display set | match XX.XX.XX.66
set routing-options static route XX.XX.XX.66/26 next-hop XX.XX.XX.66
set routing-options static route XX.XX.XX.80/28 next-hop XX.XX.XX.66
ujil
01-15-2009 10:19 PM
Hi
thanks for the xtnd help
ujil
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide