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

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

目录

08-邻接表命令

本章节下载 08-邻接表命令  (101.39 KB)

docurl=/cn/Service/Document_Software/Document_Center/Routers/Catalog/SR_Router/SR8800-F/Command/Command_Manual/H3C_SR8800-F_CR-R7143-6W710/06/201809/1110055_30005_0.htm

08-邻接表命令


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 ]

【视图】

任意视图

【缺省用户角色】

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表示单板的槽位号。

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

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

【举例】

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

<Sysname> display adjacent-table all verbose

 IP address                     : 0.0.0.0

 Routing interface             : Pos2/2/0

 Physical interface            : Pos2/2/0

 Logical interface             : N/A

 Service type                   : PPP

 Action type                    : Forwarding

 Link media type                : P2P

 Slot                             : 1

 Cpu                              : 0

 VPN index                       : 0

 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 Cpu

0.0.0.0          Pos2/2/0                 Pos2/2/0                PPP      1    0

# 显示1号单板的IPv4邻接表项的数目。

<Sysname> display adjacent-table slot 1 count

 Total entries on slot 1 cpu 0: 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、MTunnel等

Action type

报文处理类型:

·       Forwarding:表示转发

·       Drop:表示丢弃

Link media type

链路介质类型:

·       P2P:表示点到点链路

·       NBMA:表示点对多点链路

Slot

单板所在的槽位号

Cpu

CPU编号

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 ]

【视图】

任意视图

【缺省用户角色】

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表示单板的槽位号。

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

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

【举例】

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

<Sysname> display ipv6 adjacent-table all verbose

 IPv6 address                    : N/A

 Routing interface              : Pos2/2/0

 Physical interface             : Pos2/2/0

 Logical interface              : N/A

 Service type                    : PPP

 Action type                     : Forwarding

 Link media type                : P2P

 Slot                             : 0

 VPN index                       : 0

 Virtual circuit information : N/A

 Link head information(IPv6) : ff030057

# 显示1号单板的IPv6邻接表项的信息。

<Sysname> display ipv6 adjacent-table slot 1

IPv6 address          Routing interface     Physical interface    Type     Slot Cpu

N/A                     Pos2/2/0                Pos2/2/0                PPP      1    0

# 显示1号单板的IPv6邻接表项的数目。

<Sysname> display ipv6 adjacent-table slot 1 count

 Total entries on slot 1: 1

以上显示信息表示1号单板的IPv6邻接表项的数目为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、MTunnel等

Action type

报文处理类型:

·       Forwarding:表示转发

·       Drop:表示丢弃

Link media type

链路介质类型:

·       P2P:表示点到点链路

·       NBMA:表示点对多点链路

Slot

单板所在的槽位号

Cpu

CPU编号

VPN index

VPN索引

Virtual circuit information

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

Link head information(IPv6)

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

 

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

新华三官网
联系我们