AR系列路由器debugging bgp normal命令
BGP组网示意图
【命令】
debugging bgp normal
【视图】
用户视图
【参数】
无
【描述】
debugging bgp normal命令用来打开BGP运行时的一般调试信息。包括接收发送报文提示(没有具体报文信息)、路由策略设定、初始化、状态机转变事件触发等。
<RT1>display debugging
BGP normal debugging is on
【举例】
例1:建立BGP邻居时的一般(normal)调试信息显示如下
[RT2-bgp]group as100 internal
*0.18139503 RT2 RM/7/RTDBG:bgp: initializing group as100
\\配置好group后会有配置指定的group初始化提示信息;
[RT2-bgp]peer 20.1.1.1 group as100
*0.18152394 RT2 RM/7/RTDBG:bgp: BGP_100_Connect connect timeout
\\连接超时提示
*0.18152394 RT2 RM/7/RTDBG:bgp: peer 20.1.1.1 (Internal AS 100) start connecting
\\重新向对端建立连接;
*0.18152410 RT2 RM/7/RTDBG:bgp: connection error: Error!
*0.18152410 RT2 RM/7/RTDBG:bgp: close socket of peer 20.1.1.1 (Internal AS 100
\\对端没有正确配置,连接错误;关闭20.1.1.1的socket;
*0.18176425 RT2 RM/7/RTDBG:bgp: accepting connection from 20.1.1.1+1029 (local 20.1.1.2+179)
\\接收对端的连接
*0.18176425 RT2 RM/7/RTDBG:bgp: closing peer 20.1.1.1 (Internal AS 100), state is 3 (Active)
*0.18176425 RT2 RM/7/RTDBG:bgp send: sending 39 bytes to 20.1.1.1 (Internal AS 100)
*0.18176425 RT2 RM/7/RTDBG:bgp send: sending 19 bytes to 20.1.1.1 (Internal AS 100)
\\向对端发送给出byte数的报文
*0.18176425 RT2 RM/7/RTDBG:bgp: peer 20.1.1.1 (Internal AS 100) receiver changed to bgp_recv_open
*0.18176456 RT2 RM/7/RTDBG:bgp: recv open from peer 20.1.1.1 (Internal AS 100)
\\从对端接收open报文
*0.18176472 RT2 RM/7/RTDBG:bgp: setting flash/new policy routines for BGP group as100
\\路由策略设定
*0.18176503 RT2 RM/7/RTDBG:bgp: setting reinit routine for BGP_100
\\重新初始化路由
*0.18176519 RT2 RM/7/RTDBG:bgp: peer 20.1.1.1 (Internal AS 100) receiver changed to bgp_recv_v4_update
*0.18176550 RT2 RM/7/RTDBG:bgp: rt policy init, first group peer update group as100 peer 20.1.1.1 (Internal AS 100)
\\如果配置了路由策略,进行策略初始化
*0.18176566 RT2 RM/7/RTDBG:bgp: rt policy init, peer 20.1.1.1 (Internal AS 100)0 routes ready 0 deferred
\\路由策略初始化过程中对匹配路由数和延迟处理路由数的显示
*0.18176597 RT2 RM/7/RTDBG:bgp send: sending 19 bytes to 20.1.1.1 (Internal AS 100)
*0.18176628 RT2 RM/7/RTDBG:bgp: receiving updates from peer 20.1.1.1 (Internal AS 100)
\\从对等体20.1.1.1接收更新报文
*0.18176644 RT2 RM/7/RTDBG:bgp: done with peer 20.1.1.1 (Internal AS 100) received 19 octets 0 updates 0 routes
\\从对等体接收的updates数目和路由数目;
*0.18236519 RT2 RM/7/RTDBG:bgp: peer 20.1.1.1 (Internal AS 100) last checked 60 last recv'd 60 last sent 60 last keepalive 60
*0.18236519 RT2 RM/7/RTDBG:bgp send: sending 19 bytes to 20.1.1.1 (Internal AS 100)
*0.18236691 RT2 RM/7/RTDBG:bgp: receiving updates from peer 20.1.1.1 (Internal AS 100)
*0.18236691 RT2 RM/7/RTDBG:bgp: done with peer 20.1.1.1 (Internal AS 100) received 19 octets 0 updates 0 routes
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作