ISIS几个命令的区别

简介:
 PS:我在学习ISIS的时候有几条命令让我十分困惑,通过下面的解释就很清楚了,希望对初学ISIS的朋友有帮助:
show isis topology
Displays a list of all connected routers in all areas.
Syntax: show isis topology
Description:  Displays list of all connected Level-2 (inter-area) routers in all areas.
Factory Default:  None.
Command Mode:  Executive and privileged.
Example:  The following is sample output of the show isis topology command:
router# show isis topology

IS-IS paths to level-2 routers

System Id       Metric  Next-Hop        Interface SNPA

0102.5400.5001 10 0102.5400.5001 PO0/0/0

0102.5400.5003 20 0102.5400.5001 PO0/0/0

0102.5400.5004 --
The following table describes the fields in the display:
Table 3-11. Fields Displayed by show isis topology 
Field
Description
System ID
The system identifier of the neighboring system.
Metric
A relative cost for sending information over this interface.
Next-Hop
The system identifier of the next hop from the neighboring system.
Interface
The interface over which the adjacency was established.
SNPA
The neighbor's MAC address on a broadcast network.
 
 
show isis database
Displays information the IS-IS routing database.
Syntax: show isis database [detail] [l1 | level-1 | l2 | level-2] [LSPID | hostname hostname.nn-nn]
detail
Display detailed routing information.
l1 or level-1
Display routing information for Level-1 LSPs only.
l2 or level-2
Display routing information for Level-2 LSPs only.
LSPID
Display routing information for the specified LSP. Enter LSPID in dotted decimal format: nnnn.nnnn.nnnn.nn-nn
hostname
Displays routing information for all LSPs.
hostname.nn-nn
When hostname dynamic is enabled, display routing information for the specified LSP. Enter the LSP ID as <hostname>.nn-nn
Description:  Use the show isis database command with no arguments to display summarized information about both Level-1 and Level-2 LSPs.
Use the show isis database l1 or show isis database level-1 command to display summarized information about Level-1 LSPs.
Use the show isis database l2 or show isis database level-2 command to display summarized information about Level-2 LSPs.
Use the show isis database nnnn.nnnn.nnnn.nn-nn command to display detailed information about the specified LSP.
Use the show isis database hostname.nn-nn command to display detailed information about the specified LSP when hostname dynamic is enabled.
Use the detail keyword to display the detailed information about the specified LSP(s).
Factory Default:  None.
Command Mode:  Executive and privileged.
Example 1:  The following example shows output of the show isis database level-1 command; first with hostname dynamic disabled, second with it enabled:
router# show isis database level-1



ISIS Level-1 Link State Database

LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL

1000.5000.0001.00-00 0x0000000e 0xb8be 1200 0/0/0

1000.5000.0002.00-00 0x0000052f 0xd8e7 1199 0/0/0

1000.5000.0003.00-00 0x0000001e 0x8c80 507 0/0/0

.

.

.
router# show isis database level-1



ISIS Level-1 Link State Database

LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL

NPIshelf1.00-00 0x0000000d 0xbabd 570 0/0/0

NPIshelf2.00-00 0x00000524 0x1491 1199 0/0/0

NPIshelf3.00-00 0x0000001e 0x8c80 567 0/0/0

.

.

.
The following table describes the fields in the display:
Table 3-2. Fields Displayed by show isis database  
Field
Description
(Password)
The password or authentication digest, if any exists.
LSPID
The identifier for the link-state packet (LSP).
LSP Seq Num
The sequence number for the LSP. Every time a LSP is updated, the sequence number is incremented so that a router can determine if the LSP it has just received is indeed newer than one it already has in its database.
LSP Checksum
The checksum of the LSP. If the ignore-lsp-error command has been entered, LSPs with incorrect checksums are discarded.
LSP Holdtime
The remaining time, in seconds, that this LSP is valid.
ATT/P/OL
ATT  - A 1 indicates the router that originated this LSP is attached through a Level 2 router to at least one other area.
P - A 1 indicates the router that originated this LSP has partition repair capability.
OL - A 1 indicates the router that originated this LSP is overloaded. This LSP should not be used.
Example 2:  The following is sample output of the show isis database detail command:
router# show isis database detail



