Static routing configuration cli commands, Route preferences – Avaya C360 User Manual

Page 170

Advertising
background image

Avaya C360 Layer 3 Features

170 Installation and Configuration Guide Avaya C360 Multilayer Stackable Switches, version 4.5

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.

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