Comware

 View Only
last person joined: 13 hours ago 

Expand all | Collapse all

OSPF Distance Config on HPE 5510-HI

This thread has been viewed 0 times
  • 1.  OSPF Distance Config on HPE 5510-HI

    Posted Jul 18, 2017 11:59 AM

    Hi All,

    Recently purchased a HPE 5510 24G 4SFP+ and been playing around with the featureset (very much used to Cisco and Aruba/HP CLI :( ).

    I cannot seem to locate 'distance' in the OSPF command set on the switch or locate it at all in the IP L3 referencing document. For example on my Cisco kit i have:

    router ospf 100
    <<ommitted output>>
    distance 130 xx.xx.xx.xx 0.0.0.0
    distance 150 xx.xx.xx.xx 0.0.0.0
    distance 170 xx.xx.xx.xx 0.0.0.0

    And i want to do the same on this switch. Am i missing something obvious, has it been deprecated or just obscurely named?

    Help appreciated!

    Thanks.


    #ospf
    #distance
    #comware
    #HPE


  • 2.  RE: OSPF Distance Config on HPE 5510-HI

    Posted Jul 19, 2017 05:05 AM

    Hi,

    its called "preference" in comware-lingo. So:

    [HP-5510] ospf 1
    [HP-5510-ospf-1]preference ?
      INTEGER<1-255>  Preference value
      ase             Preference for ASE routes
      route-policy    Specify the routing policy
    
    

    Regards

     

     



  • 3.  RE: OSPF Distance Config on HPE 5510-HI

    Posted Jul 20, 2017 09:39 AM

    Hi,

    Thanks for replying. So i'm guessing that it's just more long winded as i'll have to:

    • Create a standard ACL for the IP
    • Create a route-policy matching that ACL
    • Create the prefence command, referencing the route-policy

    And then that makes the desired IP be a desired 'distance' within OSPF?

    Thanks,

    Colin



  • 4.  RE: OSPF Distance Config on HPE 5510-HI

    Posted Jul 21, 2017 11:21 AM

    Hi,

    This only works in part. It only supports one entry, so overwrites the previous if you add another. On my other switches, i've specified different peers with different distances, to manipulate incoming default route preference via OSPF.

    Is this not possible in Comware?

    Thanks