ISIS Level-1 Link State Database

LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL

NPIshelf1.00-00 0x0000000e 0xb8be 940 0/0/0

Area Address: 47

NLPID: 0xCC

Router ID: 10.50.0.1

Hostname: NPIshelf1

Metric: 10 IS 1000.5000.0002.00, Extended

Administrative color: 0x00000000

IPV4 interface address: 10.50.1.1

IPV4 neighbor address: 10.50.1.2

Max link bandwidth: 225375008.000 Bytes/sec.

Max reservable bandwidth: 225375008.000 Bytes/sec.

Priority 0 Available reservation: 225375008.000 Bytes/sec.

.

.

.

    Priority 7 Available reservation: 225375008.000 Bytes/sec.

TE default metric: 1

Metric: 10 IS 1000.5000.0003.00, Extended

Administrative color: 0x00000000

IPV4 interface address: 10.50.4.1

IPV4 neighbor address: 10.50.4.2

Max link bandwidth: 300624992.000 Bytes/sec.

Max reservable bandwidth: 300624992.000 Bytes/sec.

Priority 0 Available reservation: 300624992.000 Bytes/sec.

.

.

.

    Priority 7 Available reservation: 300624992.000 Bytes/sec.

TE default metric: 1

IP Address: 10.50.0.1

IP Address: 10.50.1.1

IP Address: 10.50.4.1

Metric: 10 IP 10.50.0.1/32, Extended, Up/Down bit: 0,

Metric: 10 IP 10.50.1/24, Extended, Up/Down bit: 0,

Metric: 10 IP 10.50.4/24, Extended, Up/Down bit: 0, 

  Metric: 10 IP 191.191.191.191/32, Extended, Up/Down bit: 0

Metric: 10 IP 191.194.1/24, Extended, Up/Down bit: 0

Metric: 10 IP 55.55.55/24, Extended, Up/Down bit: 0

Metric: 10 IP 194.10.1/24, Extended, Up/Down bit: 0
ha193.00-00 0x00000096 0xa9b4 1070 0/0/0

Area Address: 25.0001

NLPID: 0xCC

Hostname: ha193

ha193.00-01 0x00000096 0x30dd 1070 0/0/0


Metric: 10 IS 0001.0001.0193.01, Extended

ha193.00-02 0x00000096 0xdc9c 1070 0/0/0

IP Address: 55.55.55.3

IP Address: 194.10.2.2

Metric: 10 IP 55.55.55/24, Extended, Up/Down bit: 0

Metric: 10 IP 194.10.2/24, Extended, Up/Down bit: 0

ha193.01-00 0x00000079 0x1819 1070 0/0/0


NLPID: 0xCC

Metric: 0 IS 0001.0001.0193.00, Extended

Metric: 0 IS 0001.0001.0191.00, Extended


Example 3:  The following is sample output of the show isis database detail command when L2 into L1 leaked routes are present:
router# show isis database detail



ISIS Level-1 Link State Database

LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL

ha191.00-00 0x00000092 0xa1c2 1149 0/0/0

Area Address: 25.0001

NLPID: 0xCC

Hostname: ha191

ha191.00-01 0x00000092 0x4ac7 1149 0/0/0


Metric: 10 IS 0001.0001.0193.01, Extended

ha191.00-02 0x00000092 0xe3a9 1149 0/0/0

IP Address: 191.191.191.191

IP Address: 191.194.1.2

IP Address: 55.55.55.1

IP Address: 194.10.1.2

Metric: 10 IP 12.2.41.19/32, Extended, Up/Down bit: 1

