D-Link DGS-3130 Emulator - Page 634
Protocol Independent Commands
![]() |
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 634 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide 62. Protocol Independent Commands 62-1 distance This command is used to define an administrative distance for routing protocols including RIP and BGP. Use the no form of this command to revert to the default setting. distance DISTANCE no distance Parameters DISTANCE Specifies the administrative distance. The range is from 1 to 255. Default The default distance of a connected route is 0. The default distance of an External Border Gateway Protocol (eBGP) route is 70. The default distance of an Open Shortest Path First (OSPF) intra-area route is 80. The default distance of an OSPF inter-area route is 90. The default distance of an OSPF type-1 AS external route is 110. The default distance of an OSPF type-2 AS external route is 115. The default distance of an internal BGP route is 130. Command Mode Router Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to configure the distance is an integer from 1 to 255 representing the trust rating of the route. The route with a lower distance value is preferred over the route with a higher distance value. A route with the distance 255 will not be installed for routing of packets since it indicates that the route is not trusted. If the distance command is used without parameters, the specified distance becomes the default value for routes of the configured protocol. Example This example shows how to configure the distance of the RIP route to be 75. Switch#configure terminal Switch(config)#router rip Switch(config-router)#distance 75 Switch(config-router)# 62-2 distance default This command is used to define an administrative distance for static default route. Use the no form of this command to revert to the default setting. 630
![](/manual_guide/products/dlink-dgs3130-emulator-9c3be7f/634.png)