protocols bgp <asn> address-family ipv4-unicast parameters distance global <distance>
Sets the global administrative distance for IPv4 BGP routes.
- asn
- The number of the AS in which this router resides. The number ranges from 1 through 4294967294. The subrange, 64512 through 65534, is reserved for a private AS.
- external distance
- Specifies the externally learned (eBGP) route distance. The number ranges from 1 through 255.
- internal distance
- Specifies the internally learned (iBGP) route distance. The number ranges from 1 through 255.
- local distance
- Specifies the locally generated route distance. The number ranges from 1 through 255.
Configuration mode
protocols {
bgp asn {
address-family {
ipv6-unicast {
parameters {
distance {
global {
external distance
internal distance
local distance
}
}
}
}
}
}
}
Use the set form of this command to set the global administrative distance for IPv4 BGP routes.
Use the delete form of this command to delete the global administrative for IPv4 BGP routes.
Use the show form of this command to display the global administrative for IPv4 BGP routes.