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

04-网络互通命令参考

19-4G Modem管理命令

本章节下载 19-4G Modem管理命令  (161.30 KB)

docurl=/cn/Service/Document_Software/Document_Center/Home/IOT_gateway/00-Public/Command/Command_Manual/H3C_IG_CR(R1227)-6W101/04/201912/1251124_30005_0.htm

19-4G Modem管理命令


1 4G Modem管理

本特性的支持情况与设备型号有关,请以设备的实际情况为准。

型号

说明

IG4500-L

不支持

IG4510-L

支持

IG4520-L

支持

IG4300-R

支持

IG4300-L-R

支持

IG4100-L

不支持

 

1.1.1  controller cellular

controller cellular命令用来进入Cellular接口视图。

【命令】

controller cellular cellular-number

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

cellular-number:Cellular接口的编号。

【举例】

# 进入接口Cellular1/0/2的视图。

<Sysname> system-view

[Sysname] controller cellular 1/0/2

[Sysname-Cellular1/0/2]

1.1.2  default

default命令用来恢复当前接口的缺省配置。

【命令】

default

【视图】

以太网通道接口视图

【缺省用户角色】

network-admin

【使用指导】

接口下的某些配置恢复到缺省情况后,会对设备上当前运行的业务产生影响。建议您在执行该命令前,完全了解其对网络产生的影响。

您可以在执行default命令后通过display this命令确认执行效果。对于未能成功恢复缺省的配置,建议您查阅相关功能的命令手册,手工执行恢复该配置缺省情况的命令。如果操作仍然不能成功,您可以通过设备的提示信息定位原因。

【举例】

# 将以太网通道接口Eth-channel1/0/2:0恢复为缺省配置。

<Sysname> system-view

[Sysname] interface eth-channel 1/0/2:0

[Sysname-Eth-channel1/0/2:0] default

1.1.3  description

description命令用来设置当前接口的描述信息。

undo description命令用来恢复缺省情况。

【命令】

description text

undo description

【缺省情况】

接口的描述信息为“该接口的接口名 Interface”,比如:Cellular1/0/2 Interface。

【视图】

Cellular接口视图

【缺省用户角色】

network-admin

【参数】

text:接口描述信息,为1~255个字符的字符串,区分大小写。

【举例】

# 设置接口Cellular1/0/2的描述信息为“Cellular-intf”。

<Sysname> system-view

[Sysname] controller cellular 1/0/2

[Sysname-Cellular1/0/2] description Cellular-intf

1.1.4  display cellular

display cellular命令用来显示4G Modem的呼叫连接信息。

【命令】

