Route preferences – Avaya P332G-ML User Manual

Page 139

Advertising
background image

Chapter 12 Avaya P330 Layer 3 Features

Avaya P332G-ML User’s Guide

123

Route Preferences

The routing table may contain routes from different sources. Routes to a certain
destination may be learned independently from RIP and from OSPF, and at the
same time, a static route can also be configured to the same destination. While
metrics are used to choose between routes of the same protocol, protocol
preferences are used to choose between routes of different protocols.
The preferences only apply to routes for the same destination IP address and mask.
They do not override the longest-match choice. For example, a high-preference
static default route will not be preferred over a RIP route to the subnet of the
destination.
P330 protocol preferences are listed below from the most to the least preferred:
1

Local (directly attached net)

2

High-preference static (manually configured routes)

3

OSPF internal routes

4

RIP

5

OSPF external routes

6

Low-preference static (manually configured routes).

Define a default gateway (router)

ip default-gateway

Remove the default gateway
(router)

no ip default-gateway

Delete all the dynamic routing
entries from the Routing Table

clear ip route

Display information about the IP
unicast routing table

show ip route

Display a routing table for a
destination address

show ip route best-match

Display the static routes

show ip route static

Display the number of routes
known to the switch

show ip route summary

In order to...

Use the following command...

Advertising