D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
120
config bgp timer
The default value is 180 seconds.
If the holdtime is set to zero, then the holdtime will never expire.
If the two routers that build a BGP connection have a different hold time, then the
smaller hold time will be used.
If the timer is specified for specific neighbors, then the neighbor specific timer will
take effect.
The hold time needs to be at least three times that of the keepalive timer.
keepalive - The valid values are from 0 to 65535.
This specifies the interval at which keepalive messages are sent to its peer.
If the keepalive value is set to zero, then the keepalive message will not be sent out.
The default value is 60 seconds.
If the two routers that build a BGP connection have a different keepalive timer, then
the smaller keepalive timer will be used.
If the timer is specified for specific neighbors, then the neighbor specific timer will
take effect.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the BGP hold and keepalive timer:
DGS-3627:admin# config bgp timer holdtime 360 keepalive 120
Command:4# config bgp timer holdtime 360 keepalive 120
Success.
DGS-3627:admin#
config bgp bestpath
Purpose This command is used to configure the BGP best path selection related setting.
Syntax
config bgp { always_compare_med [enable | disable]| deterministic_med [enable |
disable] | default_local_preference <uint 0-4294967295>| bestpath { as_path_ignore
[enable | disable] | compare_routerid [enable | disable] | med_confed [enable | disable]
| med_missing_as_worst [enable | disable] | compare_confed_aspath [enable | disable]
}(1)}(1)
Description MED is a metric assigned to tell the external router how to choose a route. By default, MED is
used to determine the route that is advertised by the same AS.
The BGP deterministic med command can be configured to enforce a deterministic
comparison of the MED values between all the paths received from within the same
Autonomous System
Default local preference
By default, a BGP router will send the default local preference with the routes. It can be
overwritten if the local preference is set by the route map. For the received route, the local
preference received with the route will be used in the best path selection. This local
preference will be overwrite if the local preference is ingress set by the route map.
For the local routes, the default local preference will be used for them in the best path
selection
Best path selection process
The following is the steps that the BGP will use to select the best path among BGP routes:
Prefer the path that has the largest weight.