Influencing route choice by changing the administrative distance

The administrative distance value can be left in its default configuration setting (110) unless a change is needed to improve OSPF performance for a specific network configuration.

Prerequisites

You must be in the router configuration context, as indicated by the switch(config-router)# prompt.

Procedure
Reconfigure the administrative distance using the following command. For command details, see distance command.

distance <distance>

For example, use the following command to set administrative distance to 100.

switch(config-router)# distance 100