扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
有一些Show和Debug命令是监测和诊断EIGRP协议的配置时常用的,熟悉这些俞令,将有利于对EIGRP进行配置和排障。本节对这些命令进行演示和讲解。
1.实验目的
通过本实验,读者可以掌握以下技能
查看EIGRP的流量信息;
查看EIGRP拓扑信息,
监测EIGRP相关信息。
2.设备需求及拓扑结构
本实验是在实验1配置成功的基础上进行的,设备和拓扑结构与实验1完全相同。为了阅读上的方便,现将拓扑结构图复制到这里,见图6-2。
3.实验配置及监测结果
本实验主要演示show ip eigrp topoTogy、show ip eigrp traffic、debug ip eigrp和debug eigrp packet等命令的用法和输出结果。
监测清单6-2记录了实验的全过程,随后有对相应内容的讲解。
监测清单6-2 使用EIGRP常用的监测和诊断命令
R1#
R1#sh ip eigrp ?
interfaces IP-EIGRP mterfaces
neighbors IP-BIGRP neighbors
topology IP-EIGRP Topology Table
traffic IP-EIGRP Traffic Statistics
R1#sh ip eigrp topology
IP-EIGRP Topology Table for AS(100)/ID(10.1.1.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status
P 10..1.1.O/24, 1 successors, FD is 128256
via Connected, Loopback0
P 201.1.12.0/30, 1 successors, FD is 1792000
via Coimected, Serial0
P 201,1.13.0/30, 1 successors.FD is 1792000
via Connected, Serial 1
P 200.1.1.0/24, 2 successors, 3FT>is 1817600
via 201,1.13,2 (181760028160), Serial1
via 201.1.12.2 (1817600/281101, Serial0
R1#sh ip eigrp traffic
IP-EIGRP Traffic Statistics for process 100
Hellos sent/received:2469/2341
Updates :seBt/received:8/8
Queries seBt/received: 0/0
Replies seat/received: 0/0
Acks sent/received: 4/4
Input queue high water mark 2, 0 drops
SIA-Queries sent/received: 0/0
SIA-Replies sent/received: 0/0
R1#conft
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#logg console
R1(config)#^Z
01:44:12: %SYS-5-CONFIG_1: Configured from console by console
R1#debug ip eigrp
IP-EIGRP Route Events debugging is on
R1#
R1#conft
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int si
R1(config-if)#shut
R1(config-if)#^Z
R1#
01:47:45:IP-EIGRP: 201.1.13.0/30 -do advertise out Serial0
01:47:45: IP"EIGRP: Int 201,1,13.0/30 metric 4294967295-04294967295
01:47:45: IP-EIGRP: Processiag incoming REPLY packet
01:47:45: IP-EIGRP: Int 201.1,13.0/30 M 2329600-1280000 1049600 SM 1817600 - 1280000537600
01:47:45: IP-EIGRP: 201.1.13.0/30 routing table not updated
01:47:45: IP-EIGRP: Int 201.1.13.0/30 metric 2329600- 1280000 1049600
R1#
01:47:47: %LINK-5-CHANGED: Interface Seriall, changed state to administratively down
R1#
R1#imdebug all
All possible debugging has been turned off
R1#debug eigrp packet
EIGRP Packets debugging is on
(UPSTATE, REQUEST, QUBRY, REPLY, HELLO, IPXSAP, PROBE, ACK, STUB, SIAQUERY,SIAREPLY)
R1#
01:48:17: EIGRP: Sending HELLO onLoopback0
01:48:17: AS 100, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQun/rely 0/0
01:48:17: EIGRP: Received HELLO on LoopbackO nbr 10.1.1.1
01:48:17: AS 100, Flags 0x0, Seq O/OidbQ 0/0
01:48:17: EIGRP: Packet from ourselves ignored
R1#
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者