路由器BGP协议配置命令( 二 )


【缺省情况】
Routemap中缺省不匹配接口类型 。
【命令模式】
Routemap配置模式
【举例】
Quidway(config)#route-map test permit 10
Quidway(config-routemap)#match interface ethernet 0
4.10.8 match ip address指定Routemap中匹配的IP地址范围 。
[ no ] match ip address list-number
【参数说明】
list-number 为已配置的IP访问列表号 。
【缺省情况】
Routemap中缺省不匹配IP地址范围 。
【命令模式】
Routemap配置模式
【举例】
Quidway(config)#route-map test permit 10
Quidway(config-routemap)#match ip address 3
4.10.9 match metric指定Routemap中匹配的metric 。
[ no ] match metric metric
【参数说明】
metric 的范围是1~4294967295 。
【缺省情况】
Routemap中缺省不匹配metric 。
【命令模式】
Routemap配置模式
【举例】
Quidway(config)#route-map test permit 10
Quidway(config-rouemap)#match metric 5
4.10.10 neighbor group-name advertisement-interval配置同伴组的发送路由时间间隔 。
[ no ] neighbor group-name advertisement-interval seconds
【参数说明】
group-name 为已配置的同伴组名称 。
seconds 为发送UPDATE消息的最小时间间隔,范围为1~1000 。
【缺省情况】
缺省的发送时间间隔为5秒 。
【命令模式】
BGP协议配置模式
【举例】
Quidway(config-router-bgp)#neighbor test remote 100
Quidway(config-router-bgp)#neighbor test advertisement-interval 10
4.10.11 neighbor group-name default-originate设置同伴组引入默认路由 。
[ no ] neighbor group-name default-originate [ route-map routemap-name ]
【参数说明】
group-name 为已配置的同伴组名称 。
routemap-name为可选参数,指定默认路由经过的Routemap 。
【缺省情况】
同伴组缺省不引入默认路由 。
【命令模式】
BGP协议配置模式
【举例】
Quidway(config-router-bgp)#neighbor test remote-as 100
【路由器BGP协议配置命令】Quidway(config-router-bgp)#neighbor test default-originate

推荐阅读