D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 6 BGP
Configuration
6-16
Command Function
as-number
AS number to enter into the BGP
configuration mode.
DES-7200(config-router)# neighbor
{address | peer-group-name}
filter-list path-list-name {in | out}
(Optional) Implement the routing
policy according to the AS path list
when the route information is
received from and sent to the
specified BGP peer (group).
DES-7200(config-router)# neighbor
{address | peer-group-name}
route-map map-tag {in | out}
(Optional) Implement the routing
policy according to the route-map
when the route information is
received from and sent to the
specified BGP peer (group).
In the route-map configuration mode,
you can use the match as-path to
operate the AS path attribute by the
AS path list, or take the set as-path
to operate the AS attribute value
directly.
The BGP protocol will not take the length of the AS path into account when it
selects the optimal path as specified in RFC1771. In general, the shorter the
length of the AS path, the higher the path priority is. Hence, we take the length of
the AS path when we select the optimal path. You can determine whether it is
necessary to take the length of the AS path into account when you select the
optimal path according to the actual condition.
If you don’t want take the length of the AS path into account when you select the
optimal path, execute the following operations in the BGP configuration mode:
Command Function
DES-7200(config-router)# bgp
bestpath
as-path ignore
(Optional) Compare with the length of
the AS path when selecting the
optimal path.
Caution
Within the AS, whether all BGP Speakers take the length of the AS path into
account will be consistent when selecting the optimal path. Otherwise, the
optimal path information selected by various BGP Speakers will be different.