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

你必须在路由器的配置情况下,s indicated by theswitch(config-router)#prompt.

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

distance

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

switch(config-ospf-1)#distance 100