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-...
3092 0
|
4月前
|
机器学习/深度学习 人工智能 移动开发
ai搜索工具正在重构搜索流量入口
通义千问AI搜索通过算法优化、多模态理解与动态分发,重构流量入口。融合结构化数据、场景化设计与推荐联动,实现跨端协同与实时热点响应,提升搜索转化与用户体验。(238字)
232 0
|
机器学习/深度学习 传感器 人工智能
《C++与人工智能在工业自动化故障诊断中的“智慧融合”大揭秘》
在工业自动化中,C++与人工智能的结合实现了智能故障诊断。C++高效处理传感器数据,构建并优化AI模型,实时监控设备状态,精准识别故障,保障生产稳定。未来,这一技术组合将在边缘计算和5G等新技术推动下,开启工业自动化的新篇章。
313 11
|
程序员
mac版QQ聊天信息备份与导出方法
前言 最近,我司终于更换新电脑的计划落实啦!!! Mac mini 3.0GHz 双核 Intel Core i7 处理器 (Turbo Boost 高达 3.5GHz) 16GB 1600MHz LPDDR3 SDRAM 1TB 融合硬盘 Intel Iris Graphics 图形处理器 非常值的可贺!然而,就是新电脑,一切都是新!一切都是白!!非常多工具的数据需要迁移,开发环境需要配置,最近也打算总结一下新电脑配置方面的文章,作为自己备份,或者给新手参考,相信有很大帮助。
4608 0
uniapp禁止页面滚动
uniapp禁止页面滚动
1017 0
|
消息中间件 数据处理
数据一致性检测的应用场景与最佳实践
随着业务规模的扩张,企业系统变得越来越复杂,在这种复杂的分布式系统架构下,难免会出现远程调用失败,消息发送失败,并发 bug 等等问题,这些问题最终会导致系统间的数据不一致,导致用户体验受损,用户利益受损,对平台来说就是产生资损。
5806 112
|
XML 安全 Java
Java定时任务调度原理解析
随着互联网应用的快速普及,开发者们往往会遇到业务逻辑复杂、时间驱动类型业务、数据处理、离线分析等场景,比如整点发送优惠券、按月批量统计报表等,为了减少对核心系统的影响,我们通常会采用定时任务框架来处理。定时任务顾名思义就是预先设定任务执行时间,到点后任务自动被调度执行,下面列出几种常见的定时任务框架并简单介绍其实现原理。
553 0
|
Java Linux
Linux CentOS 环境下安装JDK的三种方法
Linux CentOS 环境下安装JDK的三种方法
1915 1
Linux CentOS 环境下安装JDK的三种方法
|
弹性计算 监控 测试技术
Python 3.11性能提升实测
Python一直以其易用性风靡于开发者之间,然而其性能却时常为人所诟病。当前,Python 3.11发布在即,官方表示该版本带来了极大的性能提升。在这篇文章中,我们使用多种方法测试了不同Python版本的性能表现,从而为项目中Python版本的升级提供一些参考意见。

热门文章

最新文章