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

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

目录

07-邻接表命令

本章节下载 07-邻接表命令  (104.31 KB)

docurl=/cn/Service/Document_Software/Document_Center/Switches/Catalog/S12500/S12500-S/Command/Command_Manual/H3C_S12500-S_CR-R7536P02-6W100/05/201704/985837_30005_0.htm

07-邻接表命令


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 | 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

mdc-admin

mdc-operator

【参数】

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

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

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

slot slot-number:显示指定单板的IPv4邻接表项的信息。slot-number表示单板所在的槽位号。如果未指定本参数,则显示所有单板上的IPv4邻接表项的信息。(独立运行模式)

chassis chassis-number slot slot-number:显示指定单板的IPv4邻接表项的信息。chassis-number表示设备在IRF中的成员编号或者PEX的虚拟框号,slot-number表示单板或PEX所在的槽位号。如果未指定本参数,则显示所有单板上的IPv4邻接表项的信息。(IRF模式)

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

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

【举例】

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

<Sysname> display adjacent-table all verbose

   IP address                     : 0.0.0.0

   Routing interface             : Tunnel1

   Physical interface            : Tunnel1

   Logical interface             : N/A

   Service type                   : Tunnel

   Action type                    : Forwarding

   Link media type               : P2P

   Slot                            : 0

   Cpu                             : 0

   VPN Index                       : 0

   Virtual circuit information   : N/A

   Link head information(IP)     : 4500000000000000ff2f000002020201020202020000

                                   0800

   Link head information(MPLS)   : 4500000000000000ff2f000002020201020202020000

                                   0800

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

<Sysname> display adjacent-table slot 1

IP address        Routing interface         Physical interface      Type

0.0.0.0           Tun1                         Tun1                       Tunnel

# 显示指定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

链路层协议类型,如Tunnel、MTunnel等

Action type

报文处理类型:

·     Forwarding:表示转发

·     Drop:表示丢弃

Link media type

链路介质类型

VPN index

VPN索引

Virtual circuit information

虚链路信息,如PVC、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 | slot slot-number } [ count | verbose ]

(IRF模式)

display ipv6 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

mdc-admin

mdc-operator

【参数】

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

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

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

slot slot-number:显示指定单板的IPv6邻接表项的信息。slot-number表示单板所在的槽位号。如果未指定本参数,则显示所有单板上的IPv6邻接表项的信息。(独立运行模式)

chassis chassis-number slot slot-number:显示指定单板的IPv6邻接表项的信息。chassis-number表示设备在IRF中的成员编号或者PEX对应的虚拟框号,slot-number表示单板或PEX所在的槽位号。如果未指定本参数,则显示所有单板上的IPv6邻接表项的信息。(IRF模式)

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

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

【举例】

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

<Sysname> display ipv6 adjacent-table all verbose

   IPv6 address                  : N/A

   Routing interface             : Tunnel1

   Physical interface            : Tunnel1

   Logical interface             : N/A

   Service type                  : Tunnel

   Action type                   : Forwarding

   Link media type               : P2P

   Slot                          : 1

   Cpu                           : 0

   VPN index                     : 0

   Virtual circuit information   : N/A

   Link head information(IPv6)   : 4500000000000000ff2f000002020201020202020000

                                   86dd

   Link head information(MPLS)   : 4500000000000000ff2f000002020201020202020000

                                   86dd

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

<Sysname> display ipv6 adjacent-table slot 1

IPv6 address          Routing interface     Physical interface    Type

N/A                     Tun1                     Tun1                    Tunnel

# 显示指定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

链路层协议类型,如Tunnel、MTunnel等

Action type

报文处理类型:

·     Forwarding:表示转发

·     Drop:表示丢弃

Link media type

链路介质类型

VPN index

VPN索引

Virtual circuit information

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

Link head information(IPv6)

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

 

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

新华三官网
联系我们