Metric: 10 IP 12.2.41.20/32, Extended, Up/Down bit: 1

Metric: 10 IP 12.2.41.21/32, Extended, Up/Down bit: 1

Metric: 10 IP 12.2.41.22/32, Extended, Up/Down bit: 1

Metric: 10 IP 12.2.41.23/32, Extended, Up/Down bit: 1

Metric: 10 IP 12.2.41.24/32, Extended, Up/Down bit: 1

.

.

.


The following table describes the fields in the display:
Table 3-3. Fields Displayed by show isis database  detailed  
Field
Description
Area Address
Reachable area addresses from the router. For L1 LSPs, these are the area addresses configured manually on the originating router. For L2 LSPs, these are all the area addresses for the area this route belongs to.
NLPID
network layer protocol identifier. 0xcc = IP
Router ID
 
Hostname
Specifies the configured hostname for this router.
Metric:
IS-IS metric for the cost of the adjacency between the originating router and the advertised neighbor, or the metric of the cost to get from the advertising router to the advertised destination.
Metric ES
End system neighbors Metric
Administrative color
Specifies administrative colors assigned to this link.
Max link bandwidth
Specifies the maximum usable bandwidth for the link.
Max reservable bandwidth
Specifies the maximum reserved usable bandwidth for the link
TE default metric
Traffic Engineering metric that determines the relative preference for an interface during tunnel creation.
Prefix Neighbor
Reachable Address Prefix Neighbors.
IP Address
IP interface Address. The IP address of one or more interfaces on this router.
 
 
 
show isis neighbor
Displays information about IS-IS neighbors.
Syntax: show isis neighbor
Description:  Displays the information about IS-IS neighbors.
Factory Default:  None.
Command Mode:  Executive and privileged.
Example 1:  The following is sample output from the show isis neighbor command:
router# show isis neighbor 

System ID SNPA Interface State HoldTime Type Pri

1000.5000.0002 CL 12 Up 101 L1 

.

.

.
Example 2:  The following is sample output of the show isis neighbor when hostname dynamic is enabled:
router# show isis neighbor

System ID SNPA Interface State HoldTime Type Pri

NPIshelf2 CL 12 Up 101 L1
NPIshelf3 POS 1/6/1 Up 97 L1
Table 3-7. Fields Displayed by show isis neighbor 
Field
Description
System ID
The system identifier of the neighboring system, in either xxxx.xxxx.xxxx or hostname format.
SNPA
The neighbor's MAC address on a broadcast network.
Interface
The interface over which the adjacency was established.
State
The state of the neighboring router.
HoldTime
How many seconds until the adjacency is deleted (unless it is reset).
Type
The type of adjacency. Types can be either L1 for Level 1 or L2 for Level 2.
Priority
The priority assigned to each router.
 
 

show clns neighbors

Description:  
Displays both ES and IS neighbors.
Syntax:  
show clns neighbors [ interfaceType interfaceSpecifier ] [ detail ] [ filter ]


















