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

04-二层技术-广域网接入命令参考

目录

12-EtoPPP和EtoFR命令

本章节下载 12-EtoPPP和EtoFR命令  (110.69 KB)

docurl=/cn/Service/Document_Software/Document_Center/Routers/Catalog/MSR/MSR_50/Command/Command_Manual/H3C_MSR_CR(V5)-R2516-V1.16/04/201807/1093869_30005_0.htm

12-EtoPPP和EtoFR命令


1 EtoPPP和EtoFR

1.1  EtoPPP配置命令

1.1.1  display etoppp translate

【命令】

display etoppp translate [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]

【视图】

任意视图

【缺省级别】

1:监控级

【参数】

interface interface-type interface-number:显示指定接口对应的EtoPPP转换表的信息。interface-type interface-number为接口类型和接口编号。

|:使用正则表达式对显示信息进行过滤。有关正则表达式的详细介绍,请参见“基础配置指导”中的“CLI”。

begin:从包含指定正则表达式的行开始显示。

exclude:只显示不包含指定正则表达式的行。

include:只显示包含指定正则表达式的行。

regular-expression:表示正则表达式,为1~256个字符的字符串,区分大小写。

【描述】

display etoppp translate命令用来显示EtoPPP转换表的信息和报文转换统计信息。

如果不指定接口,将显示所有接口对应的EtoPPP转换表的信息和报文转换统计信息。

【举例】

# 显示接口Ethernet1/1对应的EtoPPP转换表的信息和报文转换统计信息。

<Sysname> display etoppp translate interface ethernet 1/1

EtoPPP translate entry:

Ethernet 1/1, Status: Active

(CE) IP Address: 192.168.1.1, MAC Address: 00e0-fc00-0001

Serial 2/0, Status: Active

(PE) IP Address: 192.168.1.2

 

Ethernet 1/1 to Serial 2/0 translate statistics:

  Translate IP packets: 100

  Drop       IP packets: 1

  Drop  Non-IP packets: 0

Serial 2/0 to Ethernet 1/1 translate statistics:

  Translate IP packets: 200

  Drop       IP packets: 0

  Drop  Non-IP packets: 0

表1-1 display etoppp translate命令显示信息描述表

字段

描述

EtoPPP translate entry

EtoPPP转换表

Ethernet 1/1

加入EtoPPP转换表的Ethernet接口名

Status

Ethernet接口链路状态

(CE) IP Address

和Etherent接口相连的设备的IP地址

MAC Address

和Ethernet接口相连的设备的MAC地址

Serial 2/0

加入EtoPPP转换表的PPP接口名

Status

接口(封装PPP协议)链路状态

(PE) IP Address

和接口(封装PPP协议)相连的设备的IP地址

Ethernet 1/1 to Serial 2/0 translate statistics

从Ethernet接口到封装PPP协议接口转换的报文统计

Translate IP packets

转换成功的IP报文统计

Drop      IP packets

转换失败的IP报文统计

Drop  Non-IP packets

丢弃的非IP报文统计

Serial 2/0 to Ethernet 1/1 translate statistics

从接口(封装PPP协议)到Ethernet接口转换的报文统计

Translate IP packets

转换成功的IP报文统计

Drop      IP packets

转换失败的IP报文统计

Drop  Non-IP packets

丢弃的非IP报文统计

 

1.1.2  etoppp translate

【命令】

etoppp translate interface interface-type1 interface-number1 interface-type2 interface-number2 ip-address ip-address1 ip-address2

undo etoppp translate interface interface-type1 interface-number1

【视图】

系统视图

【缺省级别】

2:系统级

【参数】

interface interface-type1 interface-number1:接口类型和接口编号。

interface-type2 interface-number2:接口类型和接口编号。

ip-address ip-address1:与设备的接口interface-type1 interface-number1相连的对端的IP地址。

ip-address2:与设备的接口interface-type2 interface-number2相连的对端的IP地址,和ip-address1应该在同一网段。

【描述】

etoppp translate命令用来在指定的两个接口间建立一条报文转换的通道。undo etoppp translate命令用来取消两个接口间建立的报文转换的通道。

缺省情况下,没有建立报文转换的通道。

相关配置可参考命令display etoppp translate

【举例】

# 创建从Ethernet1/1到Serial2/0的EtoPPP映射。

<Sysname> system-view

[Sysname] etoppp translate interface ethernet 1/1 serial 2/0 ip-address 1.1.1.1 1.1.1.2

1.1.3  reset etoppp translate

【命令】

reset etoppp translate [ interface interface-type interface-number ]

【视图】

用户视图

【缺省级别】

1:监控级

【参数】

interface interface-type interface-number:接口类型和接口编号。

【描述】

reset etoppp translate命令用来清除EtoPPP的报文转换统计信息。

不指定接口时,将清除EtoPPP转换表中所有接口EtoPPP的报文转换统计信息。

相关配置可参考命令display etoppp translate

