Comware Based
cancel
Showing results for 
Search instead for 
Did you mean: 

Display Routing Table Order

drummaker
Occasional Contributor

Display Routing Table Order

I have been using A series comware 5500s for a while now but my network is based on the older comware E series.  I am going through the process of upgrading a little at a time, and just noticed the other day that there is what I consider an anomily in the way that the newer version of Comware displays routes

 

here is an example

A traceroute showed that it took the most specific which is 3rd down  so the display is fubar and very irritating

 this was in response to Display routing 10.1.232.5

This route was set up with a static entry JUST to see what would be displayed.

Notice that all 0s route is on top 

in this scenario a traceroute form a PC verified that the system IS using specificity as the decision making criteria.  

IS there a way to make it display routes by choice  IE 1st choice on the top of the list?

Also  Can someone tell me criteria for making routing decisions as I am an old Cisco guy

as far as I can tell it goes by

Specificity > Preferance > Cost

when I import Static into ospf no mater how I do it  type 1 or 2 and tag 

it alsays coms in as a preferance of 150   

what gives?

 

Destination/Mask    Proto  Pre  Cost         NextHop         Interface

 

0.0.0.0/0           O_ASE  150  0            10.1.240.2      Vlan240

10.1.232.0/24       OSPF   10   16           10.1.240.2      Vlan240

10.1.232.5/32       O_ASE  150  2            10.1.240.6      Vlan240

 

Also  Can someone tell me criteria for making routing decisions as I am an old Cisco guy

as far as I can tell it goes by

Specificity > Preferance > Cost

when I import Static into ospf no mater how I do it  type 1 or 2 and tag 

it alsays coms in as a preferance of 150   

what gives?

1 REPLY
San0707
Occasional Visitor

Re: Display Routing Table Order

Hi

1) Is there a way to make it display routes by choice  IE 1st choice on the top of the list?  Not Really, Command for Longest-match is present.

<Comware> display ip routing-table  x.x.x.x longer-match

x.x.x.x is IP address

 

2)when I import Static into ospf no mater how I do it  type 1 or 2 and tag it alsays coms in as a preferance of 150   

prefrence for any 

Prefrenece for any external ospf routes is by default 150, Prefrence corresponds to AD value in terms of cisco.

Type 1 & Type 2 will have effect on Cost value of route,

Cost corresponds to metric in cisco