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 ,如需转载请自行联系原作者
相关文章
|
网络架构
OpenWRT使用wifidog实现强制认证的WIFI热点
首先安装wifidog到OpenWRT的路由器:   opkg update   opkg install wifidog    wifidog依赖下面这些模块: iptables-mod-extra iptables-mod-ipopt kmod-ipt-nat iptables-...
3383 0
|
存储 弹性计算 人工智能
弹性计算第九代企业级ECS实例新品发布
阿里云第九代企业级实例基于全新CIPU 2.0架构,搭载最新英特尔和AMD处理器,大幅提升性能、安全性和稳定性。G9i实例采用英特尔新一代处理器,内存带宽和L3缓存显著提升,标配AMX加速器;G9A实例则搭载AMD先进处理器,提供更高的性价比和端到端加密能力。九代产品在算力、IO能力和安全性上全面升级,尤其适用于搜推、大数据处理等场景,助力客户实现更高业务价值。
|
8月前
|
运维 监控 数据可视化
运维那些事儿(6):做好监控细节,让运维工作事半功倍
监控是运维的“眼睛”和“预警器”,绝非可有可无的附加项。本文直击三大易被忽视的关键细节:告警阈值需按场景“量身定制”,监控指标贵在精准而非堆砌,告警信息务必具体明确。辅以闭环管理、可视化分析与业务优先监控等实用技巧,助运维人员少踩坑、少熬夜,真正提升效率。(239字)
|
Linux 网络安全 iOS开发
Metasploit Framework 6.4.98 (macOS, Linux, Windows) - 开源渗透测试框架
Metasploit Framework 6.4.98 (macOS, Linux, Windows) - 开源渗透测试框架
441 1
Metasploit Framework 6.4.98 (macOS, Linux, Windows) - 开源渗透测试框架
|
12月前
|
弹性计算 运维 安全
2025年选购指南:阿里云轻量应用服务器与云服务器ECS深度对比
阿里云轻量应用服务器与ECS区别解析:轻量适合个人开发者搭建博客、测试环境,配置简单、成本低,68元/年起;ECS适用于企业级高负载场景,如大数据、游戏等,功能全面但门槛较高。根据使用需求选择更优。
907 6
|
10月前
|
数据采集 自然语言处理 数据可视化
微调完怎么判断好不好?大模型效果评估入门指南(附代码)
本文详解大模型微调后如何科学评估效果,涵盖文本分类、生成与语言建模三类任务的核心指标(如F1、BLEU、ROUGE、PPL),结合Python代码实操演示,并强调需结合业务场景、微调前后对比及稳定性验证,避免“指标虚高”。附实用工具推荐,助力新手高效完成评估闭环。
微调完怎么判断好不好?大模型效果评估入门指南(附代码)
|
10月前
|
人工智能 JSON Cloud Native
破解 AI Agent 搭建师职业焦虑:从调参到工程化的能力跃迁
随着大模型原生推理能力提升与低代码平台普及,AI Agent搭建师正面临“上下夹击”:上层被模型自动规划替代,下层被可视化编排覆盖。破局关键在于转向“确定性工程”——聚焦业务SOP工程化、全流程自动化评估、鲁棒性架构设计,成长为懂业务的AI架构师或精工程的AI系统工程师。(239字)
570 4
|
9月前
|
数据可视化 Linux 网络安全
linux服务器的文件/文件夹的可视化管理方法
linux服务器有可能是你本地内网的服务器,也有可能是云端的服务器,因此,linux的网络你有可能直接能连接,也有可能无法直接连接,比如在云端内网的服务器,就不可能每一台都直接开放ssh端口。那么,不管是能不能直接开放端口的linux服务器,它里面的文件/文件夹用什么可视化工具来管理呢? 面对网络不可知的情况,可以使用yunedit-ssh来管理linux的文件/文件夹,因为yunedit-ssh有ssh隧道功能,即使linux服务器在云端的内网,也可以使用yunedit-ssh的ssh隧道功能,先将内网服务器的22端口,映射到本地,然后再连接本地端口即可连接上内网的服务器。
|
10月前
|
存储 运维 数据可视化
2026年数据系统建设方案:聚焦低成本、高适配的分析路径
2026年,中小企业迈向数据驱动的关键在于轻量化、场景化与生态协同。本文以瓴羊Dataphin为核心,提出“治理先行、分析跟进、运营闭环”三步策略,结合Quick Audience、QuickBI等工具,构建低成本、易维护的数据治理体系,助力企业实现数字化转型。
|
弹性计算
租用阿里云服务器一天多少钱?来看看吧,连夜整理价格优惠
阿里云服务器按天计费约0.1元起。通过年付特价活动,如轻量应用服务器38元/年,折合约0.1元/天,性价比高;若按量付费,2核4G实例日均约9.3元,适合短期使用。
755 7