display cellular [ interface-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

interface-number:显示指定Cellular接口的4G Modem呼叫连接信息。如果不指定本参数,则显示所有在位Modem对应Cellular接口的4G Modem呼叫连接信息。

【使用指导】

对于不同厂家生产的4G Modem,此命令显示的内容和格式可能略有区别。

【举例】

# 显示4G Modem的呼叫连接信息(LTE网络)。

<Sysname> display cellular 1/0/2

Cellular1/0/2:

  Hardware Information:

    Model: U9300C SXNC

    Manufacturer: LONGSUNG

    Modem Firmware Version: 30022

    Hardware Version:  Part=290  version=1

    International Mobile Subscriber Identity (IMSI): 460060556016212

    International Mobile Equipment Identity (IMEI): 862808039100311

    Modem Status: Online

  Profile Information:

    Profile index: 1

      PDP Type: IPv4

      Header Compression: Off

      Data Compression: Off

      Access Point Name (APN): 3gnet

      Packet Session Status: Active

    Profile index: 2

      PDP Type: IPv4

      Header Compression: Off

      Data Compression: Off

      Access Point Name (APN): 3GWAP

      Packet Session Status: Inactive

    Profile index: 3

      PDP Type: IPv4

      Header Compression: Off

      Data Compression: Off

      Access Point Name (APN): WONET

      Packet Session Status: Inactive

  Network Information:

    Current Service Status: Service available

    Current Roaming Status: Home

    Current Data Bearer Technology: LTE

    Network Selection Mode: Automatic

  Radio Information:

    Technology Preference: LTE only

    Technology Selected: LTE

  LTE related info:

    Current RSSI: 46

    Current RSRQ: -6

    Current RSRP: -70

    Current SINR: 232

  Modem Security Information:

    SIM Status: OK

表1-1 display cellular命令显示信息描述表(LTE网络)

字段

描述

Hardware Information

硬件信息

Model

Modem名称

Manufacturer

设备生产商

Modem Firmware Version

Modem的软件版本号

Hardware Version

Modem的硬件版本号

International Mobile Equipment Identity (IMEI)

Modem的IMEI串号

Modem Status

Modem的状态:

·          Online:Modem处于上电状态

·          Offline:Modem处于下电状态或省电模式,Cellular接口功能不可用

Profile Information

Modem的参数模板信息

Profile index

Modem的参数模板索引

PDP Type

PDP类型,只有Profile 1 = Active时,才显示该信息:

·          IPv4:PDP协议类型为IPv4

·          IPv6:PDP协议类型为IPv6

Header Compression

PDP头压缩模式:

·          On:使能PDP头压缩

·          Off:禁止PDP头压缩

Data Compression

PDP数据压缩模式:

·          On:使能PDP数据压缩

·          Off:禁止PDP数据压缩

Access Point Name(APN)

接入点名称

Packet Session Status

包会话状态

Network Information

网络信息

Current Service Status

Modem的服务状态:

·          Limited:服务受限,Cellular接口功能不可用

·          Service available:提供有效服务

·          Emergency:提供有限制服务,Cellular接口功能不可用

·          No service:无法提供服务,Cellular接口功能不可用

·          Low power:处于省电模式,Cellular接口功能不可用

Current Roaming Status

漫游状态:

·          Roaming:漫游状态

·          Home:本地状态

Current Data Bearer Technology

当前载波制式,包括:

·          CDMA2000 1X

·          CDMA2000 HRPD (1xEV-DO)

·          GSM

·          UMTS

·          CDMA2000 HRPD (1xEV-DO RevA)

·          EDGE

·          HSDPA and WCDMA

·          WCDMA and HSUPA

·          HSDPA and HSUPA

·          LTE

·          CDMA2000 EHRPD

·          HSDPA+ and WCDMA

·          HSDPA+ and HSUPA

·          DC_HSDPA+ and WCDMA

·          DC_HSDPA+ and HSUPA

·          HSDPA+ and 64QAM

·          HSDPA+, 64QAM and HSUPA

·          TDSCDMA

·          TDSCDMA and HSDPA

·          Unknown

Network Selection Mode

网络选择模式:

·          Manual:手动选择

·          Automatic:自动选择

Radio Information

无线电通信信息

Technology Preference

网络优先连接选择:

·          AUTO:自动选择连接网络

·          GSM only:仅连接GSM网络

·          GSM precedence:优先连接GSM网络

·          WCDMA only:仅连接WCDMA网络

·          WCDMA precedence:优先连接WCDMA网络

·          TD-SCDMA only:仅连接TD-SCDMA网络

·          TD-SCDMA precedence:优先连接TD-SCDMA网络

·          EVDO:仅连接CDMA-EVDO网络

·          1x RTT:仅连接CDMA-1x RTT网络

·          1xRTT/EVDO HYBRID:同时连接CDMA-EVDO和CDMA-1x RTT网络

·          LTE only:仅连接LTE网络

Technology Selected

当前选择的网络:

·          GSM:连接GSM网络

·          WCDMA:连接WCDMA网络

·          TD-SCDMA:连接TD-SCDMA网络

·          EVDO:连接CDMA-EVDO网络

·          1x RTT:连接CDMA-1x RTT网络

·          1xRTT/EVDO HYBRID:同时连接CDMA-EVDO和CDMA-1x RTT网络

·          LTE:连接LTE网络

LTE related info

LTE网络相关信息

Current RSSI

当前信号质量:

·          信号质量的取值范围为-120dBm~0dBm

·          Unknown:无信号,Cellular接口功能不可用

Current RSRQ

当前参考信号接收质量

Current RSRP

当前参考信号接收功率

Current SINR

当前信噪比

Modem Security Information

Modem安全信息

SIM Status

SIM卡状态:

·          OK:SIM卡状态正常

·          Network Reject:SIM卡被拒绝接入网络,Cellular接口功能不可用

·          Not Inserted:未插入SIM卡,Cellular接口功能不可用

·          Not Initialized:当前SIM卡状态未知

ICCID

SIM卡ID号,仅当SIM卡状态为正常时显示

 

1.1.5  display controller cellular

display controller cellular命令用来显示Cellular接口的相关信息。

【命令】

display controller [ cellular [ interface-number ] ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

interface-number:Cellular接口的编号。

【使用指导】

如果不指定cellular参数,将显示设备支持的所有接口的相关信息;

如果指定cellular参数,不指定interface-number参数,将显示所有已创建的Cellular接口的相关信息。

【举例】

# 显示接口Cellular1/0/2的相关信息。

<Sysname> display controller cellular 1/0/2

Cellular1/0/2

Current state: UP

Description: Cellular1/0/2 Interface

Last clearing of counters: Never

Current system time:2019-05-08 15:12:14 beijing+08:00:00

Last time when physical state changed to up:2011-01-01 00:00:54 beijing+08:00:00

Last time when physical state changed to down:2011-01-01 00:00:37 beijing+08:00:00

Modem status: Present

Capability:

 1 Control channel, 1 ETH channel

Control channel traffic statistics:

 TX: 187882 packets

 RX: 192175 packets

表1-2 display controller cellular命令显示信息描述表

字段

描述

Cellular1/0/2

Current state

接口当前的物理状态和管理状态,可能的取值及含义如下:

·          Administratively DOWN:表示该接口已经通过shutdown命令被关闭,即管理状态为关闭

·          DOWN:表示该接口的管理状态为开启,但物理状态为关闭(可能因为没有物理连线或者线路故障)

·          UP:该接口的管理状态和物理状态均为开启

Description

Cellular接口的描述信息

Last clearing of counters

最近一次清除接口操作

·          Never

·          具体清除操作时间

Current system time

当前系统时间

Last time when physical state changed to up

最近一次接口UP状态

Last time when physical state changed to down

最近一次接口DOWN状态

Modem status

4G Modem模块的在位状态:

·          Present:表示在位

·          Absent:表示不在位

Capability:

  1 Control channel, 1 ETH channel

Cellular接口支持的通道类型及数量:

·          1 Control channel:支持1个控制通道

·          1 ETH channel:支持1个以太网子通道

Control channel  traffic statistics:

  TX: 0 packets

  RX: 0 packets

Control channel的报文收发统计信息:

·          发送完成的报文数量

·          接收的报文数量

 

【相关命令】

·              reset counters controller cellular

1.1.6  display interface eth-channel

display interface eth-channel命令用来显示以太网通道接口的相关信息。

【命令】

display interface [ eth-channel [ channel-id ] ] [ brief [ description | down ] ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

channel-id:以太网通道接口的编号。

brief:显示接口的概要信息。不指定该参数时,将显示接口的详细信息。

description:用来显示用户配置的接口的全部描述信息。如果某接口的描述信息超过27个字符,不指定该参数时,只显示描述信息中的前27个字符,超出部分不显示;指定该参数时,可以显示全部描述信息。

down:显示当前物理状态为down的接口的信息以及down的原因。不指定该参数时,将不会根据接口物理状态来过滤显示信息。

【使用指导】

如果不指定eth-channel参数,将显示设备支持的所有接口的相关信息;

如果指定eth-channel参数,不指定channel-id参数,将显示所有已通道化的以太网通道接口的相关信息。

【举例】

#显示以太网通道接口Eth-channel1/0/2:0的详细信息。

<Sysname> display interface Eth-channel 1/0/2:0

Eth-channel1/0/2:0

Current state: DOWN

Line protocol state: DOWN

Description: Eth-channel1/0/2:0 Interface

Bandwidth: 100000 kbps

Maximum transmission unit: 1500

Internet protocol processing: Disabled

IP packet frame type: Ethernet II, hardware address: 00a0-d5ff-ff00

IPv6 packet frame type: Ethernet II, hardware address: 00a0-d5ff-ff00

Last clearing of counters: Never

Last link flapping : 00:00:00

Input:

Input:

0 packets, 0 bytes

0 broadcasts, 0 multicasts, 0 pauses

0 errors, 0 runts, 0 giants

0 CRC, 0 overruns

0 drops, 0 no buffers

Output:

0 packets, 0 bytes

0 broadcasts, 0 multicasts, 0 pauses

0 errors, 0 underruns, 0 collisions

0 deferred, 0 lost carriers

# 显示以太网通道接口Eth-channel1/0/2:0的概要信息。

<Sysname> display interface eth-channel 1/0/2:0 brief

Brief information on interface(s) under route mode:

Link: ADM - administratively down; Stby - standby

Protocol: (s) - spoofing

Interface            Link Protocol Main IP         Description

Echannel1/0/2:0      UP   UP(s)    192.168.80.239

# 显示当前物理状态为down的以太网通道接口的信息以及down的原因。

<Sysname> display interface eth-channel brief down

Brief information on interface(s) under route mode:

Link: ADM - administratively down; Stby - standby

Interface            Link Cause

Echannel1/0/2:0      ADM  Administratively

表1-3 display interface eth-channel命令显示信息描述表

字段

描述

Current state

接口当前的物理状态和管理状态,可能的取值及含义如下:

·          Administratively DOWN:表示该接口已经通过shutdown命令被关闭,即管理状态为关闭

·          DOWN:表示该接口的管理状态为开启,但物理状态为关闭(可能因为没有物理连线或者线路故障)

·          UP:该接口的管理状态和物理状态均为开启

Line protocol state

接口的链路层协议状态,由链路层经过参数协商决定,取值为:

·          UP:表示数据链路层协议状态为开启

·          DOWN:表示数据链路层协议状态为关闭

·          UP(spoofing):表示该接口的数据链路层协议状态为开启,但实际可能没有对应的链路,或者所对应的链路不是永久存在而是按需建立。通常NULL、LoopBack等接口会具有该属性

Description

接口的描述信息

Bandwidth

接口的期望带宽

Maximum Transmit Unit

接口允许通过的最大传输单元

Internet protocol processing: disabled

接口当前不能处理IP报文

Internet Address is 192.168.1.200/24 Primary

接口的主IP地址,此IP地址由运营商自动分配

IP Packet Frame Type,Hardware Address

IP报文发送帧格式,硬件地址

IPv6 Packet Frame Type,Hardware Address

IPv6报文发送帧格式,硬件地址

Last link flapping

接口最近一次物理状态改变到现在的时长。Never表示接口从设备启动后一直处于down状态(没有改变过)

Last clearing of counters

最近一次使用reset counters interface命令清除接口下的统计信息的时间。如果从设备启动一直没有执行reset counters interface命令清除过该接口下的统计信息,则显示Never

Input:

输入的个数

Output:

输出的个数

Brief information on interface(s) under route mode:

三层模式下(route)接口的概要信息,即三层接口的概要信息

Link: ADM - administratively down; Stby - standby

·          如果某接口的Link属性值为“ADM”,则表示该接口被管理员手工关闭了,需要在该接口下执行undo shutdown命令才能恢复接口本身的物理状态

·          如果某接口的Link属性值为“Stby”,则表示该接口是一个备份接口,使用display interface-backup state命令可以查看该备份接口对应的主接口

Protocol: (s) - spoofing

如果某接口的Protocol属性值中带有“(s)”,则表示该接口的数据链路层协议状态显示为UP,但实际可能没有对应的链路,或者对应的链路不是永久存在而是按需建立的

Interface

接口名称缩写

Iink

接口物理连接状态,取值可能为:

·          UP:表示接口物理上是连通的

·          DOWN:表示接口物理上不通

·          ADM:表示接口被手工关闭了,需要执行undo shutdown命令才能打开接口

·          Stby:表示该接口是一个备份接口

Protocol

接口数据链路层协议状态,取值可能为:

·          UP:表示接口的数据链路层是连通的

·          DOWN:表示接口的数据链路层不通

·          UP(s):表示接口的数据链路层协议状态显示为UP,但实际可能没有对应的链路,或者对应的链路不是永久存在而是按需建立的

Main IP

接口主IP地址

Description

用户通过description命令给接口配置的描述信息。使用display interface brief命令,不指定description参数时,该字段最多显示27个字符;指定description参数时,可显示配置的全部描述信息

Cause

接口物理连接状态为down的原因,取值为Administratively时表示本链路被手工关闭了(配置了shutdown命令),需要执行undo shutdown命令才能恢复真实的物理状态

 

1.1.7  eth-channel

eth-channel命令用来将Cellular接口通道化出以太网通道接口。

undo eth-channel命令用来将Cellular接口通道化出的以太网通道接口删除。

【命令】

eth-channel channel-number

undo eth-channel channel-number

【视图】

Cellular接口视图

【缺省用户角色】

network-admin

【参数】

channel-number:通道化出的以太网通道接口编号。

【使用指导】

Cellular接口在配置该命令后通道化出一个以太网通道接口,接口名是eth-channel cellular-number:channel-number

【举例】

# 将接口Cellular1/0/2通道化出一个以太网通道接口。

<Sysname> system-view

[Sysname] controller cellular 1/0/2

[Sysname-Cellular1/0/2] eth-channel 0

1.1.8  interface eth-channel

interface eth-channel命令用来进入以太网通道接口视图。

【命令】

interface eth-channel interface-number

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

interface-number:以太网通道接口的编号。

【举例】

# 进入以太网通道接口Eth-channel1/0/2:0的视图。

<Sysname> system-view

[Sysname] interface eth-channel 1/0/2:0

[Sysname-Eth-channel1/0/2:0]

1.1.9  mtu

mtu命令用来配置接口的MTU(Maximum Transmission Unit,最大传输单元)值。

undo mtu命令用来恢复缺省情况。

【命令】

mtu size

undo mtu

【缺省情况】

接口的MTU值为1500字节。

【视图】

以太网通道接口视图

【缺省用户角色】

network-admin

【参数】

size:接口的MTU值,单位为字节。取值范围为128~2000。

【举例】

# 配置以太网通道接口Eth-channel1/0/2:0的MTU值为1430字节。

<Sysname> system-view

[Sysname] interface eth-channel 1/0/2:0

[Sysname-Eth-channel1/0/2:0] mtu 1430

1.1.10  reset counters controller cellular

reset counters controller cellular命令用来清除Cellular接口的统计信息。

【命令】

reset counters controller cellular [ interface-number ]

【视图】

用户视图

【缺省用户角色】

network-admin

【参数】

cellular [ interface-number ]:Cellular接口的编号。如果不指定interface-number,则清除所有Cellular接口的统计信息;如果指定interface-number,则清除指定Cellular接口的统计信息。

【使用指导】

在某些情况下,需要统计一定时间内某接口的流量,这就需要在统计开始前清除该接口原有的统计信息,重新进行统计。

【举例】

# 清除接口Cellular1/0/2的统计信息。

<Sysname> reset counters controller cellular 1/0/2

【相关命令】

·              display controller cellular

1.1.11  reset counters interface

reset counters interface命令用来清除以太网通道接口的统计信息。

【命令】

reset counters interface [ eth-channel [ channel-id ] ]

【视图】

用户视图

【缺省用户角色】

network-admin

【参数】

eth-channel:清除以太网通道接口的统计信息。

channel-id:以太网通道接口的编号。

【使用指导】

在某些情况下,需要统计一定时间内某接口的流量,这就需要在统计开始前清除该接口原有的统计信息,重新进行统计。

·              如果不指定eth-channelchannel-id,则清除所有接口的统计信息;

·              如果指定eth-channel而不指定channel-id,则清除所有以太网通道接口的统计信息;

·              如果同时指定eth-channelchannel-id,则清除指定以太网通道接口的统计信息。

【举例】

# 清除以太网通道接口Eth-channel1/0/2:0的统计信息。

<Sysname> reset counters interface eth-channel 1/0/2:0

1.1.12  shutdown

shutdown命令用来关闭以太网通道接口。

undo shutdown命令用来打开以太网通道接口。

【命令】

shutdown

undo shutdown

【缺省情况】

以太网通道接口缺省处于开启状态。

【视图】

以太网通道接口视图

【缺省用户角色】

network-admin

【举例】

# 关闭以太网通道接口Eth-channel1/0/2:0。

<Sysname> system-view

[Sysname] interface eth-channel 1/0/2:0

[Sysname-Eth-channel1/0/2:0] shutdown

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

新华三官网
联系我们