Dell PowerConnect 6248 Configuration Guide - Page 96
Example 1: Con Administrative Preferences
View all Dell PowerConnect 6248 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 96 highlights
Example 1: Configure Administrative Preferences The following commands configure the administrative preference for the RIP and OSPF: console#Config router rip distance rip 130 exit For OSPF, an additional parameter identifies the type of OSPF route that the preference value applies to: router ospf distance ospf ? external inter-area intra-area Enter preference value for OSPF external routes. Enter preference value for inter-area routes. Enter preference value for intra-area routes. distance ospf inter 170 exit Example 2: Assigning Administrative Preferences to Static Routes By default, static routes are assigned a preference value of 1. The following command changes this default: console#Config ip route distance 20 exit When you configure a static route, you can assign a preference value to it. The preference overrides the setting inherited as the default value for static routes. In this example, two static routes are defined to the same destination but with different next hops and different preferences (25 and 30). The route with the higher preference will only be used when the preferred route is unavailable: console#Config ip route 10.25.67.0 255.255.255.0 10.25.22.2 ip route 10.25.67.0 255.255.255.0 10.25.21.0 exit Similarly, you can create two default routes-one preferred and the other used as a backup. In this example, the preference values 1 and 10 are assigned: console#Config ip route default 10.25.67.2 1 ip route default 10.25.67.7 10 exit 96 Routing Configuration