Got it

Command to find out the path a route is taking

Created: Mar 1, 2018 15:07:59Latest reply: Apr 16, 2020 00:44:55 1588 8 1 0
  Rewarded HiCoins: 0 (problem resolved)
Hello all,


In Cisco world, we have a command to find out the exact way a route is taking if there are multiple paths to reach that destination after the hash calculation is done:

show ip cef exact-route 192.168.10.5 131.0.22.0
192.168.10.5 -> 131.0.22.0 =>IP adj out of Vlan10, addr 192.168.10.10


Is there any equivalent command in Huawei?


Best Regards.
  • x
  • convention:

Featured Answers
MRYang
Created Mar 13, 2018 05:56:38 Helpful(1) Helpful(1)

There are many parameters, is it enough for you?

<HUAWEI>disp ip routing-table 192.168.108.147 32 ver
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Table : Public
Summary Count : 1

Destination: 192.168.108.147/32
Protocol: Direct Process ID: 0
Preference: 0 Cost: 0
NextHop: 127.0.0.1 Neighbour: 0.0.0.0
State: Active NoAdv Age: 17d02h13m52s
Tag: 0 Priority: high
Label: NULL QoSInfo: 0x0
IndirectID: 0x0
RelayNextHop: 0.0.0.0 Interface: GigabitEthernet0/0/0
TunnelID: 0x0 Flags: D
View more
  • x
  • convention:

All Answers
Sophoni
Sophoni Created Mar 8, 2018 03:55:58 Helpful(0) Helpful(0)

I am not get the command too.
View more
  • x
  • convention:

user_2844477
user_2844477 Created Mar 9, 2018 02:45:30 Helpful(0) Helpful(0)

Any Huawei engineer could help?
View more
  • x
  • convention:

MRYang
MRYang Created Mar 13, 2018 05:56:38 Helpful(1) Helpful(1)

There are many parameters, is it enough for you?

<HUAWEI>disp ip routing-table 192.168.108.147 32 ver
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Table : Public
Summary Count : 1

Destination: 192.168.108.147/32
Protocol: Direct Process ID: 0
Preference: 0 Cost: 0
NextHop: 127.0.0.1 Neighbour: 0.0.0.0
State: Active NoAdv Age: 17d02h13m52s
Tag: 0 Priority: high
Label: NULL QoSInfo: 0x0
IndirectID: 0x0
RelayNextHop: 0.0.0.0 Interface: GigabitEthernet0/0/0
TunnelID: 0x0 Flags: D
View more
  • x
  • convention:

user_2844477
user_2844477 Created Mar 14, 2018 21:32:41 Helpful(0) Helpful(0)

Posted by MRYang at 2018-03-13 05:56 There are many parameters, is it enough for you?<HUAWEI>disp ip routing-table 192.168.108.147 32 ver ...
Hi.

It's not the command I need. The command you suggest just tells the path to certain destination.
If there are multiple paths, it would be great if we could know the exact path a packet would take from a SOURCE -> DESTINATION IP, like Cisco:

We know that for source IP 192.168.10.5 and destination IP 131.0.22.0, packet will go through VLAN10.
show ip cef exact-route 192.168.10.5 131.0.22.0
192.168.10.5 -> 131.0.22.0 =>IP adj out of Vlan10, addr 192.168.10.10
View more
  • x
  • convention:

Sophoni
Sophoni Created Mar 16, 2018 02:45:10 Helpful(0) Helpful(0)

how do you try the command
display fib

to check the IP address nexthop

View more
  • x
  • convention:

user_2844477
user_2844477 Created Aug 18, 2019 19:50:16 Helpful(0) Helpful(0)

Hi Sophoni.

Any Huawei employee could help on this? If this feature is not available yet, could you consider adding it to the next VRP releases?

This information is very helpful if we have many paths to get from A to B and we need to know the exact path the switch calculated for a specific destination to troubleshoot some problem.

Like Cisco, IP CEF gives us the detailed information about how A gets to B:
show ip cef exact-route 192.168.10.5 131.0.22.0
192.168.10.5 -> 131.0.22.0 =>IP adj out of Vlan10, addr 192.168.10.10

Using the command above, one could know which path a packet from source IP 192.168.10.5 will take to destination IP 131.0.22.0.

Thanks.
View more
  • x
  • convention:

user_2844477
user_2844477 Created Apr 16, 2020 00:30:44 Helpful(0) Helpful(0)

Hi all.

I'm still looking for this command. Anyone knows if there is any hidden command to achieve this?

What I need to know is a commando that can provide me the hash result and shows me which port on switch a specific flow is taking, like cisco does using

show ip cef exact-route 192.168.10.5 131.0.22.0
192.168.10.5 -> 131.0.22.0 =>IP adj out of Vlan10, addr 192.168.10.10

Thanks.
View more
  • x
  • convention:

lucian2003
lucian2003 MVE Created Apr 16, 2020 00:44:55 Helpful(0) Helpful(0)

Posted by MRYang at 2018-03-12 16:56 There are many parameters, is it enough for you?<HUAWEI>disp ip routing-table 192.168.108.147 32 ver ...
Thanks
View more
  • x
  • convention:

Hello%20friends%2C%20I%20am%20a%20Telecommunications%20and%20electronics%20engineer%20and%20I%20just%20graduated%20as%20a%20master%20in%20telecommunications%20systems.%20I%20am%2036%20years%20old%20and%20I%20attend%20the%20transport%20network%20in%20my%20province%2C%20which%20is%20mainly%20Huawei.

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."

My Followers

Login and enjoy all the member benefits

Login

Huawei Enterprise Support Community
Huawei Enterprise Support Community
Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.