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

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

目录

12-邻接表命令

本章节下载12-邻接表命令(146.80 KB)

12-邻接表命令


1邻接表

1.1 IPv4邻接表配置命令

1.1.1 display adjacent-table

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

【命令】

display adjacent-table{all|physical-interfaceinterface-type interface-number|routing-interfaceinterface-type interface-number|slotslot-number}[count|verbose]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

context-admin

context-operator

【参数】

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

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

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

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

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

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

【举例】

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

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邻接表项的信息。

display adjacent-table slot 1

IP address Routing interface Physical interface Type

0.0.0.0 Tun1 Tun1 Tunnel

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

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

链路层协议类型

Action type

报文处理类型:

·Forwarding:表示转发

·Drop:表示丢弃

Link media type

链路介质类型:

·P2P:表示点到点链路

·NBMA:表示点对多点链路

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-interfaceinterface-type interface-number|routing-interfaceinterface-type interface-number|slotslot-number}[count|verbose]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

context-admin

context-operator

【参数】

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

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

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

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

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

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

【举例】

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

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邻接表项的信息。

display ipv6 adjacent-table slot 1

IPv6 address Routing interface Physical interface Type

N/A Tun1 Tun1 Tunnel

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

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

链路层协议类型

Action type

报文处理类型:

·Forwarding:表示转发

·Drop:表示丢弃

Link media type

链路介质类型:

·P2P:表示点到点链路

·NBMA:表示点对多点链路

Cpu

(暂不支持)CPU编号

VPN index

VPN索引

Virtual circuit information

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

Link head information(IPv6)

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

Link head information(MPLS)

(暂不支持)MPLS协议对应的链路层头信息

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

新华三官网
联系我们