AR系列路由器debugging bgp keepalive命令
BGP组网示意图
【命令】
debugging bgp keepalive
【视图】
用户视图
【参数】
无
【描述】
debugging bgp keepalive命令用来打开所有BGP相关的keepalive报文。
<RT1>display debugging
BGP keepalive debugging is on
表1-1 keepalive报文格式说明
字段
含义
*0.16116475 RT2 RM/7/RTDBG:BGP SEND 20.1.1.2+1092 -> 20.1.1.1+179
*0.16116506 RT2 RM/7/RTDBG:BGP SEND message type 4 (KeepAlive) length 19
keepalive报文,其中
发送端ip地址:20.1.1.2;tcp端口号:1029
接收端ip地址:20.1.1.1;tcp端口号:179
报文操作类型:发送,SEND
发送的消息类型:类型 4;即KEEPALIVE;
报文长度:19;
*0.16414522 RT2 RM/7/RTDBG:BGP RECV 20.1.1.1+179 -> 20.1.1.2+1092
*0.16414553 RT2 RM/7/RTDBG:BGP RECV message type 4 (KeepAlive) length 19
keepalive报文,其中
发送端ip地址:20.1.1.1;tcp端口号:179
接收端ip地址:20.1.1.2;tcp端口号:1092
报文操作类型:发送,RECV
发送的消息类型:类型 4;即KEEPALIVE;
报文长度:19;
【举例】
例1:在RT2和RT3上建立BGP和邻居关系过程中显示所有keepalive报文(包括发送和接收)的调试信息
*0.16414459 RT2 RM/7/RTDBG:BGP SEND 20.1.1.2+1093 -> 20.1.1.1+179
*0.16414475 RT2 RM/7/RTDBG:BGP SEND message type 4 (KeepAlive) length 19
\\打印显示发送出去的KEEPALIVE报文
*0.16414506 RT2 RM/7/RTDBG:bgp read: 20.1.1.1 (Internal AS 100): 0 bytes buffered
*0.16414522 RT2 RM/7/RTDBG:BGP RECV 20.1.1.1+179 -> 20.1.1.2+1093
*0.16414553 RT2 RM/7/RTDBG:BGP RECV message type 4 (KeepAlive) length 19
\\打印显示出接收到的KEEPALIVE报文
debugging bgp keepalive receive
【命令】
debugging bgp keepalive receive
【视图】
用户视图
【参数】
无
【描述】
debugging bgp keepalive receive命令用来打开所有接收到的与BGP相关的keepalive报文的调试信息。
<RT1>display debugging
BGP recv keepalive debugging is on
【举例】
例1:在RT2和RT3上建立BGP和邻居关系过程中,显示所有接收到的keepalive报文的调试信息
*0.16414522 RT2 RM/7/RTDBG:BGP RECV 20.1.1.1+179 -> 20.1.1.2+1093
*0.16414553 RT2 RM/7/RTDBG:BGP RECV message type 4 (KeepAlive) length 19
\\只打印显示接收到的KEEPALIVE报文
具体报文内容不再重复解释。
debugging bgp keepalive receive verbose
【命令】
debugging bgp keepalive receive verbose
【视图】
用户视图
【参数】
无
【描述】
debugging bgp keepalive receive verbose命令用来打开接收到keepalive报文的详细调试信息。
<RT1>display debugging
BGP verbose recv keepalive debugging is on
目前debugging bgp keepalive receive verbose命令的实现和debugging bgp keepalive recieve没有差别,请参考debugging bgp keepalive receive命令。
【举例】
略
debugging bgp keepalive send
【命令】
debugging bgp keepalive send
【视图】
用户视图
【参数】
无
【描述】
debugging bgp keepalive send命令用来打开所有发送的与BGP相关的keepalive报文的调试信息。
<RT1>display debugging
BGP send keepalive debugging is on
【举例】
例1:在RT2和RT3上建立BGP和邻居关系过程中显示所有发送keepalive报文的调试信息
*0.16414459 RT2 RM/7/RTDBG:BGP SEND 20.1.1.2+1093 -> 20.1.1.1+179
*0.16414475 RT2 RM/7/RTDBG:BGP SEND message type 4 (KeepAlive) length 19
\\只打印显示发送出去的KEEPALIVE报文
具体报文内容不再重复解释。
2. debugging bgp keepalive send verbose
【命令】
debugging bgp keepalive send verbose
【视图】
用户视图
【参数】
无
【描述】
debugging bgp keepalive send verbose命令用来打开发送的keepalive报文的详细调试信息。
<RT1>display debugging
BGP verbose send keepalive debugging is on
目前,debugging bgp keepalive send verbose命令的实现和debugging bgp keepalive send没有差别,请参考debugging bgp keepalive send命令。
【举例】
略
debugging bgp keepalive verbose
【命令】
debugging bgp keepalive verbose
【视图】
用户视图
【参数】
无
【描述】
debugging bgp keepalive verbose命令用来打开全部keepalive报文的详细调试信息(包括接收发送)。
<RT1>display debugging
BGP verbose keepalive debugging is on
目前,debugging bgp keepalive verbose命令的实现和debugging bgp keepalive没有差别,请参考debugging bgp keepalive命令。
【举例】
略
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作