Chapter 29 BGP Configuration DGS-3610 Series Configuration Guide
Router(config-router)# neighbor
{address | peer-group-name} times
keepalive holdtime
(Optional) Configure the Keepalive and Holdtime value
to establish the connection with specified BGP peer
(group).
The range of the keepalive is 1~65535s, 60s by
default.
The range of the holdtime is 1~65535s, 180s by
default.
Use the no option of corresponding commands to clear the value of configured timer.
29.9 Configuring Path Attribute for
BGP
29.9.1 AS_PATH Attribute Related
Configuration
The BGP can control the distribution of the route information in three ways:
IP Address, you can carry out it by using the neighbor distribute-list and neighbor
prefix-list commands.
AS_PATH Attribute, refer to the description in this section.
COMMUNITY Attribute, refer to the COMMUNITY Attribute Related Configuration.
You can use the AS path-based Access Control List to control the distribution of the route
information. Of which, the AS path-based Access Control List will use Regular Expression to
resolute the AS path.
To configure the AS path-based distribution of the route information, execute the following
operations in the privileged mode:
Router# configure terminal
Enter into the global configuration mode.
Router(config)# ip as-path
access-list path-list-name {permit |
deny} as-regular-expression
(Optional) Define an AS path list.
Router(config)# ip routing
Enable the route function (if disabled)
Router(config)# router bgp as-number
Enable the BGP and configure this AS number to enter
into the BGP configuration mode.
Router(config-router)# neighbor
{address | peer-group-name}
filter-list path-list-name {in | out}
(Optional) Configure to implement the route strategy
according to the AS path list when the route
information is received from and sent to specified BGP
peer (group).