Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

distance bgp

Sets the administrative distance for BGP routes.

Syntax
distance bgp external-distance internal-distance local-distance
Parameters
  • external-distance—Enter a number to assign to routes learned from a neighbor external to the AS, from 1 to 255.
  • internal-distance—Enter a number to assign to routes learned from a router within the AS, from 1 to 255.
  • local-distance—Enter a number to assign to routes learned from networks listed in the network command, from 1 to 255.
Defaults
  • external-distance—20
  • internal-distance—200
  • local-distance—200
Command Modes
  • CONFIG-ROUTER-BGP-ADDRESS-FAMILY
  • CONFIG-ROUTER-BGP-VRF-ADDRESS-FAMILY
Usage Information
This command is used to configure administrative distance for eBGP route, iBGP route, and local BGP route. Administrative distance indicates the reliability of the route; the lower the administrative distance, the more reliable the route is. Routes that are assigned an administrative distance of 255 are not installed in the routing table. Routes from confederations are treated as iBGP routes.
Examples

Default VRF:

IPv4

OS10# configure terminal
OS10(config)# router bgp 100
OS10(config-router-bgp-100)# address-family ipv4 unicast
OS10(configure-router-bgpv4-af)# distance bgp 10 200 210

IPv6

OS10# configure terminal
OS10(config)# router bgp 100
OS10(config-router-bgp-100)# address-family ipv6 unicast
OS10(configure-router-bgpv6-af)# distance bgp 10 200 210

Non-default VRF

OS10(config-router-bgp-100)# vrf blue
OS10(config-router-bgp-100-vrf)# address-family ipv4 unicast
OS10(configure-router-bgpv4-vrf-af)# distance bgp 21 200 200
OS10(config-router-bgp-100-vrf)# address-family ipv6 unicast
OS10(configure-router-bgpv6-vrf-af)# distance bgp 21 201 250
Supported Releases
10.4.2.0 or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\