Tuesday, March 13, 2012

#HPN Routing Preferences (aka Administative Distance)

If you're looking to understand the Adminstrative Distance on HP... its called Routing Preference in Comware.

Here's the breakdown:


Routing approach                       Preference
DIRECT                                    0
OSPF                                        10
IS-IS                                         15
STATIC                                    60
RIP                                           100
OSPF ASE                               150
OSPF NSSA                            150
IBGP                                        255
EBGP                                       255
UNKNOWN                           256

If you want to change the preference for static routes:

ip route-static default-preference default-preference-value

If you want to change the preference for rip routes:

rip {process id}

preference [ route-policy route-policy-name ] value


If you want to change the preference for ospf routes:

ospf {process id}

preference [ ase ] [ route-policy route-policy-name ] value

If you want to change the preference for ISIS routes:

isis {process id}

preference [ ase ] [ route-policy route-policy-name ] value

If you want to change the preference for BGP routes:

bgp as-number


preference { external-preference internal-preference local-preference | route-policy route-policy-name }




No comments:

Post a Comment