06-邻接表命令
本章节下载: 06-邻接表命令 (107.86 KB)
· 目前本特性仅用于查看Tunnel接口上邻接表项的信息。关于Tunnel接口的介绍请参见“三层技术-IP业务”中的“隧道”。
· 设备支持两种运行模式:独立运行模式和IRF模式,缺省情况下为独立运行模式。有关IRF模式的介绍,请参见“虚拟化技术配置指导”中的“IRF”。
display adjacent-table命令用来显示IPv4邻接表项的信息。
【命令】
独立运行模式:
display adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | slot slot-number } [ count | verbose ]
IRF模式:
display adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | chassis chassis-number slot slot-number } [ count | verbose ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
all:显示所有的IPv4邻接表项的信息。
physical-interface interface-type interface-number:显示指定物理接口上的IPv4邻接表项的信息。
routing-interface interface-type interface-number:显示指定路由接口上的IPv4邻接表项的信息。
slot slot-number:显示指定单板的IPv4邻接表项的信息。slot-number表示单板的槽位号。(独立运行模式)
chassis chassis-number slot slot-number:显示指定成员设备上指定单板的IPv4邻接表项的信息。chassis-number表示设备在IRF中的成员编号,slot-number表示单板的槽位号。(IRF模式)
count:显示IPv4邻接表项的数目。
verbose:显示IPv4邻接表项的详细信息。
【举例】
# 显示所有IPv4邻接表项的详细信息。
<Sysname> display adjacent-table all verbose
IP address : 0.0.0.0
Routing interface : Tunnel3
Physical interface : Tunnel3
Logical interface : N/A
Service type : Tunnel
Action type : Forwarding
Link media type : P2P
Slot : 1
Virtual circuit information : N/A
Link head information(IP) : ff030021
Link head information(MPLS) : ff030281
# 显示1号单板的IPv4邻接表项的信息。
<Sysname> display adjacent-table slot 1
IP address Routing interface Physical interface Type Slot
0.0.0.0 Tun3 Tun3 Tunnel 1
# 显示1号单板的IPv4邻接表项的数目。
<Sysname> display adjacent-table slot 1 count
Total entries on slot 1: 1
以上显示信息表示1号单板的IPv4邻接表项的数目为1。
表1-1 display adjacent-table命令显示信息描述表
字段 |
描述 |
IP address |
报文转发下一跳的IP地址(对于P2P链路,不需要下一跳IP地址信息,本字段的值填为0.0.0.0;对于NBMA链路,取值0.0.0.0表示缺省邻接表,从缺省虚链路转发) |
Routing interface |
路由出接口 |
Physical interface |
路由出接口对应的实际发送报文的物理接口 |
Logical interface |
发送报文的逻辑接口(如果没有此信息,则显示为N/A) |
Service type/Type |
链路层协议类型,如PPP、HDLC、Tunnel等 |
Action type |
报文处理类型: · Forwarding:表示转发 · Drop:表示丢弃 |
Link media type |
链路介质类型: · P2P:表示点到点链路 · NBMA:表示点对多点链路 |
Slot |
单板所在的槽位号 |
Virtual circuit information |
虚链路信息,如PVC、DLCI等(如果没有此信息,则显示为N/A) |
Link head information(IP) |
IPv4协议对应的链路层头信息 |
Link head information(MPLS) |
MPLS协议对应的链路层头信息 |
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!