配置BGP的Hold-timer和Hello時間
user@host# set protocols bgp hold-time seconds
#配置BGP的Hold-timer時間,Hello時間自動調整為Hold-time的1/3。
配置BGP的TCP程序的MSS為路徑的最大值
user@host# set protocols bgp mtu-discovery
#配置BGP的TCP程序的MSS為路徑的最大值
配置BGP的路由傳送延遲
user@host# set protocols bgp out-delay seconds
#配置BGP的的路由傳送延遲
配置路由器紀錄BGP的鄰居的變化
user@host# set protocols bgp log-updown
#配置路由器紀錄BGP的鄰居up/down的變化
配置BGP的Damping
user@host# set protocols bgp damping
#對於BGP路由啟用Damping演算法
配置BGP的Group
user@host# set protocols bgp group group-name
#配置BGP的組
配置BGP的Group的描述
user@host# set protocols bgp group group-name description description
#配置BGP的組的描述
配置BGP的Group的Local-Address
user@host# set protocols bgp group group-name local-address group-name local-address address
#配置和BGP的組內的鄰居進行通訊的時候使用的本地地址
配置BGP的Group內的鄰居允許執行unicast 和multicast
user@host# set protocols bgp group group-name family inet any
#配置BGP的Group內的鄰居允許執行unicast 和multicast
配置BGP的Neighbor
user@host# set protocols bgp group group-name neighbor address
#配置BGP的鄰居
配置BGP的Neighbor的描述
user@host# set protocols bgp group group-name neighbor address description description
#配置BGP的鄰居的描述
彙總舉例
Example:
NSN@BJ-BJ-JA-NSN-A-1-RE1> edit
Entering configuration mode
{master}[edit]
NSN@BJ-BJ-JA-NSN-A-1-RE1# set protocols bgp hold-time 30
{master}[edit]
NSN@BJ-BJ-JA-NSN-A-1-RE1# set protocols bgp mtu-discovery
{master}[edit]
NSN@BJ-BJ-JA-NSN-A-1-RE1# set protocols bgp out-delay 5
{master}[edit]
NSN@BJ-BJ-JA-NSN-A-1-RE1# set protocols bgp log-updown
{master}[edit]
NSN@BJ-BJ-JA-NSN-A-1-RE1# set protocols bgp damping
{master}[edit]
NSN@BJ-BJ-JA-NSN-A-1-RE1# set protocols bgp group pgGRR type internal
{master}[edit]
NSN@BJ-BJ-JA-NSN-A-1-RE1# set protocols bgp group pgGRR description FOR-NSN-IPv4-RR
{master}[edit]
NSN@BJ-BJ-JA-NSN-A-1-RE1# set protocols bgp group pgGRR local-address 59.43.0.4
{master}[edit]
NSN@BJ-BJ-JA-NSN-A-1-RE1# set protocols bgp group pgGRR family inet any
{master}[edit]
NSN@BJ-BJ-JA-NSN-A-1-RE1# set protocols bgp group pgGRR neighbor 59.43.0.2 description BJ-BJ-JA-NSN-RR-1
{master}[edit]
NSN@BJ-BJ-JA-NSN-A-1-RE1# set protocols bgp group pgGRR neighbor 59.43.2.52 description SN-SIA-XHM-NSN-RR-1
{master}[edit]
NSN@BJ-BJ-JA-NSN-A-1-RE1# commit
{master}[edit]
NSN@BJ-BJ-JA-NSN-A-1-RE1# show protocols bgp
hold-time 30;
mtu-discovery;
out-delay 5;
log-updown;
damping;
group pgGRR {
type internal;
description FOR-NSN-IPv4-RR;
local-address 59.43.0.4;
family inet {
any;
}
neighbor 59.43.0.2 {
description BJ-BJ-JA-NSN-RR-1;
}
neighbor 59.43.2.52 {
description SN-SIA-XHM-NSN-RR-1;
}
}
{master}[edit]
NSN@BJ-BJ-JA-NSN-A-1-RE1#