D-Link DGS-6600-48TS Configuration Guide - Page 303
Comparing Router IDs for Identical eBGP Paths
View all D-Link DGS-6600-48TS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 303 highlights
Volume 4-Layer 3 Configurations / Chapter 30-Border Gateway Protocol (BGP) BGP Configuration commands Command configure terminal router bgp AS-NUMBER bgp bestpath as-path ignore Explanation Enter Global configuration mode. Enter the following information to configure BGP routing process and enter into BGP configuration mode. Enter the following command to enforce the BGP as-path ignore factor to select the best path. Configuration Example The following example shows you how to configure BGP to ignore the AS-PATH for the best path for autonomous system 65534: dgs-6600:2>enable dgs-6600:15#configure terminal dgs-6600:15(config)#router bgp 65534 dgs-6600:15(config-router)#bgp bestpath as-path ignore dgs-6600:15(config-router)# Comparing Router IDs for Identical eBGP Paths Use the bgp bestpath compare-routerid command to compare router IDs for identical eBGP paths. When comparing similar routes from peers the BGP router does not consider router ID of the routes. By default, it selects the first received route. Use this command to include router ID in the selection process; similar routes are compared and the route with lowest router ID is selected. The router-id is the highest IP address on the router, with preference given to loopback addresses. The Router ID can be manually set by using the bgp router-id command. Command enable [privilege LEVEL] configure terminal router bgp AS-NUMBER bgp bestpath compare-routerid Explanation Enter privileged EXEC mode. Enter Global configuration mode. Enter the following information to configure BGP routing process and enter into BGP configuration mode. Enter the following command to enforce BGP to compare router IDs for identical eBGP paths. Configuration Example To compare router IDs for identical eBGP paths for autonomous system 65534: dgs-6600:2>enable dgs-6600:15#configure terminal dgs-6600:15(config)#router bgp 65534 dgs-6600:15(config-router)#bgp bestpath compare-router-id dgs-6600:15(config-router)# Configuring BGP Defaults and Activating IPv4-Unicast for Peers The bgp default ipv4-unicast command is used to enable the automatic exchange of IPv4 address family prefixes. DGS-6600 Configuration Guide 303