华为路由器BGP协议配置命令(2)

http://network.51cto.com  2007-04-09 14:41  小花花  小花花的窝  我要评论(0)

【缺省情况】

Routemap中缺省不匹配AS正则表达式。

【命令模式】

Routemap配置模式

【举例】

Quidway(config)#ip as-path access-list 2 permit 200,300

Quidway(config)#route-map test permit 10

Quidway(config-routemap)#match as-path 2

4.10.7 match interface
指定Routemap中匹配的接口类型。

[ no ] match interface [ interface-type interface-number ]

【参数说明】

interface-type 为接口类型

interface-number 为接口编号

【缺省情况】

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

Quidway(config-router-bgp)#neighbor test default-originate

【相关文章】

【责任编辑:雪花 TEL:(010)68476606-8008】


共2页: 上一页 [1] 2
【内容导航】
路由器产品导购
RIP路由协议专栏
主流品牌防火墙配置
中小企业安全路由器手册
华为路由器配置
 
 验证码: (点击刷新验证码)   匿名发表
  • Visual C++ 完全自学宝典

  • 作者:强锋科技,朱洪波
  • Visual C++ 6.0是微软公司为程序人员提供的Visual Studio 6.0工具套件中的重要组成部分。本书由浅入深地介绍使用Visual C++ 6.0..
Copyright©2005-2008 51CTO.COM 版权所有