【举例】

# 清除接口Ethernet1/1的EtoPPP的报文转换统计信息。

<Sysname> reset etoppp translate interface ethernet 1/1

1.2  EtoFR配置命令

1.2.1  display etofr translate

【命令】

display etofr translate [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]

【视图】

任意视图

【缺省级别】

1:监控级

【参数】

interface interface-type interface-number:显示指定接口对应的EtoFR转换表的信息。interface-type interface-number为接口类型和接口编号。

|:使用正则表达式对显示信息进行过滤。有关正则表达式的详细介绍,请参见“基础配置指导”中的“CLI”。

begin:从包含指定正则表达式的行开始显示。

exclude:只显示不包含指定正则表达式的行。

include:只显示包含指定正则表达式的行。

regular-expression:表示正则表达式,为1~256个字符的字符串,区分大小写。

【描述】

display etofr translate命令用来显示EtoFR转换表的信息和报文转换统计信息。

如果不指定接口,将显示所有接口对应的EtoFR转换表的信息和报文转换统计信息。

【举例】

# 显示接口Ethernet1/1对应的EtoFR转换表的信息和报文转换统计信息。

<Sysname> display etofr translate interface ethernet 1/1

EtoFR translate entry:

Ethernet 1/1.1 , Vid: 20, Status: Active

(CE) IP Address: 192.168.1.1, MAC Address: 00e0-fc00-0001

Serial 2/0, DLCI: 20, Status: Active,

(PE) IP Address: 192.168.1.2

 

Ethernet 1/1.1 to Serial 2/0 translate statistics:

  Translate IP packets: 100

  Drop       IP packets: 1

  Drop  Non-IP packets: 0

Serial 2/0 to Ethernet 1/1.1 translate statistics:

  Translate IP packets: 200

  Drop       IP packets: 0

  Drop  Non-IP packets: 0

表1-2 display etofr translate命令显示信息描述表

字段

描述

EtoFR translate entry

EtoFR转换表

Ethernet 1/1.1

加入EtoFR的Ethernet接口名

Vid

Ethernet子接口对应的VLAN ID

Status

Ethernet子接口链路状态

(CE)  IP Address

和Etherent接口相连的设备的IP地址

MAC Address

和Ethernet接口相连的接口的MAC地址

Serial 2/0

加入EtoFR的FR接口名

DLCI

加入EtoFR的FR接口上的虚电路

Status

FR接口链路状态

(PE)  IP Address

和FR接口相连的设备的IP地址

Ethernet 1/1.1 to Serial 2/0 translate statistics

从Ethernet接口到FR接口转换的报文统计

Translate IP packets

转换成功的IP报文统计

Drop     IP packets

转换失败的IP报文统计

Drop Non-IP packets

丢弃的非IP报文统计

Serial 2/0 to Ethernet 1/1.1 translate statistics

从FR接口到Ethernet接口转换的报文统计

Translate IP packets

转换成功的IP报文统计

Drop     IP packets

转换失败的IP报文统计

Drop Non-IP packets

丢弃的非IP报文统计

 

1.2.2  etofr translate

【命令】

etofr translate interface interface-type1 interface-number1 interface-type2 interface-number2 dlci dlci-number ip-address ip-address1 ip-address2

undo etofr translate interface-type1 interface-number1

【视图】

系统视图

【缺省级别】

2:系统级

【参数】

interface interface-type1 interface-number1:接口类型和接口编号。

interface-type2 interface-number2:接口类型和接口编号。

dlci dlci-number为帧中继接口分配的虚电路号,取值范围为16~1007。

ip-address ip-address1:与设备的接口interface-type1 interface-number1相连的对端的IP地址。

ip-address2:与设备的接口interface-type2 interface-number2相连的对端的IP地址,和ip-address1应该在同一网段。

【描述】

etofr translate命令用来在指定的两个接口间建立一条报文转换的通道。undo etofr translate命令用来取消两个接口间建立的报文转换的通道。

缺省情况下,没有建立报文转换的通道。

相关配置可参考命令display etofr translate

【举例】

# 创建从Ethernet1/1到Serial2/0的EtoFR映射。

<Sysname> system-view

[Sysname] etofr translate interface ethernet 1/1 serial 2/0 dlci 30 ip-address 10.1.1.1 10.1.1.10

1.2.3  reset etofr translate

【命令】

reset etofr translate [ interface interface-type interface-number ]

【视图】

用户视图

【缺省级别】

1:监控级

【参数】

interface interface-type interface-number:接口类型和接口编号。

【描述】

reset etofr translate命令用来清除EtoFR的报文转换统计信息。

不指定接口时,将清除EtoFR转换表中所有接口的EtoFR的报文转换统计信息。

相关配置可参考命令display etofr translate

【举例】

# 清除接口Ethernet1/1的EtoFR的报文转换统计信息。

<Sysname> reset etofr translate interface ethernet 1/1

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

新华三官网
联系我们