| distance bgp <1-255> <1-255> <1-255> | BGP |
| This command change distance value of BGP. Each argument is distance value for external routes, internal routes and local routes. |
| distance <1-255> A.B.C.D/M | BGP |
| distance <1-255> A.B.C.D/M word | BGP |
| This command set distance value to |