protocols bgp <asn> address-family ipv6-unicast parameters distance global <distance>
Sets the global administrative distance of BGP routes for an IPv6 unicast address family.
The default values for the external, internal, and local distances are mentioned in the Parameters table.
- 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. Default is 20.
- internal distance
- Specifies the internally learned (iBGP) route distance. The number ranges from 1 through 255. Default is 200.
- local distance
- The locally generated route distance. The number ranges from 1 through 255. Default is 200.
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 of BGP routes for an IPv6 unicast address family.
Use the delete form of this command to delete the global administrative distance of BGP routes for an IPv6 unicast address family.
Use the show form of this command to display the global administrative distance of BGP routes for an IPv6 unicast address family.