Static routing configuration cli commands, Route preferences – Avaya P332G-ML User Manual

Page 112

Advertising
background image

Chapter 12

Avaya P330 Layer 3 Features

98

Avaya P332G-ML User’s Guide

Static Routing Configuration CLI Commands

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)

In order to...

Use the following command...

Establish a static route

ip route

Remove a static route

no ip route

Set the maximum number of route
entries in the routing table

ip max-route-entries

Set the maximum number of route
entries in the routing table to the
default value

no ip max-route-entries

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

Advertising