Home > Articles > Cisco Certification > CCNP > CCNP Routing and Switching Portable Command Guide: Configuration of Redistribution

CCNP Routing and Switching Portable Command Guide: Configuration of Redistribution

Changing Administrative Distance for Internal and External Routes

The commands to change the administrative distance (AD) for internal and external routes are as follows.

Router(config)#router ospf 1

Starts the OSPF routing process

Router(config-router)#distance ospf intra-area 105 inter-area 105 external 125

Changes the AD to 105 for intra-area and interarea routes, and changes the AD to 125 for external routes

Router(config)#router eigrp 100

Starts the EIGRP routing process

Router(config-router)#distance eigrp 80 105

Changes the AD to 80 for internal EIGRP routes and changes the AD to 105 for EIGRP external routes

Router(config)#router bgp 65001

Starts the BGP routing process

Router(config-router)#distance bgp 30 200 220

Changes the AD to 30 for external BGP routes, 200 for internal BGP routes and 220 for local BGP routes

15. Passive Interfaces | Next Section Previous Section