• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 新华三人才研学中心
  • 关于我们

05-三层技术-IP业务命令参考

06-邻接表命令

本章节下载 06-邻接表命令  (103.97 KB)

docurl=/cn/Service/Document_Software/Document_Center/Routers/Catalog/CR/CR19000/Command/Command_Manual/H3C_CR19000_CR-R1218-5W100/05/201909/1226049_30005_0.htm

06-邻接表命令


1 邻接表

1.1  IPv4邻接表配置命令

1.1.1  display adjacent-table

display adjacent-table命令用来显示IPv4邻接表项的信息。

【命令】

display adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | chassis chassis-number slot slot-number [ cpu cpu-number ] } [ count | verbose ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

all:显示所有的IPv4邻接表项的信息。

physical-interface interface-type interface-number:显示指定物理接口上的IPv4邻接表项的信息。

routing-interface interface-type interface-number:显示指定路由接口上的IPv4邻接表项的信息。

chassis chassis-number slot slot-number:显示指定成员设备上指定单板的IPv4邻接表项的信息。chassis-number表示设备在集群中的成员编号,slot-number表示单板所在的槽位号。如果未指定本参数,则显示所有单板上的IPv4邻接表项的信息。

cpu cpu-numbercpu-number表示CPU的编号。只有指定的slot支持多CPU时,才能配置该参数。

count:显示IPv4邻接表项的数目。

verbose:显示IPv4邻接表项的详细信息。

【举例】

# 显示所有IPv4邻接表项的详细信息。

<Sysname> display adjacent-table all verbose

 IP address                     : 0.0.0.0

 Routing interface             : Tunnel10

 Physical interface            : Tunnel10

 Logical interface             : N/A

 Service type                   : Tunnel

 Action type                    : Forwarding

 Link media type                : P2P

 Slot                             : 0

 VPN index                       : 0

 Virtual circuit information : N/A

 Link head information(IP)    : ff030021

 Link head information(MPLS) : ff030281

# 显示指定slot的IPv4邻接表项的信息。

<Sysname> display adjacent-table slot 1

IP address       Routing interface     Physical interface    Type

0.0.0.0          Tunnel10                Tunnel                  PPP

# 显示指定slot的IPv4邻接表项的数目。

<Sysname> display adjacent-table slot 1 count

 Total entries on slot 1: 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:表示点对多点链路

Cpu

CPU编号

VPN index

VPN索引

Virtual circuit information

虚链路信息,如DLCI等(如果没有此信息,则显示为N/A)

Link head information(IP)

IPv4协议对应的链路层头信息

Link head information(MPLS)

MPLS协议对应的链路层头信息

 

1.2  IPv6邻接表配置命令

1.2.1  display ipv6 adjacent-table

display ipv6 adjacent-table命令用来显示IPv6邻接表项的信息。

【命令】

display ipv6 adjacent-table { all | physical-interface interface-type interface-number | routing-interface interface-type interface-number | chassis chassis-number slot slot-number [ cpu cpu-number ] } [ count | verbose ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

all:显示所有的IPv6邻接表项的信息。

physical-interface interface-type interface-number:显示指定物理接口上的IPv6邻接表项的信息。

routing-interface interface-type interface-number:显示指定路由接口上的IPv6邻接表项的信息。

chassis chassis-number slot slot-number:显示指定成员设备上指定单板的IPv6邻接表项的信息。chassis-number表示设备在集群中的成员编号,slot-number表示单板所在的槽位号。如果未指定本参数,则显示所有单板上的IPv6邻接表项的信息。

cpu cpu-numbercpu-number表示CPU的编号。只有指定的slot支持多CPU时,才能配置该参数。

count:显示IPv6邻接表项的数目。

verbose:显示IPv6邻接表项的详细信息。

【举例】

# 显示所有IPv6邻接表项的详细信息。

<Sysname> display ipv6 adjacent-table all verbose

 IPv6 address                    : N/A

 Routing interface              : Tunnel10

 Physical interface             : Tunnel10

 Logical interface              : N/A

 Service type                    : Tunnel

 Action type                     : Forwarding

 Link media type                : P2P

 Slot                             : 0

 VPN index                       : 0

 Virtual circuit information : N/A

 Link head information(IPv6) : ff030057

 Link head information(MPLS) :ff030057

# 显示指定slot的IPv6邻接表项的信息。

<Sysname> display ipv6 adjacent-table slot 1

IPv6 address          Routing interface     Physical interface    Type

N/A                     Tunnel10               Tunnel10                PPP

# 显示指定slot的IPv6邻接表项的数目。

<Sysname> display ipv6 adjacent-table slot 1 count

 Total entries on slot 1: 1

表1-2 display ipv6 adjacent-table命令显示信息描述表

字段

描述

IPv6 address

报文转发下一跳的IPv6地址(对于P2P链路,不需要下一跳IPv6地址信息,本字段的值填为0::0,显示为N/A;对于NBMA链路,取值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:表示点对多点链路

VPN index

VPN索引

Virtual circuit information

虚链路信息,如DLCI等(如果没有此信息,则显示为N/A)

Link head information(IPv6)

IPv6协议对应的链路层头信息

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们