cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4471
Views
2
Helpful
10
Replies

Command comparision notes for cisco/juniper router

bagvanliju
Level 1
Level 1

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

on the juniper you can use show route | match

View solution in original post

10 Replies 10

patrickvanham
Level 1
Level 1

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/

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

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.

Hi paolo,

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

thanks

ujil

on the juniper you can use show route | match

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

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}

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

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

Hi

thanks for the xtnd help

ujil

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco