- Table of Contents
-
- 05-Network Connectivity Command Reference
- 00-Preface
- 01-MAC address table commands
- 02-Ethernet link aggregation commands
- 03-Port isolation commands
- 04-DHCP commands
- 05-Loop detection commands
- 06-Spanning tree commands
- 07-LLDP commands
- 08-Layer 2 forwarding commands
- 09-VLAN termination commands
- 10-PPP commands
- 11-L2TP commands
- 12-Modem management commands
- 13-3G and 4G modem management commands
- 14-ARP commands
- 15-IP addressing commands
- 16-VLAN commands
- 17-DHCPv6 commands
- 18-DNS commands
- 19-NAT commands
- 20-IP performance optimization commands
- 21-IPv6 basics commands
- 22-Policy-based routing commands
- 23-IPv6 policy-based routing commands
- 24-GRE commands
- 25-Tunneling commands
- 26-Basic IP routing commands
- 27-IP forwarding basics commands
- 28-Static routing commands
- 29-IPv6 static routing commands
- 30-RIP commands
- 31-RIPng commands
- 32-IGMP snooping commands
- 33-MLD snooping commands
- Related Documents
-
Title | Size | Download |
---|---|---|
13-3G and 4G modem management commands | 151.32 KB |
4G modem management commands
The following compatibility matrixes show the support of hardware platforms for 3G/4G modem management:
Hardware series |
Model |
Product code |
3G/4G modem management compatibility |
WX1800H series |
WX1804H-PWR |
EWP-WX1804H-PWR-CN |
No |
WX2500H series |
WX2508H-PWR-LTE WX2510H-PWR WX2510H-F-PWR WX2540H WX2540H-F WX2560H |
EWP-WX2508H-PWR-LTE EWP-WX2510H-PWR EWP-WX2510H-F-PWR EWP-WX2540H EWP-WX2540H-F EWP-WX2560H |
Yes: EWP-WX2508H-PWR-LTE No: · EWP-WX2510H-PWR · EWP-WX2510H-F-PWR · EWP-WX2540H · EWP-WX2540H-F · EWP-WX2560H |
MAK series |
MAK204 MAK206 |
EWP-MAK204 EWP-MAK206 |
No |
WX3000H series |
WX3010H WX3010H-X-PWR WX3010H-L-PWR WX3024H WX3024H-L-PWR WX3024H-F |
EWP-WX3010H EWP-WX3010H-X-PWR EWP-WX3010H-L-PWR EWP-WX3024H EWP-WX3024H-L-PWR EWP-WX3024H-F |
No |
WX3500H series |
WX3508H WX3508H WX3510H WX3510H WX3520H WX3520H-F WX3540H WX3540H |
EWP-WX3508H EWP-WX3508H-F EWP-WX3510H EWP-WX3510H-F EWP-WX3520H EWP-WX3520H-F EWP-WX3540H EWP-WX3540H-F |
No |
WX5500E series |
WX5510E WX5540E |
EWP-WX5510E EWP-WX5540E |
No |
WX5500H series |
WX5540H WX5560H WX5580H |
EWP-WX5540H EWP-WX5560H EWP-WX5580H |
No |
Access controller modules |
LSUM1WCME0 EWPXM1WCME0 LSQM1WCMX20 LSUM1WCMX20RT LSQM1WCMX40 LSUM1WCMX40RT EWPXM2WCMD0F EWPXM1MAC0F |
LSUM1WCME0 EWPXM1WCME0 LSQM1WCMX20 LSUM1WCMX20RT LSQM1WCMX40 LSUM1WCMX40RT EWPXM2WCMD0F EWPXM1MAC0F |
No |
Hardware series |
Model |
Product code |
3G/4G modem management compatibility |
WX1800H series |
WX1804H-PWR WX1810H-PWR WX1820H WX1840H |
EWP-WX1804H-PWR EWP-WX1810H-PWR EWP-WX1820H EWP-WX1840H-GL |
No |
WX3800H series |
WX3820H WX3840H |
EWP-WX3820H-GL EWP-WX3840H-GL |
No |
WX5800H series |
WX5860H |
EWP-WX5860H-GL |
No |
Common management commands
controller cellular
Use controller cellular to enter cellular interface view.
Syntax
controller cellular cellular-number
Views
System view
Predefined user roles
network-admin
Parameters
cellular-number: Specifies a cellular interface by its number.
Examples
# Enter Cellular 1/0/6 interface view.
<Sysname> system-view
[Sysname] controller cellular 1/0/6
[Sysname-Cellular 1/0/6]
description
Use description to configure a description for a cellular interface.
Use undo description to restore the default.
Syntax
description text
undo description
Default
The description for a cellular interface is in the interface name Interface format, for example, Cellular 1/0/6 Interface.
Views
Cellular interface view
Predefined user roles
network-admin
Parameters
text: Sets an interface description, a case-sensitive string of 1 to 255 characters.
Examples
# Set the description for Cellular 1/0/6 to Cellular-intf.
<Sysname> system-view
[Sysname] controller cellular 1/0/6
[Sysname-Cellular1/0/6] description Cellular-intf
display cellular
Use display cellular to display call connection information for a 4G modem.
Syntax
display cellular [ interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
cellular [ interface-number ]: Specifies a cellular interface by its number. If you do not specify a cellular interface, this command displays call connection information for all cellular interfaces with 4G modems installed.
Usage guidelines
The command output might vary by modem manufacturers.
Examples
# Display call connection information for a 4G modem (LTE network).
<Sysname> display cellular 1/0/6
Cellular1/0/6:
Hardware Information:
Model: U9300C SXNC
Manufacturer: LONGSUNG
Modem Firmware Version: 30027
Hardware Version:-Part=290 version=1
International Mobile Subscriber Identity (IMSI): None
International Mobile Equipment Identity (IMEI): 863284043221643
Modem Status: Online
Profile Information:
Profile index: 1
PDP Type: IPv4
Header Compression: Off
Data Compression: Off
Access Point Name (APN): wonet
Profile index: 2
PDP Type: IPv4
Header Compression: Off
Data Compression: Off
Access Point Name (APN): ctwap
Profile index: 3
PDP Type: IPv4
Header Compression: Off
Data Compression: Off
Access Point Name (APN): WONET
Network Information:
Current Service Status: Emergency
Current Roaming Status: Roaming
Current Data Bearer Technology: LTE
Network Selection Mode: Unknown
Radio Information:
Technology Preference: LTE only
Technology Selected: LTE
LTE related info:
Current RSSI: 99
Modem Security Information:
SIM Status: Not insert
Table 1 Command output
Field |
Description |
Model |
Modem name. |
International Mobile Equipment Identity (IMEI) |
IMEI serial number of the modem. |
Modem Status |
Status of the modem: · Online—The modem is powered on. · Offline—The modem is powered off or in lower power mode. The cellular interface is unavailable. |
Profile Information |
Profile settings for the 4G modem. |
Profile index |
Index of the profile for modem. |
PDP Type |
PDP type, displayed only when Profile 1 is Active: · IPv4. · IPv6. · PPP (transparent transmission). |
Header Compression |
PDP header compression status · On. · Off. |
Data Compression |
PDP data compression status: · On. · Off. |
Current Service Status |
Service status of the modem: · Limited—The modem is not in the coverage of the selected network. The cellular interface is not available. · Service available—The modem is providing services correctly. · Emergency—The modem is providing limited services. The cellular interface is not available. · No service—The modem cannot provide services. The cellular interface is not available. · Low power—The modem is in low power mode. The cellular interface is not available. |
Current Roaming Status |
Roaming status: · Roaming. · Home. |
Current Data Bearer Technology |
Current data carrier 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 |
Network selection mode · Manual. · Automatic. |
Mobile Country Code (MCC) |
The MCC is displayed if the modem has found the network. |
Mobile Network Code (MNC) |
The MNC is displayed if the modem is successfully registered with a mobile network. |
Location Area Code (LAC) |
The LAC is displayed if the modem is successfully registered with a mobile network. |
Cell ID |
The Cell ID is displayed if the modem is successfully registered with a mobile network. |
Radio Information |
Radio communication information. |
Technology Preference |
Network connecting preference: · AUTO—Connects to a network automatically. · GSM only—Connects to a GSM network only. · GSM precedence—Connects to a GSM network with preference. · WCDMA only—Connects to a WCDMA network only. · WCDMA precedence—Connects to a WCDMA network with preference. · TD-SCDMA only—Connects to a TD-SCDMA network only. · TD-SCDMA precedence—Connects to a TD-SCDMA network with preference. · EVDO—Connects to a CDMA-EVDO network only. · 1x RTT—Connects to a CDMA-1x RTT network only. · 1xRTT/EVDO HYBRID—Connects to the CDMA-EVDO and CDMA-1x RTT hybrid networks only. · LTE only—Connects to an LTE network only. |
Technology Selected |
Current network: · GSM—Has connected to a GSM network. · WCDMA—Has connected to a WCDMA network. · TD-SCDMA—Has connected to a TD-SCDMA network. · EVDO—Has connected to a CDMA-EVDO network. · 1Xrtt—Has connected to a CDMA-1x RTT network. · 1xRTT/EVDO HYBRID—Has connected to the CDMA-EVDO and CDMA-1x RTT networks. · LTE—Has connected to an LTE network. |
LTE related info |
Information about the LTE network. |
Current RSSI |
Current RSSI: · An RSSI value in the range of –110 dBm and –51 dBm. · Unknown—No signal. The cellular interface is unavailable. |
Current RSRQ |
Reference Signal Received Quality. |
Current RSRP |
Reference Signal Receiving Power. |
Current SNR |
Signal to noise ratio. |
Tx Power |
Transmitting power. |
Modem Security Information |
Information about modem security. |
PIN Verification |
PIN authentication status: · Disabled. · Enabled. · Unknown. |
PIN Status |
PIN status: · Ready—The SIM card is ready. · PIN Requirement—Requires you to execute the pin verify command to enter the PIN for PIN verification. · PUK Requirement—Requires you to execute the pin unlock command to unlock the SIM or UIM card. |
SIM Status |
SIM card status: · OK—The SIM card is normal. · Network Reject—The SIM card is denied access to the network. The cellular interface is not available. · Not Insert—The SIM card is absent. The cellular interface is not available. · Not Initialized—The SIM card status cannot be identified. |
ICCID |
ID of the SIM card, displayed only when the SIM card status is OK. |
display controller cellular
Use display controller cellular to display information about cellular interfaces.
Syntax
display controller [ cellular [ interface-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
cellular [ interface-number ]: Specifies cellular interfaces or a cellular interface by its number. If you do not specify the cellular keyword, this command displays information about all interfaces. If you specify the cellular keyword but not the interface-number argument, this command displays information about all cellular interfaces.
Usage guidelines
Examples
# Display information about Cellular 1/0/6.
<Sysname> display controller cellular 1/0/6
Cellular1/0/6
Current state: UP
Description: Cellular1/0/6 Interface
Last clearing of counters: Never
Current system time:2020-04-11 22:31:41 Beijing+08:00:00
Last time when physical state changed to up:2020-04-09 17:16:20 Beijing+08:00:00
Last time when physical state changed to down:2020-04-09 17:16:20 Beijing+08:00:00
Modem status: Present
Capability:
1 Control channel, 1 ETH channel
Control channel traffic statistics:
TX: 104366 packets
RX: 104365 packets
Table 2 Command output
Field |
Description |
Cellular1/0/6 Current state |
Status of the interface: · DOWN(Administratively)—The interface has been administratively shut down by using the shutdown command. · DOWN—The interface is administratively up but its physical state is down, possibly because of a connection or link failure. · UP—The administrative and physical states of the interface are both up. |
Description |
Description of the interface. |
DM port status |
DM status: · Enabled. · Disabled. |
Capability: 1 Control channel, 1 PPP channel |
Type and number of channels the cellular interface supports: · 1 Control channel—Supports one control channel. · 1 PPP channel—Supports one asynchronous serial subchannel. · 1 ETH channel—Supports one Ethernet subchannel. |
Control channel 0 traffic statistics: TX: 0 packets, 0 errors RX: 0 packets, 0 errors |
Control channel statistics: · TX: 0 packets, 0 errors—Number of packets and number of error packets sent through the control channel. · RX: 0 packets, 0 errors—Number of packets and number of error packets received through the control channel. |
PPP channel 0 traffic statistics TX: 0 packets, 0 errors RX: 0 packets, 0 errors |
PPP channel statistics: · TX: 0 packets, 0 errors—Number of packets and number of error packets sent through the PPP channel. · RX: 0 packets, 0 errors—Number of packets and number of error packets received through the PPP channel. |
ETH channel 0 traffic statistics TX: 0 packets, 0 errors RX: 0 packets, 0 errors |
Ethernet channel statistics: · TX: 0 packets, 0 errors—Number of packets and number of error packets sent through the Ethernet channel. · RX: 0 packets, 0 errors—Number of packets and number of error packets received through the Ethernet channel. |
Related commands
reset counters controller cellular
modem reboot
Use modem reboot to reboot a 4G modem.
Syntax
modem reboot
Views
Cellular interface view
Predefined user roles
network-admin
Usage guidelines
CAUTION: This command will disconnect the established 3G/4G modem connections. Execute this command with caution. |
A 4G modem module can automatically detect running errors and reboot. If the 4G modem fails to reboot by itself, you can use this command to reboot it.
Examples
# Manually reboot the 4G modem.
<Sysname> system-view
[Sysname] controller cellular 1/0/6
[Sysname-Cellular1/0/6] modem reboot
reset counters controller cellular
Use reset counters controller cellular to clear statistics on cellular interfaces.
Syntax
reset counters controller cellular [ interface-number ]
Views
User view
Predefined user roles
network-admin
Parameters
cellular [ interface-number ]: Specifies cellular interfaces or a cellular interface by its number. If you do not specify the interface-number argument, this command clears statistics on all cellular interfaces. If you specify the interface-number argument, this command clears statistics on the specified cellular interface.
Usage guidelines
To collect traffic statistics on an interface during a period of time, first use the reset counters controller cellular command to clear the existing statistics on the interface.
Examples
# Clear statistics on Cellular 1/0/6.
<Sysname> reset counters controller cellular 1/0/6
Related commands
display controller cellular
sendat
Use sendat to issue a configuration directive to a 4G modem.
Syntax
sendat at-string
Views
Cellular interface view
Predefined user roles
network-admin
Parameters
at-string: Specifies a configuration directive string, a string of 1 to 300 characters. This argument can be an AT directive (containing +++, A/, or be any string beginning with AT) or a CNS directive. For more information about AT directives, see the sendat command in modem management commands in Network Connectivity Command Reference. Table 3 describes the CNS directive samples.
Table 3 CNS directive description
Directive |
Description |
CNSn |
Controls the CNS heartbeat debugging switch. · n = 00000500000000000000—Enables CNS heartbeat debugging. · n = 00000800000000000000—Disables CNS heartbeat debugging. |
Usage guidelines
The sendat command does not verify the configuration directive. Each time it issues one configuration directive to the 4G modem, lowercase characters are automatically converted to uppercase characters.
One sendat command issues one configuration directive. To issue multiple configuration directives to a modem, you must repeat the sendat command.
Configuration directives might cause malfunction of a 4G modem. When you issue a configuration directive to the modem, make sure you understand the impact on the 4G modem.
Examples
# Issue the ATD169 directive to the 4G modem to call number 169.
<Sysname> system-view
[Sysname] controller cellular 1/0/6
[Sysname-Cellular1/0/6] sendat ATD169
# Issue the cns00000500000000000000 directive to the 4G modem to enable CNS heartbeat debugging.
<Sysname> system-view
[Sysname] controller cellular 1/0/6
[Sysname-Cellular1/0/6] sendat cns00000500000000000000
shutdown
Use shutdown to shut down a cellular interface.
Use undo shutdown to bring up a cellular interface.
Syntax
shutdown
undo shutdown
Default
The cellular interface is up.
Views
Cellular interface view
Predefined user roles
network-admin
Examples
# Shut down Cellular 1/0/6。
<Sysname> system-view
[Sysname] interface cellular 1/0/6
[Sysname-Cellular1/0/6] shutdown
sim switch-to
Use sim switch-to to specify the primary or secondary SIM card.
Syntax
sim switch-to card-number
Default
The primary SIM card is used.
Views
Cellular interface view
Predefined user roles
network-admin
Parameters
card-number: Specifies a SIM card by its slot number. The value is 0 or 1. 0 represents the primary SIM card. 1 represents the secondary SIM card.
Usage guidelines
CAUTION: This command might cause traffic interruption. Be aware of the impact of this command before executing it. |
On a device that uses dual SIM card, you can execute this command to specify the use of the secondary SIM card when one of the following problems occurs:
· The 4G link signals of the primary SIM card are weak.
· The service provider network that the primary SIM card connects to is unavailable.
· The primary SIM card has failed.
If the issues of the primary SIM card are resolved, you can use this command to specify the use of the primary SIM card.
Examples
# Specify the secondary SIM card for the device.
<Sysname> system-view
[Sysname] controller cellular 1/0/6
[Sysname-Cellular1/0/6] sim switch-to 1
4G modem-specific management commands
apn-profile
Use apn-profile to create a 4G modem profile.
Use undo apn-profile to remove a 4G modem profile.
Syntax
apn-profile profile-name
undo apn-profile profile-name
Default
No 4G modem profile exists.
Views
System view
Predefined user roles
network-admin
Parameters
profile-name: Specifies a 4G modem profile name.
Usage guidelines
A 4G modem profile takes effect only after you apply the profile to a 4G interface. To remove a 4G modem profile, you must first remove the association between the profile and the 4G interface.
Examples
# Create 4G modem profile test.
<Sysname> system-view
[Sysname] apn-profile test
bandwidth
Use bandwidth to configure the expected bandwidth for an Eth-channel interface.
Use undo bandwidth to restore the default.
Syntax
bandwidth bandwidth-value
undo bandwidth
Default
The expected bandwidth (in kbps) is the interface baud rate divided by 1000.
Views
Eth-channel interface view
Predefined user roles
network-admin
Parameters
bandwidth-value: Specifies the expected bandwidth in the range of 1 to 400000000 kbps.
Examples
# Set the expected bandwidth for Eth-channel 1/0/6:0 to 1000 kbps.
<Sysname> system-view
[Sysname] interface eth-channel 1/0/6:0
[Sysname-Eth-channel1/0/6:0] bandwidth 1000
default
Use default to restore the default settings for an interface.
Syntax
default
Views
Eth-channel interface view
Predefined user roles
network-admin
Usage guidelines
CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impact of this command before using it on a live network. |
This command might fail to restore the default settings for some commands for reasons such as command dependencies and system restrictions. Use the display this command in interface view to identify these commands. Then, use their undo forms or follow the command reference to individually restore their default settings. If your restoration attempt fails, follow the error message instructions to resolve the problem.
Examples
# Restore the default settings for Eth-channel 1/0/6:0.
<Sysname> system-view
[Sysname] interface eth-channel 1/0/6:0
[Sysname-Eth-channel1/0/6:0] default
description
Use description to configure the description of an Eth-channel interface.
Use undo description to restore the default.
Syntax
description text
undo description
Default
The description for an Eth-channel interface is in the interface name Interface format, for example, Echannel 1/0/6:0 Interface.
Views
Eth-channel interface view
Predefined user roles
network-admin
Parameters
text: Sets an interface description, a case-sensitive string of 1 to 255 characters.
Usage guidelines
Configure the description of an interface for easy identification and management purposes.
You can use the display interface command to view the description for an interface.
Examples
# Configure the description for Eth-channel 1/0/6:0 as Echannel-interface.
<Sysname> system-view
[Sysname] interface eth-channel 1/0/6:0
[Sysname-Eth-channel1/0/6:0] description Echannel-interface
display interface eth-channel
Use display interface eth-channel to display information about the specified or all Eth-channel interfaces.
Syntax
display interface [ eth-channel [ channel-id ] ] [ brief [ description | down ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
eth-channel [ channel-id ]: Specifies Eth-channel interfaces or an Eth-channel interface by its number. If you do not specify the eth-channel keyword, the command displays information about all interfaces. If you specify the eth-channel keyword but not the channel-id argument, this command displays information about all Eth-channel interfaces.
brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information.
description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of interface descriptions.
down: Displays information about interfaces in down state and the causes. If you do not specify this keyword, the command displays information about interfaces in all states.
Examples
# Display detailed information about Eth-channel 1/0/6:0.
<Sysname> display interface eth-channel 1/0/6:0
Eth-channel1/0/6:0
Current state: DOWN
Line protocol state: DOWN
Description: Eth-channel1/0/6:0 Interface
Bandwidth: 1000 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
Output queue - Urgent queuing: Size/Length/Discards 0/1024/0
Output queue - Protocol queuing: Size/Length/Discards 0/500/0
Output queue - FIFO queuing: Size/Length/Discards 0/75/0
Last clearing of counters: Never
Last link flapping: 00:00:00
Input:
0 packets, 0 bytes
0 broadcasts, 0 multicasts, 0 unicasts, 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 unicasts, 0 pauses
0 errors, 0 underruns, 0 collisions
0 deferred, 0 lost carriers
# Display brief information about Eth-channel 1/0/6:0.
<Sysname> display interface eth-channel 1/0/6: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/6:0 UP UP(s) 192.168.80.239
# Display information about all Eth-channel interfaces in down state and the causes.
<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/6:0 ADM Administratively
Table 4 Command output
Field |
Description |
Current state |
Physical link state of the interface: · Administratively DOWN—The interface has been shut down by using the shutdown command. · DOWN—The interface is administratively up, but its physical state is down (possibly because no physical link exists or the link has failed). · UP—The interface is both administratively and physically up. |
Line protocol state |
Data link layer state of the interface. The state is determined through automatic parameter negotiation at the data link layer. · UP—The data link layer protocol is up. · UP (spoofing)—The data link layer protocol is up, but the link is an on-demand link or does not exist. This attribute is typical of null interfaces and loopback interfaces. · DOWN—The data link layer protocol is down. |
Description |
Description for the interface. |
Bandwidth |
Expected bandwidth of the interface. |
Maximum Transmit Unit |
MTU of the interface. |
Internet protocol processing: disabled |
The interface is not assigned an IP address and cannot process IP packets. |
Internet Address is 192.168.1.200/24 Primary |
IP address of the interface. The primary attribute indicates that the address is the primary IP address.. |
IP Packet Frame Type |
IPv4 packet framing format. |
Hardware Address |
MAC address of the interface. |
IPv6 Packet Frame Type |
IPv6 packet framing format. |
Output queue - Urgent queuing: Size/Length/Discards |
Packet statistics for urgent queuing in the output queue of the interface: · Size—Current number of packets in the queue. · Length—Maximum number of packets that can stay in the queue. · Discards—Number of dropped packets. |
Output queue - Protocol queuing: Size/Length/Discards |
Packet statistics for protocol queuing in the output queue of the interface: · Size—Current number of packets in the queue. · Length—Maximum number of packets that can stay in the queue. · Discards—Number of dropped packets. |
Output queue - FIFO queuing: Size/Length/Discards |
Packet statistics for FIFO queuing in the output queue of the interface: · Size—Current number of packets in the queue. · Length—Maximum number of packets that can stay in the queue. · Discards—Number of dropped packets. |
Last link flapping |
The amount of time that has elapsed since the most recent physical state change of the interface. This field displays Never if the interface has been physically down since device startup. |
Last clearing of counters |
Time when statistics on the logical interface were last cleared by using the reset counters interface command. If statistics about the interface have never been cleared by using the reset counters interface command since the device started, this field displays Never. |
Last 300 seconds input rate |
Average input rate during the last 300 seconds: · bytes/sec—Average number of received bytes per second. · bits/sec—Average number of received bits per second. · packets/sec—Average number of received packets per second. |
Last 300 seconds output rate |
Average output rate over the last 300 seconds: · bytes/sec—Average number of sent bytes per second. · bits/sec—Average number of sent bits per second. · packets/sec—Average number of sent packets per second. |
Input: 0 packets, 0 bytes, 0 buffers |
Incoming packet statistics: · 0 packets—Packet number. · 0 bytes—Packet size in bytes. · 0 buffers—Number of buffered units. |
Output: 0 packets, 0 bytes |
Outgoing packet statistics: · 0 packets—Packet number. · 0 bytes—Packet size in bytes. |
Link |
Physical link state of the interface: · UP—The interface is physically up. · DOWN—The interface is physically down. · ADM—The interface has been shut down by using the shutdown command. To restore the physical state of the interface, use the undo shutdown command. · Stby—The interface is a backup interface in standby state. To see the primary interface, use the display interface-backup state command. |
Protocol |
Data link layer protocol state of the interface: · UP—The data link layer protocol of the interface is up. · DOWN—The data link layer protocol of the interface is down. · UP(s)—The data link layer protocol of the interface is up, but the link is an on-demand link or does not exist. The (s) attribute represents the spoofing flag. This value is typical of null interfaces and loopback interfaces. |
Main IP |
Main IP address of the interface. |
Description |
Description of the interface. |
Cause |
Cause for the physical link state of the interface to be DOWN. The value of the field varies by device model. Administratively represents that the interface has been manually shut down by using the shutdown command. To restore the physical state of the interface, use the undo shutdown command. |
eth-channel
Use eth-channel to channelize a cellular interface into an Eth-channel interface.
Use undo eth-channel to remove the Eth-channel interface channelized from a cellular interface.
Syntax
eth-channel channel-number
undo eth-channel channel-number
Views
Cellular interface view
Predefined user roles
network-admin
Parameters
channel-number: Specifies an Eth-channel interface by its number. The value is 0.
Usage guidelines
This command names the Eth-channel interface channelized from a cellular interface as eth-channel cellular-number:channel-number.
Examples
# Channelize Cellular 1/0/6 into an Eth-channel interface.
<Sysname> system-view
[Sysname] controller cellular 1/0/6
[Sysname-Cellular1/0/6] eth-channel 0
interface eth-channel
Use interface eth-channel to enter Eth-channel interface view.
Syntax
interface eth-channel interface-number
Views
System view
Predefined user roles
network-admin
Parameters
interface-number: Specifies an Eth-channel interface by its number.
Examples
# Enter Eth-channel 1/0/6:0 interface view.
<Sysname> system-view
[Sysname] interface eth-channel 1/0/6:0
[Sysname-Eth-channel1/0/6:0]
mtu
Use mtu to set the maximum transmission unit (MTU) for an interface.
Use undo mtu to restore the default.
Syntax
mtu size
undo mtu
Default
The MTU of an interface is 1500 bytes.
Views
Eth-channel interface view
Predefined user roles
network-admin
Parameters
size: Sets the MTU in bytes. The value range for the size argument is 128 to 2000.
Examples
# Set the MTU for Eth-channel 1/0/6:0 to 1430 bytes.
<Sysname> system-view
[Sysname] interface eth-channel 1/0/6:0
[Sysname-Eth-channel1/0/6:0] mtu 1430
reset counters interface
Use reset counters interface to clear statistics on the specified or all Eth-channel interfaces.
Syntax
reset counters interface [ eth-channel [ channel-id ] ]
Views
User view
Predefined user roles
network-admin
Parameters
eth-channel [ channel-id ]: Specifies Eth-channel interfaces or an Eth-channel interface by its number. If you do not the eth-channel keyword, the command clears statistics on all interfaces. If you specify the eth-channel keyword but not the channel-id argument, this command clears statistics on all Eth-channel interfaces. If you specify both the eth-channel keyword and the channel-id argument, this command clears statistics on the specified Eth-channel interface.
Usage guidelines
Use this command to clear history statistics if you want to collect traffic statistics for a specific period.
Examples
# Clear statistics on Eth-channel 1/0/6:0.
<Sysname> reset counters interface eth-channel 1/0/6:0
shutdown
Use shutdown to shut down an Eth-channel interface.
Use undo shutdown to bring up an Eth-channel interface.
Syntax
shutdown
undo shutdown
Default
An Eth-channel interface is up.
Views
Eth-channel interface view
Predefined user roles
network-admin
Examples
# Shut down Eth-channel 1/0/6:0.
<Sysname> system-view
[Sysname] interface eth-channel 1/0/6:0
[Sysname-Eth-channel1/0/6:0] shutdown