本文转自loveme2351CTO博客,原文链接:http://blog.51cto.com/loveme23/47990 ,如需转载请自行联系原作者
相关文章
|
6月前
|
运维 监控 数据可视化
运维那些事儿(6):做好监控细节,让运维工作事半功倍
监控是运维的“眼睛”和“预警器”,绝非可有可无的附加项。本文直击三大易被忽视的关键细节:告警阈值需按场景“量身定制”,监控指标贵在精准而非堆砌,告警信息务必具体明确。辅以闭环管理、可视化分析与业务优先监控等实用技巧,助运维人员少踩坑、少熬夜,真正提升效率。(239字)
|
存储 弹性计算 人工智能
弹性计算第九代企业级ECS实例新品发布
阿里云第九代企业级实例基于全新CIPU 2.0架构,搭载最新英特尔和AMD处理器,大幅提升性能、安全性和稳定性。G9i实例采用英特尔新一代处理器,内存带宽和L3缓存显著提升,标配AMX加速器;G9A实例则搭载AMD先进处理器,提供更高的性价比和端到端加密能力。九代产品在算力、IO能力和安全性上全面升级,尤其适用于搜推、大数据处理等场景,助力客户实现更高业务价值。
|
8月前
|
数据采集 自然语言处理 数据可视化
微调完怎么判断好不好?大模型效果评估入门指南(附代码)
本文详解大模型微调后如何科学评估效果,涵盖文本分类、生成与语言建模三类任务的核心指标(如F1、BLEU、ROUGE、PPL),结合Python代码实操演示,并强调需结合业务场景、微调前后对比及稳定性验证,避免“指标虚高”。附实用工具推荐,助力新手高效完成评估闭环。
微调完怎么判断好不好?大模型效果评估入门指南(附代码)
|
7月前
|
数据可视化 Linux 网络安全
linux服务器的文件/文件夹的可视化管理方法
linux服务器有可能是你本地内网的服务器,也有可能是云端的服务器,因此,linux的网络你有可能直接能连接,也有可能无法直接连接,比如在云端内网的服务器,就不可能每一台都直接开放ssh端口。那么,不管是能不能直接开放端口的linux服务器,它里面的文件/文件夹用什么可视化工具来管理呢? 面对网络不可知的情况,可以使用yunedit-ssh来管理linux的文件/文件夹,因为yunedit-ssh有ssh隧道功能,即使linux服务器在云端的内网,也可以使用yunedit-ssh的ssh隧道功能,先将内网服务器的22端口,映射到本地,然后再连接本地端口即可连接上内网的服务器。
|
8月前
|
存储 运维 数据可视化
2026年数据系统建设方案:聚焦低成本、高适配的分析路径
2026年,中小企业迈向数据驱动的关键在于轻量化、场景化与生态协同。本文以瓴羊Dataphin为核心,提出“治理先行、分析跟进、运营闭环”三步策略,结合Quick Audience、QuickBI等工具,构建低成本、易维护的数据治理体系,助力企业实现数字化转型。
|
SQL 存储 数据挖掘
快速入门:利用AnalyticDB构建实时数据分析平台
【10月更文挑战第22天】在大数据时代,实时数据分析成为了企业和开发者们关注的焦点。传统的数据仓库和分析工具往往无法满足实时性要求,而AnalyticDB(ADB)作为阿里巴巴推出的一款实时数据仓库服务,凭借其强大的实时处理能力和易用性,成为了众多企业的首选。作为一名数据分析师,我将在本文中分享如何快速入门AnalyticDB,帮助初学者在短时间内掌握使用AnalyticDB进行简单数据分析的能力。
1060 2
|
机器学习/深度学习 算法 数据挖掘
R语言在金融分析中的应用
【4月更文挑战第25天】R语言在金融分析中扮演关键角色,尤其在风险管理、资产定价、量化交易、市场预测和投资组合优化方面。作为开源的统计计算和图形平台,R语言拥有强大的统计功能、丰富的包支持和交互式环境。在风险管理中,R用于评估和管理风险,如VaR和ES;在资产定价上,它支持经典模型和衍生品定价;在量化交易领域,R提供策略开发和回测工具;市场预测利用R的统计和机器学习功能;而在投资组合优化上,R帮助确定最佳资产配置。随着金融技术发展,R语言的应用将持续增长。
758 2
|
安全 网络安全 数据安全/隐私保护
|
Java 数据库连接 数据库
Windows7 64位 连接Access数据库“未发现数据源名称并且未指定默认驱动程序“的解决办法
Windows7 64位 连接Access数据库“未发现数据源名称并且未指定默认驱动程序“的解决办法
2627 0
|
SQL 存储 Ubuntu
SQL Server On Linux 安装详解
SQL Server On Linux 安装详解

热门文章

最新文章