Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Command comparision notes for cisco/juniper router

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

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: Command comparision notes for cisco/juniper router

on the juniper you can use show route | match

10 REPLIES
New Member

Re: Command comparision notes for cisco/juniper router

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/

New Member

Re: Command comparision notes for cisco/juniper router

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

Hall of Fame Super Gold

Re: Command comparision notes for cisco/juniper router

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.

New Member

Re: Command comparision notes for cisco/juniper router

Hi paolo,

thanks for the pointing the mistake .. will check the same in future ..

thanks

ujil

New Member

Re: Command comparision notes for cisco/juniper router

on the juniper you can use show route | match

Cisco Employee

Re: Command comparision notes for cisco/juniper router

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

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
New Member

Re: Command comparision notes for cisco/juniper router

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}

Hall of Fame Super Gold

Re: Command comparision notes for cisco/juniper router

Match by interface and not ip then. Or if you are scripting, match by ip first and then match by the interface result.

New Member

Re: Command comparision notes for cisco/juniper router

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

New Member

Re: Command comparision notes for cisco/juniper router

Hi

thanks for the xtnd help

ujil

2928
Views
2
Helpful
10
Replies
CreatePlease to create content