Documente Academic
Documente Profesional
Documente Cultură
V200R007
Issue 09
Date 2019-05-24
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and the
customer. All or part of the products, services and features described in this document may not be within the
purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information,
and recommendations in this document are provided "AS IS" without warranties, guarantees or
representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
Website: http://e.huawei.com
Intended Audience
This document provides the basic concepts, configuration procedures, and configuration
examples of the interfaces supported by the device.
This document is intended for:
l Data configuration engineers
l Commissioning engineers
l Network monitoring engineers
l System maintenance engineers
Symbol Conventions
The symbols that may be found in this document are defined as follows.
Symbol Description
Symbol Description
Command Conventions
The command conventions that may be found in this document are defined as follows.
Convention Description
Security Conventions
l Password setting
Declaration
l This manual is only a reference for you to configure your devices. The contents in the
manual, such as web pages, command line syntax, and command outputs, are based on
the device conditions in the lab. The manual provides instructions for general scenarios,
but do not cover all usage scenarios of all product models. The contents in the manual
may be different from your actual device situations due to the differences in software
versions, models, and configuration files. The manual will not list every possible
difference. You should configure your devices according to actual situations.
l The specifications provided in this manual are tested in lab environment (for example,
the tested device has been installed with a certain type of boards or only one protocol is
run on the device). Results may differ from the listed specifications when you attempt to
obtain the maximum values with multiple functions enabled on the device.
l In this document, public IP addresses may be used in feature introduction and
configuration examples and are for reference only unless otherwise specified.
l In this document, AR series access routers include
AR100&AR120&AR150&AR160&AR200&AR1200&AR2200&AR3200&AR3600
Series.
Change History
Changes between document issues are cumulative. Therefore, the latest document version
contains all updates made to previous versions.
Contents
11.3.1 Using Links of 3G Cellular Interfaces as Primary Links to Connect to the Internet.............................................131
11.3.2 Using Links of 3G Cellular Interfaces as Backup Links to Connect to the Internet............................................. 135
11.3.3 Preparations........................................................................................................................................................... 136
11.3.4 Searching and Selecting a PLMN..........................................................................................................................137
11.3.5 (Optional) Selecting Frequency Bands.................................................................................................................. 138
11.3.6 Configuring a Network Connection Mode............................................................................................................ 139
11.3.7 Configuring a Dial-up Connection (Single-APN Scenario).................................................................................. 140
11.3.8 Configuring a Dial-up Network Connection (Multi-APN Scenario).....................................................................144
11.3.9 Configuring PIN Management...............................................................................................................................147
11.3.10 (Optional) Configuring the Function of Receiving and Sending SMS Messages............................................... 149
11.3.11 (Optional) Configuring the SMS Alarm Function............................................................................................... 151
11.3.12 Checking the Configuration.................................................................................................................................152
11.4 Configuring a 3G Cellular Interfaces in Compliance with the CDMA2000 Standard.............................................153
11.4.1 Preparations........................................................................................................................................................... 153
11.4.2 Configuring a Network Connection Mode............................................................................................................ 153
11.4.3 Configuring a Dial-up Network Connection......................................................................................................... 155
11.4.4 Configuring PIN Management...............................................................................................................................158
11.4.5 Checking the Configuration...................................................................................................................................160
11.5 Maintaining 3G Cellular Interfaces.......................................................................................................................... 160
11.5.1 Restarting a 3G Modem Manually.........................................................................................................................160
11.5.2 Automatically Restarting a 3G Modem................................................................................................................. 161
11.5.3 Restarting a 3G Modem After Several Consecutive Dial-up Failures...................................................................161
11.5.4 Using an NQA Test Instance to Detect a 3G Link.................................................................................................161
11.5.5 Clearing Statistics on a 3G Cellular Interface....................................................................................................... 162
11.5.6 Enabling the WWAN Log Function.......................................................................................................................163
11.6 Configuration Examples........................................................................................................................................... 164
11.6.1 Example for Configuring a Link of a 3G Cellular Interface as the Primary Link to Connect to the Internet
(WCDMA Network).........................................................................................................................................................164
11.6.2 Example for Configuring a Link of a 3G Cellular Interface as the Primary Link to Connect to the Internet
(CDMA2000 Network).....................................................................................................................................................169
11.6.3 Example for Configuring a Branch to Access the Internet Using a 3G Cellular Interface and Establishing an
IPSec Tunnel Between Headquarters and Branch Using an IPSec Policy Template....................................................... 173
11.6.4 Example for Configuring an Enterprise to Use a G.SHDSL Interface as the Primary Interface and a 3G Interface
as the Backup Interface to Access the Internet ................................................................................................................178
11.6.5 Example for Configuring a 3G Cellular Interface as the Primary INerface and Another 3G Cellular Interface as
the Backup Interface to Connect to the Internet............................................................................................................... 183
11.6.6 Example for Configuring a Branch to Use 3G Cellular Interfaces for Internet Access and VoIP Communication
.......................................................................................................................................................................................... 187
11.7 Common Configuration Errors................................................................................................................................. 191
11.7.1 Users on a 3G Cellular Interface Fails to Be Authenticated Because the Authentication Configuration Is Incorrect
.......................................................................................................................................................................................... 191
11.7.2 Dial-up Fails After a 3G Cellular Interface Is Configured with a Fixed IP Address in 3G+IPSec Scenario........192
11.8 FAQ...........................................................................................................................................................................193
11.8.1 How Do I Locate the Cause for a 3G Dial-up Access Failure?.............................................................................193
11.8.2 Why Cannot a 3G Dial-up Connection Be Established Immediately When the 3G Link Is Used as the Backup
Link?................................................................................................................................................................................. 194
11.8.3 Why Is the 3G Link Frequently Disconnected When the 3G Cellular Interface Is Used for Network Access?... 194
11.8.4 Why Does the SIM, USIM, or UIM Card Fail to Work After Being Installed on the Device?.............................195
This document provides only configuration of service and logical interfaces. For the configuration
of management interfaces, see the Huawei AR Series Access Routers Configuration Guide --
Basic Configurations.
Table 1-1 describes the management interfaces.
mini Complies with the USB 1.0 The mini USB interface is connected
USB standard. to the USB interface of a PC through
interface a mini USB cable to set up an on-
site configuration environment.
NOTE
At any time, only one of the console interface and mini USB interface of a router can be
used as the serial interface. By default, the console interface is used as the serial interface of
the router.
– Service interfaces
Service interfaces transmit services and are classified into the following types:
n LAN-side interface: used by routers to exchange data with network devices on
LANs.
n WAN-side interface: used by routers to exchange data with devices on external
networks.
Table 1-2 describes the service interfaces that the router supports.
NOTE
Service interfaces are sometimes called ports. This document uses the term interface.
l Logical interfaces
Logical interfaces are manually configured and do not physically exist. They can be used
to exchange data and transmit service data.
Table 1-3 describes the logical interfaces that the router supports.
Interface Description
Interface Description
NULL interface A null interface is used to filter routes because any data
packets received by the null interface are discarded.
Bridge interface A bridge interface has Layer 3 features and enables users on
different network segments on a transparent bridge to
communicate after being assigned an IP address.
l Slot ID
The slot ID identifies in which slot a card is installed.
– The SRU slot is 0.
– When slots need to be combined into one slot, the larger slot ID is used as the new
slot ID. For example, when slot 1 and slot 2 are combined, slot ID 2 is used as the
new slot ID.
l Subcard ID
The subcard ID specifies the ID of a subcard. The AR router does not support subcards.
Therefore, the subcard ID of the AR router is always 0.
l Interface sequence number
The interface sequence number indicates the number of each interface on a card.
– If there is only one row of interfaces on a card
n For AR120&AR160 series, AR1200 series, AR2200 series, AR3200 and
AR3600 series, these interfaces are numbered from left to right starting with 0.
0 1 2 3
n For AR150&AR200 series, these interfaces are numbered from right to left
starting with 0.
3 2 1 0
0 2 4 6 8 10
n For AR150&AR200 series, these interfaces are numbered from bottom to top
and right to left starting with 0.
9 7 5 3 1
8 6 4 2 0
License Support
Basic interface is a basic capability of an AR router and is not under license control.
Context
To configure an interface, enter the interface view.
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface interface-type interface-number
----End
Context
To facilitate device management and maintenance, you can configure descriptions for
interfaces. An interface description can contain the device where the interface is located,
interface type, and remote device. For example: To-[DeviceB]Eth-2/0/0 indicates that an
interface of this device is connected to Eth2/0/0 of device B.
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface interface-type interface-number
Step 3 Run:
description description
----End
Context
The bandwidth command mainly ensures that the network management system (NMS) can
acquire the bandwidth of an interface. The NMS can check the interface bandwidth through
the two objects ifSpeed and ifHighSpeed in IF-MIB.
l If the configured bandwidth is smaller than 4000 Mbit/s, ifSpeed and ifHighSpeed are
respectively displayed as bandwidth x 1000 x 1000 and bandwidth.
l If the configured bandwidth is equal to or larger than 4000 Mbit/s, ifSpeed and
ifHighSpeed are respectively displayed as 4294967295 (0XFFFFFFFF) and bandwidth.
Procedure
l Run:
system-view
----End
l The interval set in the system view takes effect on all the interfaces that use the default interval.
l The interval set in the interface view takes effect only on this interface.
l The interval set in the interface view takes precedence over the interval set in the system view.
l The new interval takes effect after the original interval expires. Traffic statistics on logical interfaces
are displayed in the second periodical update after the new interval takes effect. Traffic statistics on
physical interfaces are displayed when the new interval takes effect.
Procedure
l Configure the global traffic statistics collection interval in the system view.
a. Run:
system-view
Context
After modifying parameters of an interface, run the shutdown and undo shutdown
commands, or run the restart command to make the modification take effect.
When an interface is not connected to a cable or a fiber, disable the interface using the
shutdown command to prevent exceptions caused by interference.
NOTE
l Running the shutdown and undo shutdown commands is equivalent to running the restart
command. Running the shutdown command does not modify or delete interface configurations..
l A NULL interface is always Up and cannot be enabled or disabled by commands.
l Virtual template interfaces do not support the shutdown and undo shutdown commands.
Procedure
l Disable an interface.
a. Run:
system-view
----End
Procedure
l Run the display interface [ interface-type [ interface-number ] ] command to check
information about an interface, including interface running status, basic interface
configuration, and packet forwarding on the interface.
l Run the display interface brief [ main ] command to check brief information about
interfaces, including the physical status, protocol status, bandwidth usage in the inbound
and outbound directions during a certain period, and the number of error packets sent
and received.
l Run the display ip interface [ interface-type interface-number ] command to check the
IP configuration of an interface.
l Run the display default-parameter interface interface-type interface-number command
to check the default configuration of an interface.
l Run the display interface description [ interface-type [ interface-number ] ] command
to check the description of an interface.
l Run the display interface [ interface-type ] counters { inbound | outbound } command
to check statistics about packets received and transmitted on a physical interface.
----End
Context
To monitor the status of an interface or locate faults on the interface, collect traffic statistics
on the interface. Before collecting traffic statistics on an interface within a period, clear the
existing traffic statistics on this interface.
Interface statistics cannot be restored after they are cleared. Confirm your action before you
perform the operations.
Procedure
l Run the reset counters interface [ interface-type [ interface-number ] ] command to
clear the interface statistics.
l Run the reset counters if-mib interface [ interface-type [ interface-number ] ] command
to clear traffic statistics on the network management interface.
----End
Ethernet is flexible, simple, and easy to implement, and therefore it becomes an important
local area network (LAN) networking technology. You need to configure Ethernet interfaces
when using Ethernet technology to establish LANs.
The following Ethernet interfaces are provided on a device to meet network requirements:
l Layer 2 Ethernet interface: a physical interface that works at the data link layer and
cannot be assigned an IP address. It is used to forward Layer 2 packets and can be added
to a VLAN to forward Layer 3 packets through a VLANIF interface.
l Layer 3 Ethernet interface: a physical interface that works at the network layer and can
be assigned an IP address. It has the routing function to forward packets across network
segments (Layer 3 forwarding).
The following Ethernet interfaces support to switch from the Layer 2 mode to the Layer 3
mode:
100 Full/Half-
duplex
100 Full/Half-
duplex
1000 Full-duplex
NOTE
100 Full/Half-
duplex
100 Full/Half-
duplex
1000 Full-duplex
License Support
Ethernet Interface is a basic capability of an AR router and is not under license control.
An interface on the 4GE-2S, 9ES2, 4ES2G-S or 4ES2GP-S card cannot be isolated from an
interface on other cards.
Context
To perform the same configuration on multiple Ethernet interfaces, add these Ethernet
interfaces to a port group and run commands in the port group view to configure the Ethernet
interfaces in batches. This reduces the configuration workload.
If you exit from a temporary port group view, the system automatically deletes the group.
Procedure
l Configuring a permanent port group
a. Run:
system-view
A permanent port group is created, and the port group view is displayed.
c. Run:
group-member { interface-type interface-number1 [ to interface-type
interface-number2 ] } &<1-5>
A temporary port group is created, and the port group view is displayed.
----End
Context
Twisted pairs used to connect Ethernet devices include:
An interface supports the following medium dependent interface (MDI) types, which
determine the cable type allowed on the interface:
l Auto
l Normal
l Across
By default, an interface works in auto mode. When the device fails to identify the network
cable type on an interface, set the MDI type manually.
When setting the MDI type on an interface, pay attention to the following points:
l When a straight-through cable is used, the local and remote interfaces must use different
MDI types, for example, across mode on one end and normal mode on the other end.
l When a crossover cable is used, the local and remote interfaces must use the same MDI
type. For example, both ends must use the across or normal mode, or at least one end
uses the auto mode.
Procedure
Step 1 Run:
system-view
----End
Context
NOTE
The AR120 series, AR161, AR161W, AR161EW, AR161EW-M1, AR161G-L, AR161G-Lc, AR161G-U,
AR169, AR169W, AR169EW, AR169CVW, AR169EGW-L, AR169CVW-4B4S, AR169G-L, AR169-P-M9,
AR169W-P-M9, AR169RW-P-M9 do not support the VCT configuration.
Interfaces on the 4GE-2S cards do not support the VCT configuration.
Virtual cable test (VCT) technology uses time domain reflectometry (TDR) to detect the cable
status. When a pulse is transmitted to the end of a cable or a failure point in the cable, some
pulse energies are reflected to the transmitting end. The VCT algorithm measures the time
spent on transmitting pulses over a cable, reaching a failure point, and returning the pulses.
The measured time is converted to the distance.
VCT can detect the fault type of a network cable and identify failure points to help locate
network cable faults.
Procedure
Step 1 Run:
system-view
NOTE
l The test result is only for reference and may be inaccurate for cables from some vendors.
l Running the virtual-cable-test command may affect services on the interface in a short period of
time.
l Combo electrical interfaces support VCT.
l Before performing a virtual cable test, shut down the remote interface or remove the network cable
between the local and remote interfaces. Otherwise, signals from the remote interface may make the
test result inaccurate.
----End
Context
The auto-negotiation function allows interfaces on both ends of a link to select the same
operating parameters by exchanging capability information. The parameters include the
duplex mode and rate. When the negotiation succeeds, the two interfaces use the same duplex
mode and work at the same rate. In non-auto-negotiation mode, the operating parameters must
be set manually.
For details about the auto-negotiation configuration supported by Ethernet interfaces, see 2.1
Ethernet Interface Overview.
NOTE
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface interface-type interface-number
NOTE
The interfaces on both ends of a link must have the same negotiation mode.
----End
Context
For details about the duplex modes that various Ethernet interfaces support, see 2.1 Ethernet
Interface Overview.
l Half-duplex mode: An Ethernet interface only receives or sends data within the specified
maximum transmission distance at a time.
l Full-duplex mode: An Ethernet interface receives and sends data at the same time. The
maximum throughput in the full-duplex mode doubles that in the half-duplex mode, and
there is no limit on the maximum transmission distance.
You can set the duplex mode for an Ethernet electrical interface in either the auto-negotiation
or non-auto negotiation mode.
l In auto-negotiation mode, interfaces on both ends of a link negotiate their duplex mode.
If the negotiated duplex mode is not the required one, you can set the duplex mode
manually. For example, two interfaces support both the full-duplex mode and half-
duplex mode. If the two interfaces negotiate to work in half-duplex mode, but they are
required to work in full-duplex mode, run the auto duplex full command to set the full-
duplex mode for the two interfaces.
l In non-auto negotiation mode, you can manually set the required duplex mode for
interfaces.
NOTE
The two ends of a link can communicate only when they have the same duplex mode. The device will prompt
the corresponding information when the interface do not support the duplex mode configuration, which are
subject to the actual situation.
Procedure
l Setting the duplex mode in auto-negotiation mode
a. Run:
system-view
The duplex mode in auto-negotiation mode is set for the Ethernet interface.
By default, interfaces on both ends of a link negotiate their duplex mode.
l Setting the duplex mode in non-auto negotiation mode
a. Run:
system-view
Context
For details about the rates that various Ethernet interfaces support, see 2.1 Ethernet Interface
Overview.
You can set the interface rate in either the auto-negotiation or non-auto negotiation mode.
l In auto-negotiation mode, interfaces on both ends of a link negotiate their interface rates.
You can set the auto-negotiation rate range to limit the negotiated rate. For example, if
two interfaces negotiate to work at a rate of 100 Mbit/s, but they are required to work at
a rate of 10 Mbit/s to prevent network traffic congestion, you can run the auto speed 10
command to set the rate of the interfaces to 10 Mbit/s.
l In non-auto negotiation mode, you must set the rate for interfaces so that the two devices
can communicate.
NOTE
l The interfaces on both ends of a link must have the same rate. If the Configuration failed, the device
will prompt the corresponding information, which are subject to the actual situation.
Procedure
l Configuring interface rate in auto-negotiation mode
a. Run:
system-view
Procedure
l Configuring the flow control function
a. Run:
system-view
NOTE
Flow control takes effect when the flow control function is enabled for interfaces on both
ends of a link.
The GE interfaces on the AR2201-48FE, AR2202-48FE, AR2204-48GE-P, AR2204-51GE-
P, AR2204-24GE, AR2204-27GE-P, AR2204-27GE, AR2204E, and AR2204 do not support
flow control.
l Configuring flow control auto-negotiation for GE interfaces
a. Run:
system-view
NOTE
Flow control auto-negotiation takes effect only when the function is enabled for interfaces
on both ends of a link.
----End
The inter-frame gap (IFG) differentiates two data packets. Setting a proper IFG can adjust
data packet forwarding efficiency.
Procedure
Step 1 Run:
system-view
----End
Context
The bandwidth usage represents the load on a device. If the bandwidth usage exceeds the
threshold, bandwidth of the device is insufficient for services and needs expansion. For
example, if the bandwidth usage exceeds 95%, an alarm is generated to indicate that
bandwidth resources are used up. Services may be interrupted before system expansion. You
can set the upper and lower thresholds for bandwidth usage. When the bandwidth usage
exceeds the lower threshold, the system generates a log. When the bandwidth usage exceeds
the upper threshold, the system triggers an alarm.
The lower threshold must be smaller than the upper threshold. For example, you can set the
lower threshold to 80% and the upper threshold to 95%. When the bandwidth usage exceeds
80%, the system generates a log, alerting users that the system needs expansion. When the
bandwidth usage exceeds 95%, the system generates an alarm to prevent service interruption.
Procedure
Step 1 Run:
system-view
The log thresholds for the outbound or inbound bandwidth usage on the interface are
configured.
By default, the log thresholds of the outbound and inbound bandwidth usage are both 100.
NOTE
Maintain a proper gap between the bandwidth-in-use and resume-threshold values to prevent log flapping.
Step 4 Run:
trap-threshold { input-rate | output-rate } bandwidth-in-use [ resume-rate resume-
threshold ]
The alarm thresholds for the outbound or inbound bandwidth usage on the interface are
configured.
By default, the alarm thresholds of the outbound and inbound bandwidth usage are both 100.
NOTE
Maintain a proper gap between the bandwidth-in-use and resume-threshold values to prevent alarm flapping.
----End
Procedure
l Run the display interface [ interface-type [ interface-number ] ] command to check
information about an interface, including interface running status, basic interface
configuration, and packet transmitted through the interface.
l Run the display interface brief command to check brief information about interfaces,
including the physical status, protocol status, bandwidth usage in the inbound and
outbound directions during a certain period of time, and the number of error packets sent
and received on each interface.
l Run the display interface description [ interface-type [ interface-number ] ] command
to check the interface description.
l Run the display interface ethernet brief command to check brief information about
Ethernet interfaces, including the physical status, negotiation mode, duplex mode, rate,
and average bandwidth usage in the inbound and outbound directions on each interface
within the last period of time.
l Run the display port-isolate group { group-id | all } command to check information
about interface isolation groups.
l Run the display error-down recovery [ interface interface-type interface-number ]
command to check information about an error-down interface.
----End
Context
Due to hardware restrictions of interface cards, some Ethernet interfaces work in only Layer 2
or Layer 3 mode, whereas other Ethernet interfaces can work in both Layer 2 and Layer 3
modes. An Ethernet interface works as a Layer 2 interface in Layer 2 mode and a Layer 3
interface in Layer 3 mode.
NOTE
Eth0/0/0 to Eth0/0/3 on the AR120&AR150 series can be changed from Layer 2 mode to Layer 3 mode.
GE0/0/0 to GE0/0/3 on the AR160 series can be changed from Layer 2 mode to Layer 3 mode.
Eth0/0/0 to Eth0/0/7 on the AR200 series, AR1220, AR1220V, AR1220W, AR1220VW, and AR1220F can
be changed from Layer 2 mode to Layer 3 mode.
GE0/0/0 to GE0/0/7 on the AR1220C, AR1220-8GE, AR1220E, AR1220EV, and AR1220EVW can be
changed from Layer 2 mode to Layer 3 mode.
Eth0/0/0 and Eth0/0/47 on the AR2201-48FE and AR2202-48FE can be changed from Layer 2 mode to Layer
3 mode.
GE0/0/3 to GE0/0/50 on the AR2204-48GE-PAR2204-51GE-P can be changed from Layer 2 mode to Layer
3 mode.
GE0/0/3 to GE0/0/26 on the AR2204-24GE, AR2204-27GE-P and AR2204-27GE can be changed from
Layer 2 mode to Layer 3 mode.
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface { ethernet | gigabitethernet } interface-number
Step 3 Run:
undo portswitch
When you run this command on an interface, the mode switching configuration takes effect
when only attribute configurations (such as shutdown and description configurations) exist
on the interface. If service configurations (such as the port link-type trunk configuration)
exist on the interface, you need to clear all service configurations before running this
command.
NOTE
IP addresses can be assigned to Ethernet interfaces in Layer 3 mode. Only Ethernet interfaces that are
switched from Layer 2 mode to Layer 3 mode can be switched back to Layer 2 mode using the
portswitch command. Other Layer 3 Ethernet interfaces cannot be switched to Layer 2 mode.
----End
Context
NOTE
Table 2-4 describes the interface isolation methods and application scenarios.
Configure l When multiple hosts connect to different interfaces of the same device and
unidirectio a host with security risks sends many broadcast packets to the other hosts,
nal isolate the host from the other hosts unidirectionally to prevent the other
isolation hosts from receiving packets from this host.
on l Interfaces in an interface isolation group are isolated from each other, but
interfaces interfaces in different interface isolation groups can communicate. To
isolate interfaces in different interface isolation groups, configure
unidirectional isolation between these interfaces.
Configure To implement Layer 2 isolation between interfaces, you can add interfaces to
an different VLANs. This, however, wastes VLAN resources. Interface isolation
interface can also isolate interfaces in the same VLAN. You can add interfaces to an
isolation interface isolation group to implement Layer 2 isolation between these
group interfaces. Interface isolation provides secure and flexible networking
schemes for customers.
Procedure
l Configuring unidirectional isolation on interfaces
a. Run:
system-view
NOTE
NOTE
Interfaces in an interface isolation group are isolated from each other, but interfaces in
different interface isolation groups can communicate. If group-id is not specified, interfaces
are added to interface isolation group 1.
----End
Context
The size of data packets is limited at the network layer. Upon receiving an IP packet to be
sent, the network layer checks to which local interface the packet needs to be sent and obtains
the maximum transmission unit (MTU) configured on the interface. Then the network layer
compares the MTU with the packet length. If the packet length is longer than the MTU, the
network layer disassembles the packet to fragments, each no longer than the MTU.
l If the MTU is too small whereas the packet size is large, the packet is split into many
fragments. Therefore, the packet may be discarded due to insufficient QoS queue length.
l If the MTU is too large, packets are transmitted slowly or even lost.
Procedure
Step 1 Run:
system-view
----End
Context
The MAC address of an Ethernet interface is the system MAC address and may conflict with
the MAC address of another interface. If the MAC address of an Ethernet interface conflicts
with that of another interface, a loop may occur or traffic may fail to be forwarded.
You can run the mac-address command to change the MAC address of the Ethernet interface
to ensure that service data flows are properly forwarded.
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface interface-type interface-number
Step 3 Run:
mac-address mac-address
By default, the MAC address of an Ethernet interface is the system MAC address.
----End
Context
If a combo interface is forcibly configured to work in a different mode from the remote
interface, the two interfaces cannot communicate.
A combo interface can not be changed from Layer 3 mode to Layer 2 mode.
Combo interfaces are logic interfaces. One combo interface can work as a GE electrical
interface or a GE optical interface. Each combo interface has only one internal forwarding
interface. When the electrical interface is enabled, the optical interface is disabled. When the
optical interface is enabled, the electrical interface is disabled. Set the working mode of
combo interfaces according to network requirements. The electrical and optical interfaces of a
combo interface use the same interface view. You can enable the electrical or optical interface,
and configure interface attributes such as the rate and duplex mode in the same interface view.
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface gigabitethernet interface-number
Step 3 Run:
combo-port { auto | copper | fiber }
By default, a combo interface works as an electrical interface and transmits data using a
network cable.
----End
Context
A combo interface on a router is connected to an Ethernet interface that supports the clock
function on the peer end. To exchange data successfully, interfaces on the two communicating
parties must work in clock synchronization state.
When a router is connected to an Ethernet interface on the peer end and both the connected
interfaces support the clock function, you must configure the interfaces to work in master and
slave clock modes respectively.
l When you manually specify the clock modes of the two interfaces, you must configure
one interface to work in master clock mode and the other in slave clock mode.
l When you manually specify the clock mode of an interface and configure the other
interface to automatically select the clock mode, the other interface will automatically
select the clock mode opposite to the specified the clock mode of the peer interface.
l When you configure both the interfaces to automatically select the clock mode, the
interfaces will select different clock modes.
NOTE
Only the Ethernet electrical interface (with the rate of 1000 Mbit/s) on the 4GECS interface card supports the
clock mode configuration. Before performing this task, verify that the combo interface works in electrical
mode and its interface rate is 1000 Mbit/s.
Procedure
Step 1 Run:
system-view
----End
Context
l After the loopback detection is enabled on an interface using the loopback command, the
Ethernet interface or link on the interface cannot function properly. When the loopback
detection test is complete, run the undo loopback command to disable it immediately.
Loopback detection needs to be enabled for special function testing, for example, Ethernet
interface diagnosis. When loopback detection is enabled on an Ethernet interface, the
interface works in the full-duplex mode. When loopback detection is disabled, the interface
restores to the default configuration.
Type Description
Hardware Connect the transmit and receive ends with a cable to form a loop so that
loopback the device receives the signals sent by itself.
NOTE
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface interface-type interface-number
Step 3 Run:
loopback internal
----End
Context
To monitor the status of an interface or locate faults on the interface, collect traffic statistics
on the interface. Before collecting traffic statistics on an Ethernet interface, clear the existing
traffic statistics on this interface.
Interface statistics cannot be restored after they are cleared. Confirm your action before you
perform the operations.
Procedure
l Run the reset counters interface [ interface-type [ interface-number ] ] command to
clear interface statistics.
l Run the reset counters if-mib interface [ interface-type [ interface-number ] ] command
to clear statistics on the network management interface.
----End
Networking Requirements
As shown in Figure 2-1, PC1, PC2, and PC3 are connected to LAN-side interfaces such as
Ethernet2/0/0, Ethernet2/0/1, and Ethernet2/0/2 of the RouterA and connect to the Internet
using an uplink.
PC1, PC2, and PC3 work at a rate of 100 Mbit/s, and WAN-side interface Ethernet1/0/0
connecting to the Internet also works at a rate of 100 Mbit/s. In auto-negotiation mode,
Ethernet interfaces on both ends of a link negotiate their rate. The negotiated rate may be any
rate supported by Ethernet interfaces. If the auto-negotiation rate range is not specified, the
rate negotiated between interfaces (Ethernet2/0/0, Ethernet2/0/1, and Ethernet2/0/2) and PCs
(PC1, PC2, and PC3) is 100 Mbit/s. This may cause congestion on outbound interface
Ethernet1/0/0.
Figure 2-1 Network diagram for configuring the auto-negotiation rate range
IP Network
Router
Ethernet1/0/0
RouterA
Ethernet2/0/0 Ethernet2/0/2
Ethernet2/0/1
Configuration Roadmap
The configuration roadmap is as follows:
# By setting the auto-negotiation rate range, you can configure Ethernet interfaces to negotiate
their rate within the specified range.
Procedure
Step 1 Configure the auto-negotiation function.
# Configure the auto-negotiation function on Ethernet2/0/0.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] interface ethernet 2/0/0
[RouterA-Ethernet2/0/0] negotiation auto
[RouterA-Ethernet2/0/0] quit
----End
Configuration Files
Only the configuration file of RouterA is provided here.
#
sysname RouterA
#
interface Ethernet2/0/0
auto speed 10
#
interface Ethernet2/0/1
auto speed 10
#
interface Ethernet2/0/2
auto speed 10
#
return
Ethernet2/0/0 Ethernet2/0/2
Ethernet2/0/1
Configuration Roadmap
The configuration roadmap is as follows:
# By default, interfaces are isolated at Layer 2 but can communicate at Layer 3. You can add
interfaces to an isolation group to implement Layer 2 isolation between these interfaces.
Procedure
Step 1 Configure interface isolation.
----End
Configuration Files
Configuration file of Huawei
#
sysname Huawei
#
interface Ethernet2/0/0
port link-type access
port default vlan 10
port-isolate enable group 1
#
interface Ethernet2/0/1
port link-type access
port default vlan 10
port-isolate enable group 1
#
interface Ethernet2/0/2
port link-type access
port default vlan 10
#
return
Fault Description
An interface frequently alternates between Up and Down.
Troubleshooting Procedure
1. Run the
display interface [ interface-type [ interface-number ] ]
command to check the duplex mode, speed, and negotiation mode of the interface.
– View the Negotiation field.
i. ENABLE: indicates that the interface works in auto-negotiation mode.
ii. DISABLE: indicates that the interface works in non-auto negotiation mode.
The two interfaces must work in the same negotiation mode. Run the negotiation
auto command in the interface view to enable auto negotiation on the interfaces. If
the fault persists, disable auto negotiation and forcibly set the same speed and
duplex mode on the interfaces.
– View the Speed field. If the two interfaces work at different speeds in the non-auto
negotiation state, run the speed command in the interface view to set the same rate
on the two interfaces.
– View the Duplex field. If the two interfaces work in different duplex modes in non-
auto negotiation mode, run the duplex command in the interface view to set the
same duplex mode on the two interfaces.
This problem may also occur when the network cable is loose.
2.11.3 Can the Combo Interface on the SRU Connect to the 100M
Optical Module?
Yes, the combo interface on the SRU can connect to the 100M optical module. When the
combo interface on the SRU connects to the 100M optical module, it does not support auto-
negotiation mode, so the peer device must use the 100M optical module and the peer interface
must be manually configured to work in full duplex mode.
This section describes basic concepts and configuration procedures of serial interfaces.
3.1 Serial Interface Overview
Serial interfaces are widely used wide area network (WAN) interfaces and can work in
synchronous or asynchronous mode. Therefore, serial interfaces are also called synchronous/
asynchronous serial interfaces.
3.2 Configuration Notes
This section describes specifications of serial interfaces.
3.3 Application
3.4 Default Configuration
This section describes the default settings of the serial interfaces.
3.5 Synchronous Serial Interface Configuration
Configuring a synchronous serial interface includes setting physical and link layer parameters
for the synchronous serial interface.
3.6 Configuring an Asynchronous Serial Interface
Configuring an asynchronous serial interface includes setting the working mode and
parameters for the asynchronous serial interface.
3.7 Configuration Examples
This section provides several serial interface configuration examples, including network
requirements, configuration roadmap, configuration procedure, and configuration files.
3.8 FAQ About Basic Interfaces
NOTE
Serial interfaces on 1SA/2SA interface cards do not support automatic detection of clock synchronization
when they work in synchronous mode. If clocks of the local and remote devices are not synchronized,
configure inversion of clock signals.
l Protocol mode
– In protocol mode, serial interfaces on both ends establish a link based on the
existing link layer protocol parameters after a physical connection is established
between them.
– The link layer protocol is PPP.
– The network layer protocol is IP.
l Flow mode
– In flow mode, serial interfaces on both ends interact with each other, the local
interface sends configuration information to the remote interface to set physical
layer protocol parameters for the remote interface, and then the two interfaces
establish a link based on the configured parameters.
– In flow mode, the link layer protocol and network layer protocol (IP) are not
supported.
License Support
None
The serial interface on the AR162F and the main control board of AR2202-48FE can work
only in synchronous mode and function as only a DTE interface.
3.3 Application
Serial1/0/0 Serial1/0/0
Branch Transmission Headquarters
network
RouterA RouterB
Pre-configuration Tasks
Before configuring a synchronous serial interface, complete the following task:
l Installing an 1SA, 2SA, or 8SA interface card on the device and ensuring that it is
registered successfully; or power on the AR162F and AR2202-48FE and ensure that
their self-tests are successful
Procedure
l Setting physical attributes for a synchronous serial interface functioning as a DTE
interface
NOTE
Step 7 and Step 8 can not be configured on the same serial interface.
a. Run:
system-view
The virtual baud rate is set for the synchronous serial interface.
By default, the virtual baud rate of a synchronous serial interface is 64000 bit/s.
e. Run:
The clock mode is set for a synchronous serial interface on the DTE.
By default, the clock mode of a synchronous serial interface is dteclk1 on the DTE.
f. Run:
invert transmit-clock
The device is configured to invert clock signals received by the synchronous serial
interface.
By default, clock signals received by a synchronous serial interface are not inverted.
h. Run:
invert receive-clock auto
Detection of DSR and DTR signals is enabled on the synchronous serial interface.
By default, detection of DSR and DTR signals is enabled on a synchronous serial
interface.
j. Run:
detect dcd
The device is configured to invert RTS signals of the synchronous serial interface.
By default, RTS signals of a synchronous serial interface are not inverted.
l Setting physical attributes for a synchronous serial interface functioning as a DCE
interface
NOTE
Step 7 and Step 8 can not be configured on the same serial interface.
a. Run:
system-view
By default, the virtual baud rate of a synchronous serial interface is 64000 bit/s.
e. Run:
clock dce { dceclk1 | dceclk2 | dceclk3 }
The clock mode is set for a synchronous serial interface on the DCE.
By default, the clock mode of a synchronous serial interface is dceclk1 on the DCE.
f. Run:
invert transmit-clock
The device is configured to invert clock signals received by the synchronous serial
interface.
By default, clock signals received by a synchronous serial interface are not inverted.
h. Run:
invert receive-clock auto
By default, clock signals received by a synchronous serial interface are not inverted.
i. Run:
detect dsr-dtr
Detection of DSR and DTR signals is enabled on the synchronous serial interface.
k. Run:
reverse-rts
The device is configured to invert RTS signals of the synchronous serial interface.
By default, RTS signals of a synchronous serial interface are not inverted.
----End
Procedure
Step 1 Run:
system-view
PPP is configured as the link layer protocol of the synchronous serial interface.
l Run:
link-protocol fr [ ietf | nonstandard ]
HDLC is configured as the link layer protocol of the synchronous serial interface.
l Run:
link-protocol x25 [ dte | dce ] [ ietf | nonstandard ]
The X.25 protocol is configured as the data link layer protocol of the interface.
l Run:
link-protocol lapb [ dte | dce ] [ ip | multi-protocol ]
Step 5 Run:
code { nrz | nrzi }
The encoding and decoding mode is set for the synchronous serial interface.
The default encoding and decoding mode of a synchronous serial interface is NRZ.
Step 6 Run:
crc { 16 | 32 | none }
The CRC check mode is set for the synchronous serial interface.
By default, a synchronous serial interface uses the 16-bit CRC check mode.
Step 7 Run:
idlecode { 7e | ff }
The line idle code is set for the synchronous serial interface.
By default, a synchronous serial interface uses the line idle code 0x7e.
Step 8 Run:
itf number number
The number of interframe filling tags is set for the synchronous serial interface.
Step 9 Run:
mtu mtu
----End
Procedure
l Run the display interface serial [ interface-number ] command to check the
configuration and status of the serial interface.
l Run the display interface brief command to check brief information about the serial
interface.
l Run the display ip interface brief serial [ interface-number ] command to check the
network layer configuration of the serial interface.
----End
Applicable Environment
To transmit upper-layer data services on an asynchronous serial interface, set the working
mode and parameters for the interface to ensure that its physical layer status and link layer
status are Up.
Parameters of an asynchronous serial interface have default values. To modify these
parameters, perform the following steps.
Pre-configuration Tasks
Before configuring an asynchronous serial interface, complete the following task:
l Installing an 1SA, 2SA, or 8SA interface card on the device and ensuring that it is
registered successfully; or power on the AR162F and ensure that their self-tests are
successful
Procedure
Step 1 Run:
system-view
Detection of Data Set Ready (DSR) and Data Terminal Ready (DTR) signals is enabled on the
asynchronous serial interface.
By default, detection of DSR and DTR signals is enabled on an asynchronous serial interface.
Step 6 Run:
phy-mru mrusize
----End
Networking Requirements
As shown in Figure 3-2, RouterA and RouterB are connected using serial interfaces. The
interface on RouterA connecting to RouterB is a DTE interface, and the interface on RouterB
connecting to RouterA is a DCE interface. Users want the two devices to communicate with
each other.
Figure 3-2 Networking diagram for configuring network interworking by using synchronous
serial interfaces
Serial1/0/0 Serial1/0/0
10.1.1.1/30 10.1.1.2/30
IP network IP network
RouterA RouterB
Configuration Roadmap
The configuration roadmap is as follows:
# Set physical attributes for synchronous serial interfaces to ensure that the interfaces are
physically Up.
# Set link layer attributes for synchronous serial interfaces to ensure that the link protocol
status of the interfaces is Up.
Procedure
Step 1 Set physical attributes for synchronous serial interfaces.
# Configure RouterA.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] interface serial 1/0/0
[RouterA-Serial1/0/0] virtualbaudrate 72000
# Configure RouterB.
<Huawei> system-view
[Huawei] sysname RouterB
[RouterB] interface serial 1/0/0
[RouterB-Serial1/0/0] baudrate 72000
# Configure RouterB.
[RouterB-Serial1/0/0] link-protocol ppp
[RouterB-Serial1/0/0] mtu 1400
[RouterB-Serial1/0/0] shutdown
[RouterB-Serial1/0/0] undo shutdown
# Configure RouterB.
[RouterB-Serial1/0/0] ip address 10.1.1.2 30
[RouterB-Serial1/0/0] quit
Alignments: 0, Overruns: 0
Dribbles: 0, Aborts: 0
No Buffers: 0, Frame Error: 0
# Check the routing table of the serial interface. Use the command output of RouterA as an
example. You can view information about the routes destined for the peer end.
[RouterA] display ip routing-table
Route Flags: R - relied, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 5 Routes : 5
Destination/Mask Proto Pre Cost Flags NextHop Interface
10.1.1.0/30 Direct 0 0 D 10.1.1.1 Serial1/0/0
10.1.1.1/32 Direct 0 0 D 127.0.0.1 Serial1/0/0
10.1.1.2/32 Direct 0 0 D 10.1.1.2 Serial1/0/0
10.1.1.3/32 Direct 0 0 D 127.0.0.1 Serial1/0/0
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
# RouterA and RouterB can ping each other successfully. Use the command output of
RouterA as an example. Ping RouterB from RouterA, and you can view the following
command output:
[RouterA] ping 10.1.1.2
PING 10.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 10.1.1.2: bytes=56 Sequence=1 ttl=255 time=90 ms
Reply from 10.1.1.2: bytes=56 Sequence=2 ttl=255 time=50 ms
Reply from 10.1.1.2: bytes=56 Sequence=3 ttl=255 time=50 ms
Reply from 10.1.1.2: bytes=56 Sequence=4 ttl=255 time=40 ms
Reply from 10.1.1.2: bytes=56 Sequence=5 ttl=255 time=30 ms
--- 10.1.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 30/52/90 ms
----End
Configuration Files
l Configuration file of RouterA
#
sysname RouterA
#
interface Serial1/0/0
link-protocol ppp
mtu 1400
ip address 10.1.1.1 255.255.255.252
virtualbaudrate 72000
#
return
This section describes basic concepts and configuration procedures of async interfaces.
License Support
None
Applicable Environment
To transmit upper-layer data services on an async interface, set attributes for the interface to
ensure that its physical layer status and link layer status are Up.
Physical and link layer parameters of the async interface have default values. To modify these
parameters, perform the following steps.
Pre-configuration Tasks
Before configuring an async interface, complete the following task:
l Installing an 8AS interface card on the device and ensuring that it is registered
successfully
Procedure
Step 1 Run:
system-view
----End
This section provides only the physical attribute configuration of ISDN PRI interfaces. For details about
ISDN service configuration, see ISDN Configuration in the Configuration Guide - WAN.
Clock Mode
To exchange data correctly, communicating parties must have their clocks synchronized.
A CE1/PRI interface works in either of the two clock modes:
l Master clock mode (local clock mode): In this clock mode, a T1-F interface uses the
local clock generated by the chip as the reference clock.
l Slave clock mode (line clock mode): In this clock mode, a T1-F interface uses the line
clock as the reference clock.
Generally, the interface at one end of a link works in master clock mode, and the interface at
the other end works in slave clock mode.
Frame Format
A CE1/PRI interface supports two frame formats:
l CRC4 format: A CRC4 multiframe is formed by the first bit in each frame transmitted
over timeslot 0. This format contains 16 consecutive pulse code modulation (PCM)
frames.
l Non-CRC4 format (basic frame format): This format is also called the dual-frame format
or odd-even frame format. An even frame in timeslot 0 transmits frame alignment signal
0011011. An odd frame in timeslot 0 has a fixed value 1 in the second bit, which
distinguishes it from an even frame with value 0 in the second bit.
The router supports two line idle codes: 0x7e and 0xff.
AIS Detection
Alarm indication signal (AIS) alarms are also called upstream alarms, indicating that the peer
device or the receive link of the local device is faulty.
If the number of 0s in 512 consecutive bits (two consecutive frames) of a received signal is
smaller than 3, an AIS alarm is generated. If the number of 0s in 512 consecutive bits of a
received signal is larger than or equal to 3, an AIS alarm is cleared.
RAI Detection
A remote alarm indication (RAI) alarm is sent to an upstream device after the router detects
loss of frame (LOF) caused by clock asynchronization or loss of signal (LOS).
License Support
None
5.3 Applications
Usage Scenario of CE1/PRI Interfaces (E1 Mode)
As shown in Figure 5-1, the headquarters and branch of an enterprise are connected by the
transmission network of a carrier. The enterprise leases a 2 Mbit/s E1 line from the carrier.
E1 leased E1 leased
line Transmission line
Branch Headquarters
network
E1 channel n E1 channel n
ISDN ISDN
Switch Switch
Cable type applicable to the CE1/PRI 120 ohm balanced cable (twisted pair)
interface
Interframe filling tag type and minimum Interframe filling tag type: 0x7e; minimum
number of interframe filling tags number of interframe filling tags: 4
Pre-configuration Tasks
Before configuring a CE1/PRI interface, complete the following task:
l Installing a 1E1T1-M/2E1T1-M/4E1T1-M/8E1T1-M interface card on the router and
ensuring that it is registered successfully
Context
All parameters except the clock mode of CE1/PRI interfaces on both ends must be the same.
Otherwise, errors may occur during communication.
Procedure
Step 1 Run:
system-view
Information about the 1E1T1-M/2E1T1-M interface card is displayed. You can check the
slot ID of the interface card, whether the interface card is installed in the slot, and
whether it is working properly.
2. Run:
display workmode { slot slot-id | all }
The 4E1T1-M/8E1T1-M interface card only works in CE1/PRI mode (e1-data) and does not
support working mode switching.
Step 3 Run:
controller e1 interface-number
The interframe filling tag and the number of interframe filling tags are set.
By default, a CE1/PRI interface uses the interframe filling tag 0x7e and four interframe
filling tags.
l Run:
undo detect-ais
If the CE1/PRI works in E1 mode, run the undo detect-ais command to disable AIS detection.
----End
Pre-configuration Tasks
Before configuring a CE1/PRI interface, complete the following task:
l Installing a 1E1T1-M/2E1T1-M/4E1T1-M/8E1T1-M interface card on the router and
ensuring that it is registered successfully
Context
All parameters except the clock mode of CE1/PRI interfaces on both ends must be the same.
Otherwise, errors may occur during communication.
Procedure
Step 1 Run:
system-view
Information about the 1E1T1-M/2E1T1-M interface card is displayed. You can check the
slot ID of the interface card, whether the interface card is installed in the slot, and
whether it is working properly.
2. Run:
display workmode { slot slot-id | all }
The 4E1T1-M/8E1T1-M interface card only works in CE1/PRI mode (e1-data) and does not
support working mode switching.
Step 3 Run:
controller e1 interface-number
The interframe filling tag and the number of interframe filling tags are set.
By default, a CE1/PRI interface uses the interframe filling tag 0x7e and four interframe
filling tags.
l Run:
data-coding { inverted | normal }
----End
Pre-configuration Tasks
Before configuring a CE1/PRI interface, complete the following task:
l Installing a 1E1T1-M/2E1T1-M/4E1T1-M/8E1T1-M interface card on the router and
ensuring that it is registered successfully
Context
All parameters except the clock mode of CE1/PRI interfaces on both ends must be the same.
Otherwise, errors may occur during communication.
Procedure
Step 1 Run:
system-view
Information about the 1E1T1-M/2E1T1-M interface card is displayed. You can check the
slot ID of the interface card, whether the interface card is installed in the slot, and
whether it is working properly.
2. Run:
display workmode { slot slot-id | all }
The 4E1T1-M/8E1T1-M interface card only works in CE1/PRI mode (e1-data) and does not
support working mode switching.
Step 3 Run:
controller e1 interface-number
NOTE
Step 6 Run:
line-termination { 75-ohm | 120-ohm }
If the type of the cable connected to a CE1/PRI interface changes, use this command to
change the cable type.
The interframe filling tag and the number of interframe filling tags are set.
By default, a CE1/PRI interface uses the interframe filling tag 0x7e and four interframe
filling tags.
l Run:
data-coding { inverted | normal }
----End
Context
Procedure
Step 1 Run:
system-view
Step 2 Run:
controller e1 interface-number
Step 3 Run:
loopback { local | payload | remote }
The loopback detection function is enabled and the detection mode is configured.
----End
Follow-up Procedure
Perform either of the following steps depending on the detection mode you configured:
l If the loopback detection mode is set to local, run the display interface serial interface-
number command on the local device to check whether the physical status (current
state) of the serial interface is Up.
If the serial interface is in Up state, the local device can send and receive packets
normally. If the serial interface is not in Up state, the local device fails to send and
receive packets.
l If the loopback detection mode is set to remote, run the display interface serial
interface-number command on the remote device to check whether the physical status
(current state) of the serial interface is Up.
If the serial interface is in Up state, the link between the local and remote device is
working properly. If the serial interface is not in Up state, the link between the local and
remote device fails.
Context
To monitor the status of an interface or locate faults on the interface, you can collect traffic
statistics on the interface. Before collecting traffic statistics on the serial interface generated
by a CE1/PRI interface, clear the existing traffic statistics on this interface.
Procedure
l Run the reset counters interface serial [ interface-number ] command in the user view
to clear statistics about the serial interface generated on the CE1/PRI interface.
----End
Fault Symptom
A CE1/PRI interface fails to communicate with a serial interface (V.35DTE/DCE).
Procedure
1. Check whether the protocol converter is used and whether protocol converter works
properly.
2. Run the using e1 command in the CE1/PRI interface view to configure the CE1/PRI
interface to work in E1 (non-channelized) mode.
3. Adjust the rate of the serial interface.
– When the serial interface works in DCE mode, run the baudrate 2048000
command to set the baud rate of the serial interface in synchronous mode to
2048000 bit/s.
– When the serial interface works in DTE mode, run the virtualbaudrate 2048000
command to set the virtual baud rate of the serial interface in synchronous mode to
2048000 bit/s.
4. Ensure that the CE1/PRI interface and serial interface use the same CRC mode.
Fault Symptom
A CE1/PRI interface fails to communicate with an E1-F interface.
Procedure
1. Ensure that the CE1/PRI interface and E1-F interface use consistent working modes.
– If the CE1/PRI interface works in E1 mode (configured by the using e1 command),
the E1-F interface must work in unframed mode (configured by the fe1 unframed
command).
– If the CE1/PRI interface works in CE1 mode (configured by the using ce1
command), the E1-F interface must work in framed mode (configured by the undo
fe1 unframed command).
In this case, bundled timeslots (configured by the channel-set command) on the
CE1/PRI interface must be the same as those (configured by the fe1 timeslot-list
command) on the E1-F interface.
2. Ensure that the CE1/PRI interface and E1-F interface use the same CRC mode, encoding
and decoding mode, and data inversion mode.
functions as an interface, which has the same logical features as a synchronous serial
interface and supports link layer protocols (PPP, HDLC, and FR) and the Internet
Protocol (IP).
l When the CT1/PRI interface functions as a PRI interface, timeslot 24 functions as the D
channel to transmit signals. Therefore, only one group of timeslots except timeslot 24
can be randomly selected to function as a B channel, and then the B channel is bundled
with timeslot 24 to form a PRI set. The PRI set functions as an ISDN PRI interface and
supports link layer protocols (PPP, and FR) and IP.
NOTE
This section provides only the physical attribute configuration of ISDN PRI interfaces. For details about
ISDN service configuration, see ISDN Configuration in the Configuration Guide - WAN.
Clock Mode
To exchange data correctly, communicating parties must have their clocks synchronized.
Generally, the interface at one end of a link works in master clock mode, and the interface at
the other end works in slave clock mode.
Frame Format
A CT1/PRI interface supports two frame formats:
l CRC4 format: A CRC4 multiframe is formed by the first bit in each frame transmitted
over timeslot 0. This format contains 16 consecutive pulse code modulation (PCM)
frames.
l Non-CRC4 format (basic frame format): This format is also called the dual-frame format
or odd-even frame format. An even frame in timeslot 0 transmits frame alignment signal
0011011. An odd frame in timeslot 0 has a fixed value 1 in the second bit, which
distinguishes it from an even frame with value 0 in the second bit.
The router supports two line idle codes: 0x7e and 0xff.
The router supports two interframe filling tags: 0x7e and 0xff. On the router, you can set the
minimum number of interframe filling tags.
AIS Detection
Alarm indication signal (AIS) alarms are also called upstream alarms, indicating that the peer
device or the receive link of the local device is faulty.
If the number of 0s in 512 consecutive bits (two consecutive frames) of a received signal is
smaller than 3, an AIS alarm is generated. If the number of 0s in 512 consecutive bits of a
received signal is larger than or equal to 3, an AIS alarm is cleared.
RAI Detection
A remote alarm indication (RAI) alarm is sent to an upstream device after the router detects
loss of frame (LOF) caused by clock asynchronization or loss of signal (LOS).
License Support
CT1/PRI interfaces is a basic capability of an AR router and is not under license control.
6.3 Applications
Usage Scenario of CT1/PRI Interfaces (CT1 Mode)
As shown in Figure 6-1, the headquarters and branch of an enterprise are connected by the
transmission network of a carrier. Multiple low-rate (128 kbit/s or 256 kbit/s) T1 channels are
required to transmit different services. In this scenario, timeslots in the T1 line need to be
bundled into multiple channels. Each channel transmits a service. For example, two timeslots
are bundled to transmit the voice service, and four timeslots are bundled to transmit the data
service.
T1 channel n T1 channel n
ISDN ISDN
Switch Switch
Cable type applicable to the CT1/PRI 120 ohm balanced cable (twisted pair)
interface
Interframe filling tag type and minimum Interframe filling tag type: 0x7e; minimum
number of interframe filling tags number of interframe filling tags: 4
Pre-configuration Tasks
Before configuring a CT1/PRI interface, complete the following task:
l Installing a 1E1T1-M/2E1T1-M interface card on the router and ensuring that it is
registered successfully
Context
All parameters except the clock mode of CT1/PRI interfaces on both ends must be the same.
Otherwise, errors may occur during communication.
Procedure
Step 1 Run:
system-view
Information about the 1E1T1-M/2E1T1-M interface card is displayed. You can check the
slot ID of the interface card, whether the interface card is installed in the slot, and
whether it is working properly.
2. Run:
display workmode { slot slot-id | all }
The 4E1T1-M/8E1T1-M interface card only works in CE1/PRI mode (e1-data) and does not
support working mode switching.
Step 3 Run:
controller t1 interface-number
The attenuation or length of the transmission line matching the CT1/PRI interface is
configured.
The default attenuation of the transmission line on a CT1/PRI interface is -7.5 dB.
When signals that the router receives are of a good quality, use the default configuration.
l Run:
The interframe filling tag and the number of interframe filling tags are set.
By default, a CT1/PRI interface uses the interframe filling tag 0x7e and four interframe
filling tags.
l Run:
data-coding { inverted | normal }
----End
l Run the display interface serial interface-number command to check the status and
packet statistics on the specified serial interface.
Pre-configuration Tasks
Before configuring a CT1/PRI interface, complete the following task:
l Installing a 1E1T1-M/2E1T1-M interface card on the router and ensuring that it is
registered successfully
Context
All parameters except the clock mode of CT1/PRI interfaces on both ends must be the same.
Otherwise, errors may occur during communication.
Procedure
Step 1 Run:
system-view
Information about the 1E1T1-M/2E1T1-M interface card is displayed. You can check the
slot ID of the interface card, whether the interface card is installed in the slot, and
whether it is working properly.
2. Run:
display workmode { slot slot-id | all }
The 4E1T1-M/8E1T1-M interface card only works in CE1/PRI mode (e1-data) and does not
support working mode switching.
Step 3 Run:
controller t1 interface-number
The attenuation or length of the transmission line matching the CT1/PRI interface is
configured.
The default attenuation of the transmission line on a CT1/PRI interface is -7.5 dB.
When signals that the router receives are of a good quality, use the default configuration.
l Run:
clock { master | slave }
The interframe filling tag and the number of interframe filling tags are set.
By default, a CT1/PRI interface uses the interframe filling tag 0x7e and four interframe
filling tags.
l Run:
data-coding { inverted | normal }
----End
Procedure
Step 1 Run:
system-view
The loopback detection function is enabled and the detection mode is configured.
----End
Follow-up Procedure
Perform either of the following steps depending on the detection mode you configured:
l If the loopback detection mode is set to local, run the display interface serial interface-
number command on the local device to check whether the physical status (current
state) of the serial interface is Up.
If the serial interface is in Up state, the local device can send and receive packets
normally. If the serial interface is not in Up state, the local device fails to send and
receive packets.
l If the loopback detection mode is set to remote, run the display interface serial
interface-number command on the remote device to check whether the physical status
(current state) of the serial interface is Up.
If the serial interface is in Up state, the link between the local and remote device is
working properly. If the serial interface is not in Up state, the link between the local and
remote device fails.
Procedure
l Run the reset counters interface serial [ interface-number ] command in the user view
to clear statistics about the serial interface generated on the CT1/PRI interface.
----End
A CE3 interface is a physical interface in the E3 system, which can work in E3 mode
(unchannelized mode). In E3 mode, a CE3 interface works at a rate of 34.368 Mbit/s without
timeslot division. Similar to a synchronous serial interface, a CE3 interface supports IP
network protocol and data link layer protocols such as PPP and frame relay (FR).
Clock Mode
To exchange data successfully, communicating parties must work in clock synchronization
state.
Generally, the interface at one end of a link works in master clock mode, and the interface at
the other end works in slave clock mode.
License Support
CE3 interface is a basic capability of an AR router and is not under license control.
7.3 Application
As shown in Figure 7-1, the enterprise headquarters and branches communicate over a
transmission network provided by a network carrier. An E3 leased line with bandwidth 34
Mbit/s is used.
National bit 1
Prerequisites
Before configuring a CE3 interface, complete the following task:
Procedure
Step 1 Run:
system-view
Step 2 Run:
controller e3 interface-number
Step 3 Run:
using e3
After the CE3 interface works in E3 mode, a serial interface is created automatically. The
format of a serial interface number is serial interface-number /0:0. The parameter interface-
number specifies the number of a CE3 interface. The logical features of the CE3 interface are
similar to those of a synchronous serial interface. The CE3 interface can be considered as a
synchronous serial interface for further configuration, such as IP address, link layer protocol
parameters such as PPP and FR parameters, and NAT.
Step 4 Run:
clock { master | slave }
When the device functions as a Data Circuit-terminating Equipment (DCE), the CE3 interface
of the device must work in master clock mode and provide clock signals for a Data Terminal
Equipment (DTE). When the device functions as a DTE, the CE3 interface of the device must
work in slave clock mode and obtain clock signals from a DCE.
Step 5 Run:
itf { number number | type { 7e | ff } }
The interframe filling tag and the number of interframe filling tags are set.
By default, a CE3 interface uses the interframe filling tag 0x7e and four interframe filling
tags.
Step 6 Run:
fe3 { dsu-mode { 0 | 1 } | subrate number }
The CE3 interface is configured to work in FE3 mode, and the DSU mode or subrate is set.
By default, the DSU mode is 1, that is, Kentrox mode. The default subrate is 34010 kbit/s.
Step 7 Run:
national-bit { 0 | 1 }
You are advised to set the national bit to 1. The national bit is set to 0 on a CE3 interface only
in some special situations.
----End
Procedure
Step 1 Run:
system-view
----End
Follow-up Procedure
The subsequent configuration differs according to the loopback detection mode.
l When internal loopback is enabled on the CE3 interface using the local command, run
the display interface serial interface-number command on the local device to check
whether the physical status of the serial interface on the local device is Up.
If the value of current state is UP, the local device can send and receive packets. If the
value of current state is not UP, the local device cannot send or receive packets.
l When external loopback is enabled on the CE3 interface using the remote command, run
the display interface serial interface-number command on the remote device to check
whether the physical status of the serial interface on the remote device is Up.
If the value of current state is UP, the link between the local and remote devices is
normal. If the value of current state is not UP, the link between the local and remote
devices is faulty.
Procedure
l Run the reset counters interface serial [ interface-number ] command in the user view
to delete statistics about the serial interface generated on the CE3 interface.
----End
Compared with a CE1/PRI interface, an E1-F interface provides E1 access at a low cost. You
can use E1-F interfaces to meet simple E1 service requirements.
l In framed mode, an E1-F interface is divided into 32 timeslots, which are numbered 0 to
31. Timeslot 0 transmits frame alignment signals. Any random group of timeslots 1 to 31
can be bundled into a channel. The rate of an E1-F interface is n x 64 kbit/s, in which n is
the number of timeslots bundled into a channel.
In either unframed mode or framed mode, an E1-F interface is similar to a synchronous serial
interface and supports link layer protocols such as the Point-to-Point Protocol (PPP), High-
Level Data Link Control (HDLC), and Frame Relay (FR) and network protocols such as IP.
l When working in framed mode, an E1-F interface allows timeslots to be bundled into
only one channel, whereas a CE1/PRI interface allows timeslots to be randomly bundled
into multiple channels.
l An E1-F interface does not support the PRI mode.
Clock Mode
To exchange data correctly, communicating parties must have their clocks synchronized.
Generally, the interface at one end of a link works in master clock mode, and the interface at
the other end works in slave clock mode.
Frame Format
An E1-F interface supports two frame formats:
l CRC4 format: A CRC4 multiframe is formed by the first bit in each frame transmitted
over timeslot 0. This format contains 16 consecutive pulse code modulation (PCM)
frames.
l Non-CRC4 format (basic frame format): This format is also called the dual-frame format
or odd-even frame format. An even frame in timeslot 0 transmits frame alignment signal
0011011. An odd frame in timeslot 0 has a fixed value 1 in the second bit, which
distinguishes it from an even frame with value 0 in the second bit.
The router supports two line idle codes: 0x7e and 0xff.
The router supports two interframe filling tags: 0x7e and 0xff. On the router, you can set the
minimum number of interframe filling tags.
AIS Detection
Alarm indication signal (AIS) alarms are also called upstream alarms, indicating that the peer
device or the receive link of the local device is faulty.
If the number of 0s in 512 consecutive bits (two consecutive frames) of a received signal is
smaller than 3, an AIS alarm is generated. If the number of 0s in 512 consecutive bits of a
received signal is larger than or equal to 3, an AIS alarm is cleared.
RAI Detection
A remote alarm indication (RAI) alarm is sent to an upstream device after the router detects
loss of frame (LoF) caused by clock asynchronization or loss of signal (LOS).
License Support
None
8.3 Applications
Usage Scenario of E1-F Interfaces Working in Unframed Mode
As shown in Figure 8-1, the headquarters and branch of an enterprise are connected by the
transmission network of a carrier. The enterprise leases a 2 Mbit/s E1 line from the carrier.
E1 leased E1 leased
line Transmission line
Branch Headquarters
network
Timeslot bundling (in framed mode) All timeslots bundled into one channel,
with a rate of 1984 kbit/s
Cable type applicable to the E1-F interface 120 ohm balanced cable (twisted pair)
Interframe filling tag type and minimum Interframe filling tag type: 0x7e; minimum
number of interframe filling tags number of interframe filling tags: 4
Pre-configuration Tasks
Before configuring an E1-F interface, complete the following task:
Context
E1-F interfaces on both ends must be configured with the same parameters except for the
clock mode. Otherwise, devices on both ends cannot communicate properly.
Procedure
Step 1 Run:
system-view
Information about the 1E1T1-F/2E1T1-F interface card is displayed. You can check the
slot ID of the interface card, whether the interface card is installed in the slot, and
whether it is working properly.
2. Run:
display workmode { slot slot-id | all }
NOTE
The 4E1T1-F/8E1T1-F interface card only works in E1-F mode and does not support working mode
switching.
Step 3 Run:
interface serial interface-number
The interframe filling tag and the number of interframe filling tags are set.
By default, an E1-F interface uses the interframe filling tag 0x7e and sends four filling
tags between two frames.
l Run:
fe1 data-coding { inverted | normal }
If the E1-F works in unframed mode, run the undo fe1 detect-ais command to disable AIS detection.
----End
Pre-configuration Tasks
Before configuring an E1-F interface, complete the following task:
l Installing a 1E1T1-F/2E1T1-F/4E1T1-F/8E1T1-F interface card on the router and
ensuring that it is registered successfully; or power on the AR2202-48FE and ensure that
its self-tests are successful
Context
E1-F interfaces on both ends must be configured with the same parameters except for the
clock mode. Otherwise, devices on both ends cannot communicate properly.
Procedure
Step 1 Run:
system-view
Information about the 1E1T1-F/2E1T1-F interface card is displayed. You can check the
slot ID of the interface card, whether the interface card is installed in the slot, and
whether it is working properly.
2. Run:
display workmode { slot slot-id | all }
The 4E1T1-F/8E1T1-F interface card only works in E1-F mode and does not support working mode
switching.
Step 3 Run:
interface serial interface-number
Step 4 Run:
undo fe1 unframed
By default, all timeslots on an E1-F except timeslot 0 are bundled into a channel, and the rate
of the E1-F interface is 1984 kbit/s.
This step is required when the rate of an E1-F interface needs to be changed.
Step 6 Run:
fe1 line-termination { 75-ohm | 120-ohm }
By default, the cable type applicable to an E1-F interface is 120 ohm balanced cable (twisted
pair).
This step is required when the type of the cable connected to an E1-F interface changes.
The interframe filling tag and the number of interframe filling tags are set.
By default, an E1-F interface uses the interframe filling tag 0x7e and sends four filling
tags between two frames.
l Run:
fe1 data-coding { inverted | normal }
----End
Procedure
Step 1 Run:
system-view
The loopback detection function is enabled and the detection mode is configured.
----End
Follow-up Procedure
Perform either of the following steps depending on the detection mode you configured:
l If the loopback detection mode is set to local, run the display interface serial interface-
number command on the local device to check whether the physical status (current
state) of the serial interface is Up.
If the serial interface is in Up state, the local device can send and receive packets
normally. If the serial interface is not in Up state, the local device fails to send and
receive packets.
l If the loopback detection mode is set to remote, run the display interface serial
interface-number command on the remote device to check whether the physical status
(current state) of the serial interface is Up.
If the serial interface is in Up state, the link between the local and remote device is
working properly. If the serial interface is not in Up state, the link between the local and
remote device fails.
Procedure
l Run the reset counters interface serial [ interface-number ] command in the user view
to clear statistics about the serial interface generated on the E1-F interface.
----End
8.7.2 Can the E1-F Card Communicate with the E1-M Card?
The E1-F card can communicate with the E1-M card in the following scenarios:
l The E1-M card works in E1 mode and the E1-F card works in unframed mode.
l The E1-M card works in CE1 mode and the E1-F card works in framed mode. Only one
channel set is created on the E1-M card and binds the same timeslots as the E1-F card.
By default, E1-F interfaces on Huawei devices use the non-CRC4 frame format and E1-F
interfaces on Cisco devices use the CRC4 frame format. If the local and remote interfaces use
different frame formats, the interfaces alternate between Up and Down states after being
connected. To solve this problem, run the fe1 frame-format { crc4 | no-crc4 } command on
the E1/T1-F card to set the frame format of E1-F interfaces first to ensure that the local and
remote interfaces use the same frame format.
Run the crc { 16 | 32 | none } command to configure the local interface to work in the same
CRC mode as the remote interface. In addition, ensure that both the local and remote devices
are grounded using ground cables.
Ground points on AR routers have the same appearance. The ground point on the AR151 is
taken as an example, as shown in Figure 8-3.
The more service exception cause please see A Connected E1 Interface Cannot Go Up.
Compared with a CT1/PRI interface, a T1-F interface provides T1 access at a low cost. You
can use T1-F interfaces to meet simple T1 access service requirements.
A T1-F interface works only in framed mode. In this mode, a T1-F interface is divided into 24
timeslots, which are numbered 1 to 24. All the 24 timeslots can be bundled into a channel.
The rate of a T1-F interface is n x 64 kbit/s or n x 56 kbit/s, in which n is the number of
timeslots bundled into a channel. A T1-F interface is similar to a synchronous serial interface
and supports link layer protocols such as the Point-to-Point Protocol (PPP), High-Level Data
Link Control (HDLC), and Frame Relay (FR) and network protocols such as IP.
A T1-F interface differs from a CT1/PRI interface in the following aspects:
l When working in framed mode, a T1-F interface allows timeslots to be bundled into only
one channel, whereas a CT1/PRI interface allows timeslots to be randomly bundled into
multiple channels.
l A T1-F interface does not support the PRI mode.
Clock Mode
To exchange data correctly, communicating parties must have their clocks synchronized.
A T1-F interface works in either of the two clock modes:
l Master clock mode (local clock mode): In this clock mode, a T1-F interface uses the
local clock generated by the chip as the reference clock.
l Slave clock mode (line clock mode): In this clock mode, a T1-F interface uses the line
clock as the reference clock.
Generally, the interface at one end of a link works in master clock mode, and the interface at
the other end works in slave clock mode.
Frame Format
A T1-F interface supports the following frame formats:
l Extended super frame (ESF): consists of 24 frames that share the same frame alignment
information and signaling information. Frames 6, 12, 18, and 24 are signaling frames.
l Super frame (SF): consists of 12 frames that share the same frame alignment information
and signaling information. Frame 6 and frame 12 are signaling frames.
RAI Detection
A remote alarm indication (RAI) alarm is sent to an upstream device after the router detects
loss of frame (LoF) caused by clock asynchronization or loss of signal (LOS).
License Support
T1-F interfaces is a basic capability of an AR router and is not under license control.
9.3 Application
As shown in Figure 9-1, the headquarters and branch of an enterprise are connected by the
transmission network of a carrier. A low-rate (512 kbit/s for example) T1 channel is required
to transmit services of the enterprise. In this scenario, timeslots in the T1 line need to be
bundled into a channel. For example, 16 timeslots are bundled to transmit the data service.
Interframe filling tag type and minimum Interframe filling tag type: 0x7e; minimum
number of interframe filling tags number of interframe filling tags: 4
Pre-configuration Tasks
Before configuring a T1-F interface, complete the following task:
l Installing a 1E1T1-F/2E1T1-F interface card on the router and ensuring that it is
registered successfully
Context
T1-F interfaces on both ends must be configured with the same parameters except for the
clock mode. Otherwise, devices on both ends cannot communicate properly.
Procedure
Step 1 Run:
system-view
Information about the 1E1T1-F/2E1T1-F interface card is displayed. You can check the
slot ID of the interface card, whether the interface card is installed in the slot, and
whether it is working properly.
2. Run:
display workmode { slot slot-id | all }
The 4E1T1-F/8E1T1-F interface card only works in E1-F mode and does not support working mode
switching.
Step 3 Run:
interface serial interface-number
The interframe filling tag and the number of interframe filling tags are set.
By default, a T1-F interface uses the interframe filling tag 0x7e and sends four filling
tags between two frames.
l Run:
ft1 data-coding { inverted | normal }
----End
l Run the display interface serial interface-number command to check the status and
traffic statistics of the T1-F interface.
Context
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface serial interface-number
Step 3 Run:
ft1 loopback { local | payload | remote }
The loopback detection function is enabled and the detection mode is configured.
----End
Follow-up Procedure
Perform either of the following steps depending on the detection mode you configured:
l If the loopback detection mode is set to local, run the display interface serial interface-
number command on the local device to check whether the physical status (current
state) of the serial interface is Up.
If the serial interface is in Up state, the local device can send and receive packets
normally. If the serial interface is not in Up state, the local device fails to send and
receive packets.
l If the loopback detection mode is set to remote, run the display interface serial
interface-number command on the remote device to check whether the physical status
(current state) of the serial interface is Up.
If the serial interface is in Up state, the link between the local and remote device is
working properly. If the serial interface is not in Up state, the link between the local and
remote device fails.
Procedure
l Run the reset counters interface serial [ interface-number ] command in the user view
to clear statistics about the serial interface generated on the T1-F interface.
----End
This chapter describes basic concepts, configuration procedures, and configuration examples
of receive&transmit (E&M) interfaces.
10.1 E&M Interface Introduction
This section describes the definition and purpose of E&M interfaces.
10.2 Principles
This section describes the process of transparently transmitting E&M data through an MPLS
tunnel.
10.3 Configuration Notes
This section describes specifications of E&M interfaces.
10.4 Applications
This section describes the application of E&M interfaces in the air traffic control scenario.
10.5 Default Configuration
This section describes the default configuration of an E&M interface.
10.6 Configuring Line Attributes for an E&M Interface
This section describes how to configure line attributes for an E&M interface.
10.7 Configuration Examples
This section provides a configuration example of E&M interfaces, including the networking
requirements and configuration roadmap.
Definition
E&M interfaces are used to receive and send E&M data. During communications, E&M data
is first encapsulated into pseudo wire emulation edge-to-edge (PWE3) packets, and then
routers at both ends of a Multiprotocol Label Switching (MPLS) tunnel transparently forward
the PWE3 packets through the MPLS tunnel.
Purpose
E&M interfaces are used for point-to-point (P2P) data transmission between E&M devices.
For example, in the Air Traffic Control Communications System (ATCCS), E&M interfaces
transmit voice signals between the Area Control Center (ACC) and stations for calls between
traffic control personnel and people on airplanes.
10.2 Principles
This section describes the process of transparently transmitting E&M data through an MPLS
tunnel.
As shown in Figure 10-1, the E&M data transceiver connects to the E&M terminal in wired
or wireless mode and connects to the remote data processing center through the IP/MPLS
network.
RouterA connects to the data processing center through an E&M interface, and RouterB
connects to the E&M data transceiver through an E&M interface. RouterA and RouterB have
set up an MPLS tunnel between them.
Figure 10-1 Transparent transmission of E&M data through the MPLS tunnel
E&M
terminal
E&M data
Data processing
transceiver
center E&M IP/MPLS E&M
interface network interface
MPLS tunnel
RouterA RouterB E&M
terminal
Send E&M data
to RouterA.
Encapsulate
E&M data into a
PWE3 packet.
Transparently
transmit the PWE3
packet to RouterB
through the MPLS
tunnel.
Parse E&M data
from the PWE3
packet.
Transmit E&M
data to the data
E&M terminals
transceiver.
receive E&M
data.
When the data processing center needs to transmit data to the E&M terminal, the E&M data is
transparently transmitted through the MPLS tunnel as follows:
1. The E&M interface of RouterA receives E&M data from the data processing center.
2. RouterA encapsulates E&M data into a PWE3 packet.
3. RouterA transparently transmits the PWE3 packet to RouterB through the MPLS tunnel.
4. RouterB parses E&M data from the PWE3 packet and transmits the E&M data through
the E&M interface to the E&M data transceiver.
5. The E&M data transceiver transmits the E&M data to the E&M terminal in wired or
wireless mode.
The process of transmitting data from the E&M terminal to the data processing center is the
reverse of the preceding process.
License Support
E&M interfaces is a basic capability of an AR router and is not under license control.
10.4 Applications
This section describes the application of E&M interfaces in the air traffic control scenario.
As shown in Figure 10-2, RouterA connects to the internal call system in the ACC through an
E&M interface, and RouterB connects to the station through an E&M interface. RouterA and
RouterB have set up an MPLS tunnel between them.
When a traffic control person calls a person on an airplane, E&M signals are transparently
transmitted to the station through the MPLS tunnel. The station that has set up a connection
with the airplane sends the signals to the airplane through the wireless tower. In this way, the
call between the traffic control person and the person on the airplane is implemented.
Figure 10-2 Application of E&M interfaces in the air traffic control scenario
Traffic control
person Wireless tower
E&M E&M
interface IP network interface
MPLS tunnel Local/Remote
ACC station
RouterA RouterB
Pre-configuration Tasks
Before configuring an E&M interface, complete the following tasks:
The 6E&M interface card supports the 4-wire mode and 2-wire mode, and works in 4-wire mode by
default. If the line mode is incorrect, manually adjust the DIP switch to change the line mode. For the
DIP switch adjustment method, see DIP Switch Usage Instructions in the Huawei AR Series Access
Routers Hardware Description - Card.
Follow-up Procedure
After configuring line attributes for the E&M interface, you need to configure time division
multiplexing (TDM) pseudo wire emulation edge-to-edge (PWE3) and an MPLS tunnel for
data transmission between E&M devices. For details about the TDM PWE3 configuration, see
PWE3 Configuration in the Huawei AR Series Access Routers Configuration Guide - VPN.
Procedure
Step 1 Run:
system-view
----End
Procedure
Step 1 Run:
system-view
Step 3 Run:
em pcm { a-law | u-law }
----End
Context
As shown in Figure 10-3, before the data processing center and E&M terminal transmit E&M
data, you must enable data transparent transmission on E&M interfaces so that routers can
transparently transmit E&M data through the MPLS tunnel.
E&M
terminal
Procedure
Step 1 Run:
system-view
----End
Context
When a router connects to a device through an E&M interface, the signaling modes on the
router and the device must be same so that data can be transmitted between them. You can
configure the signaling mode of the E&M interface on the router based on that of the
connected interface of the device.
Procedure
Step 1 Run:
system-view
NOTE
Currently, the device does not support the Bell-1, Bell-2, Bell-3, and Bell-4 signaling mode.
----End
Context
When a local user and a remote user are on a call, you can configure the transmit or receive
signal gain level of the E&M interface to adjust the call volume at both ends.
Procedure
Step 1 Run:
system-view
----End
Procedure
l Run the display interface serial [ interface-number ] command to check the
configuration and status of the E&M interface.
l Run the display tdm statistic interface interface-type interface-number command to
view the TDM service statistics on the E&M interface.
----End
Networking Requirements
As shown in Figure 10-4, in the air traffic control scenario, RouterA connects to the internal
call system in the ACC through an E&M interface, RouterB connects to the station through an
E&M interface, and RouterA and RouterB have set up an MPLS tunnel between them using
the PWE3 technology.
When a traffic control person calls a person on an airplane, the air traffic control department
wants E&M signals to be transparently transmitted through the established MPLS tunnel to
implement the call between the traffic control person and the person on the airplane by
configuring E&M interfaces on RouterA and RouterB.
Figure 10-4 Networking diagram for configuring E&M interfaces in the air traffic control
scenario
Traffic control
person Wireless tower
E&M E&M
interface IP network interface
MPLS tunnel Local/Remote
ACC station
RouterA RouterB
Configuration Roadmap
The configuration roadmap is as follows:
# Configure the E&M interface on RouterA so that E&M signals can be transparently
transmitted to RouterB through the MPLS tunnel.
# Configure the E&M interface on RouterB so that E&M signals can be transparently
transmitted to RouterA through the MPLS tunnel.
Procedure
Step 1 Configure the E&M interface on RouterA.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] interface serial 2/0/0
[RouterA-Serial2/0/0] link-protocol tdm
[RouterA-Serial2/0/0] em passthrough enable
[RouterA-Serial2/0/0] quit
----End
Configuration Files
l Configuration file of RouterA
#
sysname RouterA
#
interface Serial2/0/0
link-protocol tdm
em passthrough enable
#
return
To use 3G technology to transmit voice, video, and data services, configure 3G cellular
interfaces on the device.
11.1 Introduction to 3G Cellular Interfaces
This section describes the definition, purpose, and limitations of 3G cellular interfaces.
11.2 Configuration Notes
This section provides the points of attention when configuring 3G cellular interfaces.
11.3 Application Scenarios
This section describes application scenarios of 3G cellular interfaces.
11.4 Configuring a 3G Cellular Interfaces in Compliance with the CDMA2000 Standard
After configuring a 3G cellular interface in compliance with the CDMA2000 standard, you
can access the Internet through a CDMA2000 network and networks that are downward
compatible with the CDMA2000 network.
11.5 Maintaining 3G Cellular Interfaces
Maintaining 3G cellular interfaces includes restarting a 3G modem and clearing statistics.
11.6 Configuration Examples
This section provides configuration examples of 3G cellular interfaces, including networking
requirements, configuration roadmap, configuration procedure, and configuration files.
11.7 Common Configuration Errors
This section describes the common configuration errors that may occur during 3G
configuration.
11.8 FAQ
Definition
A 3G cellular interface is a physical interface supporting 3G technology, and provides
enterprise-level wireless Wide Area Network (WAN) access services.
Purpose
Although wired WAN access technologies, such as optical fibers, xDSL interfaces, and E1/T1
interfaces, are mature and widely used, they become the bottleneck in special scenarios:
l For enterprise branches or offshore oil fields located in remote areas, the wire WAN
access service is unavailable or costs too much.
l At disaster sites, wires need to be connected quickly and temporarily before the wired
WAN access service can be restored.
l The wired WAN cannot provide full coverage for all gas stations and ATMs that are
widely distributed.
l Enterprise staff need to work on the move.
In these scenarios, the wired WAN access service cannot meet users' requirements.
Limitations
3G cellular interfaces have the following limitations:
l Data connection: Data connections can only be initiated by 3G cellular interfaces but not
carrier's devices.
l Throughput: On wireless networks, the throughput changes as the number of online users
changes or network congestion occurs.
l Delay: Compared with the wired network, the wireless network may cause longer delays.
The delay depends on wireless network technology standards and the quality of the
network services provided by carriers.
l Additional restrictions from carriers: Some carriers may require additional restrictions.
Before you access a carrier network through 3G cellular interfaces, you must learn the
restrictions required by the carrier.
License Support
3G cellular interfaces is a basic capability of an AR router and is not under license control.
3G Model
A 3G model is a device that has 3G antenna interfaces, that device naming with G. Table 11-2
describes the 3G models.
3G Access of Branches
Because some branches are located in remote areas, it is difficult to deploy fixed networks.
Or, the data service volume is limited, and using wired access is expensive. 3G access has
become a better choice for these branches. Chain stores and gas stations are typical branches.
Figure 11-1 shows the 3G access scenario of branches. Router_1 and Router_2 are egress
gateways of the branches. Branch 1 is used as an example.
1. The branch connects to the Internet through the 3G network, and then connects to the
headquarters using Internet Protocol Security (IPSec) Virtual Private Network (VPN).
IPSec ensures secure data exchanges between the headquarters and branch.
2. Because Router_1 is connected to the Internet, the firewall and attack defense function
must be enabled on 3G interfaces to ensure network security. To use 3G links effectively,
you can enable the P2P traffic limiting function on Router_1. The P2P traffic limiting
function is used to block P2P applications such as eMule and BT that consume a large
amount of bandwidth.
Application
server
NMS
Headquarters
IPSec VPN IPSec VPN
3G
network
Router_1 Router_2
Branch 1 Branch 2
Bank
branch
IPSec VPN
3G
network
Router
Business ATM
center
1. The router that supports 3G access and Wi-Fi, for example, Router in Figure 11-3, is
deployed at the temporary site.
2. The Router connects to the Internet through the 3G network.
3. IPSec VPN can be configured on the Router to connect the temporary site with the
headquarters.
4. The Wi-Fi function is enabled on the Router so that PCs and mobile terminals can access
the Router through Wi-Fi.
5. As the Router is connected to the Internet, the firewall and attack defense function must
be enabled on 3G interfaces to ensure network security. To use 3G links effectively, you
can enable the P2P traffic limiting function on the Router. The P2P traffic limiting
function is used to block P2P applications such as eMule and BT that consume a large
amount of bandwidth.
Headsquarters
IPSec VPN
3G
network
Router
Temporary site
Headquarters
IPSec VPN
3G
network
Router
Temporary site
Application server PC
Headquarters
IPSec VPN
DSLAM 3G
network
xDSL
Router
Enterprise branch
11.3.3 Preparations
Procedure
Step 1 3G services processed on 3G data cards/3G interface cards/3G models must be supported by
carriers, and the area where the device is located must be covered with 3G signals.
Step 2 Apply for 3G service and a SIM, USIM, or UIM card from the carrier.
Step 3 Install the SIM, USIM, or UIM card into a 3G data card/3G interface card/3G model.
NOTE
Ensure that the SIM, USIM, or UIM card is not damaged before installation and is installed properly after
installation.
For details on how to install or replace the SIM, USIM, or UIM card of the 3G interface card, see Replacing a
SIM Card in Huawei AR Series Access Routers Hardware Installation and Maintenance Guide - Maintaining
a Router.
The 3G model provides the SIM card slot in which the SIM/USIM/UIM card can be installed.
NOTE
The angel of antennas affects signal receiving and sending. To better send and receive wireless signals, the
antennas need to be positioned to a proper angel. For details on how to install 3G antennas on the
AR120&AR150&AR160&AR200 series routers, see (Optional) Installing Antennas in Huawei AR Series
Access Routers Hardware Installation and Maintenance Guide - Installing AR120/AR150/AR160/AR200
Series Routers.
Step 6 Check whether the indicator on the 3G data cards/3G interface cards/3G models works
normally.
Step 7 (Optional) Obtain the user name, password, and APN to access the 3G network.
----End
Context
On a WCDMA network or a network downward compatible with the WCDMA network, you
can manually select a public land mobile network (PLMN) or configure the device to
automatically select a PLMN.
By default, a 3G modem automatically selects a PLMN. If you have subscribed to WCDMA
services and obtained a mobile country code (MCC) and a mobile network code (MNC) from
a carrier, you can manually select a PLMN. If an incorrect MNC or MCC is selected, the
device will display a warning message.
Procedure
Step 1 Run:
system-view
Available
PLMN's:
01 460 01 Current
UTRAN
02 460 01 Available
GSM
----End
Context
A GSM/WCDMA network usually provides multiple frequency bands for users to access the
network. If a GSM/WCDMA network changes its frequency band, the 3G cellular interface
connected to the GSM/WCDMA network will adjust its frequency band automatically to
adapt to the GSM/WCDMA network, affecting the stability of 3G links.
If the GSM/WCDMA network in use has a stable frequency band, you can manually set the
frequency band for the 3G cellular interface to connect to the GSM/WCDMA network. This
prevents network frequency band flapping caused by frequency interference, and ensures the
stability of 3G links.
Procedure
l Set the frequency band for the 3G cellular interface to connect to a GSM network.
a. Run:
system-view
The frequency band for the 3G cellular interface to connect to a GSM network is
set.
By default, a 3G cellular interface automatically selects a frequency band to connect
to a GSM network.
l Set the frequency band for the 3G cellular interface to connect to a WCMDA network.
a. Run:
system-view
The frequency band for the 3G cellular interface to connect to a WCDMA network
is set.
By default, a 3G cellular interface automatically selects a frequency band to connect
to a WCDMA network.
----End
Context
After selecting a PLMN, you need to select a proper network from the PLMN. To configure a
WCDMA network connection mode for a 3G modem, select a proper network (GSM only,
GSM precedence, WCDMA only, or WCDMA precedence) from the PLMN to connect to
the 2G or 3G network. Configure a network connection mode based on the network situation,
3G modem type, and limitations on the USIM/SIM card. For example, if you only subscribe
to 2G services, connecting to the WCDMA network will cause failures in communication.
Procedure
Step 1 Run:
system-view
----End
Follow-up Procedure
After the network connection mode is configured, run the display cellular interface-number
network command to check the Current Service Status field. If the Current Service Status
field displays Service Available, the current 3G/2G service is available.
If the Current Service Status field displays No Service or Emergency, the 3G service is
unavailable. If the 3G service is unavailable, perform the following operations.
If the 3G interface is connected to the CDMA2000 network or a network that is compatible with the
CDMA2000 network, you can skip this step.
2. Run the display cellular interface-number network command to check the Current
Network Connection field and check whether the type of the network connected to the
3G modem is correct.
3. Run the display cellular interface-number radio command to check the Current RSSI
field and received signal strength. If the RSSI is larger than or equal to -85 dBm, signals
are stable and reliable.
– If the Current RSSI field displays a value smaller than -85 dBm, perform the
following operations:
i. Check whether the angle of the antennas is proper. The angel of antennas
affects signal receiving and sending.
ii. Check whether the 3G/2G signal in the area is strong.
– If the Current RSSI field displays Unknown, perform the following operations:
i. Check whether the 3G data card is supported by the device.
ii. Check whether the 3G hardware (including the 3G data card/3G interface
card/3G model) or 3G antenna is damaged, not properly installed, or not
fastened.
iii. Check whether the area is covered with 3G/2G signals.
4. Check the SIM, USIM, or UIM card.
a. Contact the carrier to confirm whether 3G/2G services is enabled on the SIM,
USIM, or UIM card and whether the users owe fees.
b. Run the display cellular interface-number radio command to check the SIM
Status field and check whether the SIM, USIM, or UIM card status is normal.
If the SIM Status field displays Not insert, the SIM, USIM, or UIM card is not
installed properly.
5. Run the display cellular interface-number radio command to check PIN Status and
check whether the PIN status is normal.
Context
The following dial-up modes are available:
l Automatic dial-up (permanently online)
A router immediately attempts to dial the remote end after starting. The dialing process
is not triggered by data packets. If a connection cannot be established with the remote
end, the router retries at an interval.
This mode applies to users who are not charged based on the traffic or time, for example,
users who have subscribed to yearly-package services.
Procedure
Step 1 Run:
system-view
You are advised to create an APN profile to configure an APN. You are not advised to run the profile
create profile-number { dynamic | static apn } command in the 3G cellular interface view to configure
an APN by creating a 3G modem parameter profile.
1. Run:
apn profile profile-name
NOTE
The user name, password, and authentication mode for accessing an external PDN are
configured.
By default, the user name, password, and authentication mode for accessing an external
PDN network are not configured.
Contact the carrier when configuring the user name, password, and authentication mode.
NOTE
To match the PAP or CHAP authentication mode of the carrier network, you are advised to configure
the auto mode.
4. Run:
quit
NOTE
C-DCC is enabled.
By default, C-DCC is disabled on a 3G cellular interface.
4. (Optional) Run:
dialer-group group-number
NOTE
The device is configured to request a DNS server address from the remote end.
By default, the device is disabled from requesting a DNS server address from the
remote end.
– Run:
ppp ipcp dns admit-any
The device is configured to accept the DNS server address specified by the remote
end.
By default, the device does not accept the DNS server address specified by the
remote end.
6. (Optional) Run:
rssi-threshold rssi-threshold
By default, a 3G data card does not establish a 3G link based on the RSSI threshold.
Step 5 Run:
dialer number dial-number [ autodial ]
A dialer number is configured for the device to reach the remote end.
Generally, China Mobile provides the dial string *99***1#, China Telecom provides the dial
string #777, and China Unicom provides the dial string *99#.
NOTE
When autodial is specified and C-DCC is enabled on the 3G cellular interface, the device will set the DCC
automatic dial-up interval to 10 seconds to prevent long automatic dial-up. If the 3G cellular interface is used
for dial-up, run the dialer timer autodial command to set the automatic dial-up interval.
When track nqa is specified and the 3G cellular interface establishes a dial-up
connection, the device will use a Network Quality Analysis (NQA) test instance to detect
the 3G network. If the detection fails for three consecutive times, the device will
disconnect the 3G link. You can run the dialer timer probe-interval command to
configure the NQA detection interval.
2. Run:
quit
Step 7 Run:
ip route-static 0.0.0.0 0 cellular interface-number [ preference preference ]
----End
Context
An access point name (APN) identifies an external packet data network (PDN) network (for
example, the Internet or IMS network) that users want to access.
You can create an APN profile to configure an APN. In the multi-APN scenario, you need to
create two APN profiles and bind the APN profiles respectively to the two 3G channel
interfaces formed on the 3G cellular interface. One APN is used to connect to the Internet for
data communication, and the other APN is used to connect to the IMS network for VoIP
communication.
Repeat Step 3 to Step 7 so that the two APN profiles are configured to connect to different
PDNs respectively.
Procedure
Step 1 Run:
system-view
NOTE
The user name, password, and authentication mode for accessing an external PDN are
configured.
By default, the user name, password, and authentication mode for accessing an external
PDN are not configured.
Contact the carrier when configuring the user name, password, and authentication mode.
NOTE
To match the PAP or CHAP authentication mode of the carrier network, you are advised to configure
the auto mode.
4. Run:
quit
2. Run:
ip address negotiate
C-DCC is enabled.
By default, C-DCC is disabled on an interface.
4. (Optional) Run:
dialer-group group-number
NOTE
The device is configured to request a DNS server address from the remote end.
By default, the device is disabled from requesting a DNS server address from the
remote end.
– Run:
ppp ipcp dns admit-any
The device is configured to accept the DNS server address specified by the remote
end.
By default, the device does not accept the DNS server address specified by the
remote end.
6. (Optional) Run:
rssi-threshold rssi-threshold
The received signal strength indicator (RSSI) threshold is set for successfully
establishing 3G links.
By default, a 3G data card does not establish a 3G link based on the RSSI threshold.
7. Run:
dialer number dial-number [ autodial ]
package service allows a user to use a certain volume of traffic within a specified
period.
Generally, China Mobile provides the dial string *99***1#, China Telecom provides the
dial string #777, and China Unicom provides the dial string *99#.
NOTE
When autodial is specified and C-DCC is enabled on the 3G cellular interface, the device will set the
DCC automatic dial-up interval to 10 seconds to prevent long automatic dial-up. If the 3G cellular
interface is used for dial-up, run the dialer timer autodial command to set the automatic dial-up
interval.
When track nqa is specified and the 3G channel interface establishes a dial-up
connection, the device will use an NQA test to detect the 3G network. If the detection
fails for three consecutive times, the device will disconnect the 3G link. You can run the
dialer timer probe-interval command to configure the NQA detection interval.
2. Run:
quit
Step 7 Run:
ip route-static 0.0.0.0 0 cellular interface-number [ preference preference ]
----End
Follow-up Procedure
Because the two APNs share the uplink bandwidth on the 3G cellular interface, QoS is
required to schedule APNs for different services. For example, if one APN is used to transmit
voice services and the other APN is used to transmit data services, to ensure the quality of
voice services, you need to configure QoS on the 3G cellular interface, so that voice services
are preferentially scheduled. For details about QoS configuration, see Huawei AR Series
Access Routers Configuration Guide - QoS Configuration.
Context
A personal identification number (PIN) is a password used to control the rights of using a
USIM or SIM card, and prevents unauthorized users from using the USIM or SIM card.
NOTE
A PIN is a decimal integer of 4 to 8 digits. Obtain the initial PIN from the carrier.
Procedure
l Enable PIN authentication.
a. Run:
system-view
In this step, you must enter a PIN to enable PIN authentication for the 3G data card.
d. Run:
pin verify [ auto ]
In this step, after the PIN is entered manually or automatically, wait for a period of
time. When the system displays the message "PIN has been verified successfully.",
PIN authentication is successful.
l Change a PIN.
Periodically changing a PIN can improve security of the USIM or SIM card.
a. Run:
system-view
In this step, you must enter a PIN to enable PIN authentication for the 3G data card.
d. Run:
pin modify
NOTE
PUKs are provided by the carrier. If a user enters incorrect PUKs for 10 consecutive times, the USIM or
SIM card is permanently locked, and the user needs to obtain a new one from the carrier.
a. Run:
system-view
Context
The device can use the SMS to send SMS messages to users and save SMS messages received
from users in the SIM card. You can check received SMS messages on the device. If the
number of SMS messages saved in the SIM card exceeds the maximum number, you can
delete the SMS messages.
Procedure
l Sending SMS messages
The device can use the SMS to send SMS messages to a user with a specified mobile
number. You need to specify the short message center (SMC) number when configuring
the device to send SMS messages.
a. Run:
system-view
The device saves SMS messages received from users in the SIM card. You can check
and delete received SMS messages.
----End
Context
The device can send short messages to users' mobile phones through SMS.
In the scenario of active/standby interface backup, when the active and standby links are
switched, the active/standby interface status changes. Users can view the alarm on the device
to know the interface status change. If users want to sense the interface status change anytime
and anywhere, configure the SMS alarm function on the service interface. After the function
is configured, the alarm with the interface status change is sent to users in a short message.
For example, a user connects to the Internet through an ADSL interface (active link) and a
cellular interface (standby link). When the active link is faulty and services are switched to
the standby link after the SMS alarm function is configured, a short message can be
immediately sent to specific users. When the standby link is working properly and services
are not switched back to the active link within the specified time, a short message can be sent
to specific users again. If services are switched back to the active link within the specified
time, no short message needs to be sent again.
Procedure
Step 1 Configure an SMS service pool.
An SMS service pool contains the preset SMS services, user phone numbers specified to
receive short messages, and short message content.
1. Run:
system-view
The phone numbers specified to receive short messages, and short message content are
configured in the SMS service pool.
A maximum of 20 SMS services can be configured in an SMS service pool. Each SMS
service can be preset with 3 phone numbers. Each short message can contain at most 160
characters. The short message content is configured to end with %.
4. Run:
quit
Configure the SMS alarm function, specify the triggering condition for sending short
message, and invoke the preset SMS service in the SMS service pool to send specified short
messages to specific users.
1. Run:
system-view
The preset short message is sent to specific users when the 3G cellular interface status
changes.
If after time is not configured, a short message is sent immediately when the interface
status changes. If after time is configured, a short message is sent only when the
interface status changes and remains unchanged within the value of time. This
configuration prevents the device from frequently sending short messages when frequent
Up/Down status changes occur on an interface.
NOTE
Before running this command, ensure that the SMS service with a specified ID is configured using
the sms item command.
Currently, the SMS alarm function can be configured on interfaces only when cellular, ATM, and
serial interfaces are used as the active and standby interfaces.
This command can be run on each interface at most four times, and the latest configuration does
not override the previous ones.
4. Run:
sms service-center-address service-center-number
----End
Procedure
l Run the display cellular interface-number { all | hardware | security | network |
profile | radio } command to check call session information about a 3G modem.
l Run the display interface cellular [ interface-number ] command to check the running
status of and statistics on the 3G cellular interface.
----End
11.4.1 Preparations
Procedure
Step 1 3G services processed on 3G data cards/3G interface cards/3G models must be supported by
carriers, and the area where the device is located must be covered with 3G signals.
Step 2 Apply for 3G service and a SIM, USIM, or UIM card from the carrier.
Step 3 Install the SIM, USIM, or UIM card into a 3G data card/3G interface card/3G model.
NOTE
Ensure that the SIM, USIM, or UIM card is not damaged before installation and is installed properly after
installation.
For details on how to install or replace the SIM, USIM, or UIM card of the 3G interface card, see Replacing a
SIM Card in Huawei AR Series Access Routers Hardware Installation and Maintenance Guide - Maintaining
a Router.
The 3G model provides the SIM card slot in which the SIM/USIM/UIM card can be installed.
The angel of antennas affects signal receiving and sending. To better send and receive wireless signals, the
antennas need to be positioned to a proper angel. For details on how to install 3G antennas on the
AR120&AR150&AR160&AR200 series routers, see (Optional) Installing Antennas in Huawei AR Series
Access Routers Hardware Installation and Maintenance Guide - Installing AR120/AR150/AR160/AR200
Series Routers.
Step 6 Check whether the indicator on the 3G data cards/3G interface cards/3G models works
normally.
Step 7 (Optional) Obtain the user name, password, and APN to access the 3G network.
----End
Context
After a CDMA2000 network connection mode is configured on a 3G modem, you can access
the 2G or 3G network in 1XRTT/EVDO or hybrid (a combination of 1xRTT and EVDO)
mode. Configure a network connection mode based on the network situation, 3G modem type,
and limitations on the UIM card. For example, if you only subscribe to EV-DO services,
connecting to the 1xRTT network will cause failures in communication.
Procedure
Step 1 Run:
system-view
----End
Follow-up Procedure
After the network connection mode is configured, run the display cellular interface-number
network command to check the Current Service Status field. If the Current Service Status
field displays Service Available, the current 3G/2G service is available.
If the Current Service Status field displays No Service or Emergency, the 3G service is
unavailable. If the 3G service is unavailable, perform the following operations.
1. If the 3G interface is connected to the WCDMA network or a network that is compatible
with the WCDMA network, run the display cellular interface-number network
command to check the Mobile Country Code (MCC), Mobile Network Code (MNC),
and Mobile Operator Information fields and check whether the PLMN selected by the
3G modem is consistent with that of the carrier.
NOTE
If the 3G interface is connected to the CDMA2000 network or a network that is compatible with the
CDMA2000 network, you can skip this step.
2. Run the display cellular interface-number network command to check the Current
Network Connection field and check whether the type of the network connected to the
3G modem is correct.
3. Run the display cellular interface-number radio command to check the Current RSSI
field and received signal strength. If the RSSI is larger than or equal to -85 dBm, signals
are stable and reliable.
– If the Current RSSI field displays a value smaller than -85 dBm, perform the
following operations:
i. Check whether the angle of the antennas is proper. The angel of antennas
affects signal receiving and sending.
Context
The following dial-up modes are available:
l Automatic dial-up (permanently online)
A router immediately attempts to dial the remote end after starting. The dialing process
is not triggered by data packets. If a connection cannot be established with the remote
end, the router retries at an interval.
This mode applies to users who are not charged based on the traffic or time, for example,
users who have subscribed to yearly-package services.
l On-demand dial-up (connection setup triggered by traffic)
The device triggers link establishment only when data needs to be transmitted. When the
time during which no traffic is transmitted on a link exceeds the timeout interval, the
device disconnects the link to reduce the traffic volume.
This mode applies to users who are charged based on the traffic or time. For example, a
traffic-package service allows a user to use a certain volume of traffic within a specified
period.
Procedure
Step 1 Run:
system-view
The user name, password, and authentication mode for accessing an external PDN are
configured.
By default, the user name, password, and authentication mode for accessing an external
PDN are not configured.
Contact the carrier when configuring the user name, password, and authentication mode.
NOTE
To match the PAP or CHAP authentication mode of the carrier network, you are advised to configure
the auto mode.
3. Run:
quit
C-DCC is enabled.
By default, C-DCC is disabled on an interface.
3. (Optional) Run:
dialer-group group-number
NOTE
The device is configured to request a DNS server address from the remote end.
By default, the device is disabled from requesting a DNS server address from the
remote end.
– Run:
ppp ipcp dns admit-any
The device is configured to accept the DNS server address specified by the remote
end.
By default, the device does not accept the DNS server address specified by the
remote end.
5. (Optional) Run:
rssi-threshold rssi-threshold
NOTE
When autodial is specified and C-DCC is enabled on the 3G cellular interface, the device will set the DCC
automatic dial-up interval to 10 seconds to prevent long automatic dial-up. If the 3G cellular interface is used
for dial-up, run the dialer timer autodial command to set the automatic dial-up interval.
Step 6 Run:
apn-profile profile-name [ track nqa { admin-name test-name } &<1-2> ]
consecutive times, the device will disconnect the 3G link. You can run the dialer timer
probe-interval command to configure the NQA detection interval.
Step 7 Run:
quit
----End
Context
A personal identification number (PIN) is a password used to control the rights of using a
USIM or SIM card, and prevents unauthorized users from using the USIM or SIM card.
NOTE
A PIN is a decimal integer of 4 to 8 digits. Obtain the initial PIN from the carrier.
Procedure
l Enable PIN authentication.
PIN authentication on a 3G modem prevents unauthorized users from using a USIM or
SIM card. After PIN authentication is enabled, the device will authenticate the PIN each
time when the USIM or SIM card is started. To use the 3G modem, you must enter the
correct PIN to unlock the USIM or SIM card.
a. Run:
system-view
In this step, after the PIN is entered manually or automatically, wait for a period of
time. When the system displays the message "PIN has been verified successfully.",
PIN authentication is successful.
l Change a PIN.
Periodically changing a PIN can improve security of the USIM or SIM card.
a. Run:
system-view
NOTE
PUKs are provided by the carrier. If a user enters incorrect PUKs for 10 consecutive times, the USIM or
SIM card is permanently locked, and the user needs to obtain a new one from the carrier.
a. Run:
system-view
d. Run:
pin unlock
In this step, you need to enter the old PIN and a new PIN, and then enter the new
PIN again to verify the new PIN. When the system displays the message "Warning:
PIN will be unlocked and changed. Continue? [Y/N]", select Y and wait for a
period of time. When the system displays the message "PIN has been unlocked and
changed successfully.", the USIM or SIM card has been unlocked.
----End
Procedure
l Run the display cellular interface-number { all | hardware | security | network |
profile | radio } command to check call session information about a 3G modem.
l Run the display interface cellular [ interface-number ] command to check the running
status of and statistics on the 3G cellular interface.
----End
Context
A 3G modem restarts automatically when it detects an exception. If the 3G modem cannot
restart automatically, restart it manually.
NOTE
The SIM, USIM, or UIM card is not hot-swappable. To ensure that the SIM, USIM, or UIM card works
normally, restart the 3G modem manually after hot-swapping the SIM, USIM, or UIM card.
You can run the display cellular command to check whether the SIM, USIM, or UIM card is working
properly based on the SIM Status or UIM Status field.
Procedure
Step 1 Run the system-view command to enter the system view.
Step 2 Run the interface cellular interface-number command to enter the 3G cellular interface view.
----End
Context
When a 3G modem is not attached to a Packet Switch (PS) domain, you can configure the 3G
modem to automatically restart and set the interval at which the 3G modem automatically
restarts. Then the 3G modem automatically restarts and starts dialing until it is attached to a
PS domain.
Procedure
Step 1 Run the system-view command to enter the system view.
Step 2 Run the interface cellular interface-number command to enter the 3G cellular interface view.
Step 3 Run the packet-service recover interval command to configure the 3G modem to
automatically restart and set the interval at which the 3G modem automatically restarts.
By default, a 3G modem does not automatically restart.
----End
Context
When the dial-up on a 3G cellular interface fails for several consecutive times, you can set the
maximum number of dial-up failures. When the number of consecutive dial-up failures
reaches the maximum value, the device restarts the 3G modem for automatic fault recovery.
Procedure
Step 1 Run the system-view command to enter the system view.
Step 2 Run the interface cellular interface-number command to enter the 3G cellular interface view.
Step 3 Run the modem auto-recovery dial action modem-reboot fail-times times command to set
the maximum number of dial-up failures. When the number of consecutive dial-up failures
reaches the maximum value, the device restarts the 3G modem.
NOTE
It is recommended that the maximum number of consecutive dial-up failures should be less than 8.
----End
Context
When a 3G link is unstable because of weak 3G signals or noises, you may fail to access an
external network through a 3G link even if the dial-up succeeds. To solve this problem,
configure the device to use an NQA test instance to detect the 3G link status. When the 3G
link is unstable, the device triggers an action to recover the 3G link.
Procedure
Step 1 Run the system-view command to enter the system view.
Step 2 Run the interface cellular interface-number command to enter the 3G cellular interface view.
Step 3 Run the modem auto-recovery track nqa admin-name test-name [ probe-cycle [ seconds ]
period ] command to reference an NQA test instance to detect a 3G link.
By default, a device does not use an NQA test instance to detect a 3G link.
NOTE
The NQA test instance used in this step must be an ICMP NQA test instance. For details
about how to configure an ICMP NQA test instance, see Configuring an ICMP Test Instance
in Huawei AR Series Access Routers Configuration Guide - Network Management
Configuration.
Step 4 Run the modem auto-recovery track action { plmn-search | modem-reboot | redial } fail-
times times command to set the maximum number of 3G link detection failures in an NQA
test instance. When the number of consecutive 3G link detection failures in an NQA test
instance reaches the maximum value, the device triggers an action to recover the 3G link.
By default, the maximum number of 3G link detection failures in an NQA test instance is not
configured. That is, the device does not trigger an action to recover a 3G link when 3G link
detection fails for several consecutive times.
NOTE
----End
Context
To monitor the status of an Ethernet interface or locate faults on the interface, collect traffic
statistics on the interface. Before collecting traffic statistics on a 3G cellular interface within a
period of time, delete the existing traffic statistics on this interface.
The cleared traffic statistics on a 3G cellular interface cannot be restored. Exercise caution
when you run the reset counters interface cellular command.
Procedure
l Run the reset counters interface cellular [ interface-number ] command to clear
statistics on the 3G cellular interface.
----End
Context
To view changes of the 3G signal strength, cell ID, or network type in WWAN logs, you can
enable the WWAN log function and check WWAN logs.
Procedure
Step 1 Run:
system-view
The RSSI threshold used for determining the 3G signal strength is configured.
By default, the RSSI threshold used for determining the 3G signal strength is -89 dBm.
To change the RSSI threshold used for determining the 3G signal strength, perform this step.
l If the strength of received 3G signals is greater than the RSSI threshold 10 consecutive
times, and the signal strength becomes normal, the device records the WWAN/5/
WWAN_RSSI_NORMAL log.
l If the strength of received 3G signals is not greater than the RSSI threshold 10
consecutive times, and the signal strength becomes weak, the device records the
WWAN/5/WWAN_RSSI_WEAK log.
NOTE
----End
Networking Requirements
Because some branches are located in remote areas, it is difficult to deploy fixed networks. As
shown in Figure 11-6, to meet service transmission requirements, the branch uses the Router
as the egress gateway and uses a 3G cellular interface to connect to the Internet through the
WCDMA network.
The branch intranet is on the network segment 10.10.10.0/24 and all hosts join VLAN 10. The
branch requires that the Router assign IP addresses to intranet users and that the users access
the Internet.
The branch has subscribed to the yearly-package service and obtained the following
information from the carrier:
l User name and password: 3guser and Password@123
l APN: 3GNET
l Dialer number: *99#
Figure 11-6 Networking diagram for configuring a link of a 3G cellular interface as the
primary link to connect to the Internet (WCDMA network)
Application server PC
Headquarters
WCDMA
network
Cellular0/0/0
Enterprise
branch
Router
VLAN10
10.10.10.0/24
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure C-DCC for a dial-up connection so that the 3G cellular interface connects to
the WCDMA network.
2. Configure the enterprise intranet and configure the Router to assign IP addresses to
intranet users.
3. Configure NAT to allow branch users to access the Internet.
4. Configure a default route and specify the 3G cellular interface as the outbound interface
so that traffic from the branch intranet is forwarded to the Internet through the 3G
cellular interface.
Procedure
Step 1 Configure C-DCC for a dial-up connection.
# Create an APN profile.
<Huawei> system-view
# Enable C-DCC.
[Router-Cellular0/0/0] dialer enable-circular
# Enable DHCP.
[Router] dhcp enable
# Configure the interface to use the global address pool to allocate IP addresses to users.
[Router] interface vlanif 10
[Router-Vlanif10] ip address 10.10.10.1 255.255.255.0
[Router-Vlanif10] dhcp select global
[Router-Vlanif10] quit
Step 4 Configure a default route and specify Cellular0/0/0 as the outbound interface.
[Router] ip route-static 0.0.0.0 0 cellular 0/0/0
# Run the display cellular command to check call session information on the 3G modem.
You can see that the APN is 3GNET, the network type is WCDMA, and the network
connection mode is WCDMA precedence.
[Router] display cellular 0/0/0 all
Modem State:
Hardware Information.
=====================
Model = MC509
Modem Type = WCDMA USB modem
Modem Firmware Version = 11.106.15.17.000
Hardware Version = CP12TCPU
Integrate circuit card identity (ICCID) = 98681011274300909893
International Mobile Subscriber Identity (IMSI) = 460016002707237
International Mobile Equipment Identity (IMEI) = 354661034412719
Factory Serial Number (FSN) = MLA7NA1093003693
Modem Status = Online
Profile Information.
====================
Profile 1 = ACTIVE
--------
PDP Type = IPv4, Header Compression = OFF
Data Compression = OFF
Access Point Name (APN) = 3GNET
Packet Session Status = Active
* - Default profile
Network Information.
====================
Current Service Status = Service available
Service Domain = Combined
Current Service = Combined
Packet Service = Attached
----End
Example
l Configuration file of the Router
#
sysname Router
#
vlan batch 10
#
dhcp enable
#
acl number 3002
rule 5 permit ip source 10.10.10.0 0.0.0.255
#
ip pool 3gpool
gateway-list 10.10.10.254
network 10.10.10.0 mask 255.255.255.0
#
interface Vlanif10
ip address 10.10.10.1 255.255.255.0
dhcp select global
#
interface Ethernet2/0/0
port link-type trunk
port trunk allow-pass vlan 10
#
interface Cellular0/0/0
link-protocol ppp
ppp ipcp dns request
dialer enable-circular
apn-profile 3gprofile
dialer timer autodial 10
dialer number *99# autodial
nat outbound 3002
ip address negotiate
#
apn profile 3gprofile
user name 3guser password cipher %@%@Gy-Z:-sDMYJ`qiLe/gJG)}hP%@%@
apn 3GNET
#
ip route-static 0.0.0.0 0.0.0.0 Cellular0/0/0
#
return
Networking Requirements
Because some branches are located in remote areas, it is difficult to deploy fixed networks. As
shown in Figure 11-7, to meet service transmission requirements, the branch uses the Router
as the egress gateway and uses a 3G cellular interface to connect to the Internet through the
CDMA2000 network.
The branch intranet is on the network segment 10.10.10.0/24 and all hosts join VLAN 10. The
branch requires that the Router assign IP addresses to intranet users and that the users access
the Internet.
The branch has subscribed to the yearly-package service and obtained the following
information from the carrier:
l User name and password: 3guser and Password@123
l Dialer number: #777
Figure 11-7 Networking diagram for configuring 3G cellular links as primary links to connect
to the Internet (CDMA2000 network)
Application server PC
Headquarters
CDMA2000
network
Enterprise
branch
Router
VLAN10
10.10.10.0/24
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure C-DCC for a dial-up connection so that the 3G cellular interface connects to
the CDMA2000 network.
2. Configure the enterprise intranet and configure the Router to assign IP addresses to
intranet users.
3. Configure NAT to allow branch users to access the Internet.
4. Configure a default route and specify the 3G cellular interface as the outbound interface
so that traffic from the branch intranet is forwarded to the Internet through the 3G
cellular interface.
Procedure
Step 1 Configure C-DCC for a dial-up connection.
# Create an APN profile.
<Huawei> system-view
# Enable C-DCC.
[Router-Cellular0/0/0] dialer enable-circular
# Enable DHCP.
[Router] dhcp enable
# Configure the interface to use the global address pool to allocate IP addresses to users.
[Router] interface vlanif 10
[Router-Vlanif10] ip address 10.10.10.1 255.255.255.0
[Router-Vlanif10] dhcp select global
[Router-Vlanif10] quit
Step 4 Configure a default route and specify Cellular0/0/0 as the outbound interface.
[Router] ip route-static 0.0.0.0 0 cellular 0/0/0
# Run the display interface cellular command to check information about the cellular
interface. In the command output, traffic is forwarded through the cellular interface, both the
physical layer status and link layer status of the interface are Up and the IP address
dynamically obtained is 10.1.1.2/24.
[Router] display interface Cellular 0/0/0
Cellular0/0/0 current state : UP
Line protocol current state : UP (spoofing)
Description:HUAWEI, AR Series, Cellular0/0/0 Interface
Route Port,The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet Address is negotiated, 10.1.1.2/24
Link layer protocol is PPP
LCP opened, IPCP opened
Current system time: 2011-06-08 11:35:23
Modem State: Present
Last 300 seconds input rate 555 bytes/sec 4440 bits/sec 12 packets/sec
Last 300 seconds output rate 11230 bytes/sec 89840 bits/sec 311 packets/sec
Input: 210 packets, 87205 bytes
Unicast: 200, Ununicast: 10
Output:225340 packets, 6760917 bytes
Unicast: 225300, Ununicast: 40
Input bandwidth utilization : 0.01%
Output bandwidth utilization : 0.01%
# Run the display cellular command to check call session information on the 3G modem.
You can see that the the wireless network type is EVDO and the network connection mode is
Hybrid.
[Router] display cellular 0/0/0 all
Modem State:
Hardware Information.
=====================
Model = MC509
Modem Type = CDMA2000 module
Manufacturer = Huawei Technologies Co., Ltd.
Modem Firmware Version = 11.106.15.17.000
Hardware Version = MC509ME1MC509M
Electronic Serial Number (ESN) = None
Preferred Roaming List (PRL) Version = 0
Integrate circuit card identity (ICCID) =
97681011274301909894
International Mobile Subscriber Identity (IMSI) =
460036002707237
Modem Status = Online
Network Information.
====================
Current Service Status = Service
available
Current Roaming Status = Home
Network Connection Mode = Hybrid
Current Network Connection = EVDO
Upstream Bandwidth = 153kbps
Downstream Bandwidth = 2.4mbps
Radio Information.
==================
Current RSSI(1xRTT) = Unknown
Current RSSI(EVDO) = -58 dBm
Current Voltage = 3327 mV
Modem Security Information.
===========================
PIN Verification = Disabled
----End
Example
l Configuration file of the Router
#
sysname Router
#
vlan batch 10
#
dhcp enable
#
acl number 3002
rule 5 permit ip source 10.10.10.0 0.0.0.255
#
ip pool 3gpool
gateway-list 10.10.10.254
network 10.10.10.0 mask 255.255.255.0
#
interface Vlanif10
ip address 10.10.10.1 255.255.255.0
dhcp select global
#
interface Ethernet2/0/0
port link-type trunk
port trunk allow-pass vlan 10
#
interface Cellular0/0/0
link-protocol ppp
ppp ipcp dns request
dialer enable-circular
apn-profile 3gprofile
dialer timer autodial 10
dialer number #777 autodial
nat outbound 3002
ip address negotiate
#
apn profile 3gprofile
user name 3guser password cipher %@%@Gy-Z:-sDMYJ`qiLe/gJG)}hP%@%@
#
ip route-static 0.0.0.0 0.0.0.0 Cellular0/0/0
#
return
Networking Requirements
Because some branches are located in remote areas, it is difficult to deploy fixed networks. As
shown in Figure 11-8, to meet service transmission requirements, the branch uses the Router
as the egress gateway and uses a 3G cellular interface to connect to the Internet through the
WCDMA network.
To ensure secure data exchanges between the headquarters and branch, the branch needs to
use an IPSec tunnel. The headquarters gateway RouterB uses a static public address, and the
branch gateway RouterA uses a 3G interface to dynamically obtain an IP address from the
provider to access a public network. To deploy an IPSec policy, the headquarters need to
obtain the branch IP address. The branch IP address changes frequently and is difficult to
maintain.
Application Headquarters
server PC
RouterB 10.10.2.0/24
GE1/0/0
1.1.1.1/24
IPSec tunnel
WCDMA
network
Enterprise
branch
RouterA
VLAN10
10.10.10.0/24
Configuration Roadmap
You can use an IPSec policy template on the headquarters gateway so that the headquarters
gateway and branch gateway can perform IPSec negotiation without knowing the branch IP
address. In addition, the configuration is simple.
The configuration roadmap for RouterA is as follows:
l Configure an ACL to define data flows to be protected by the IPSec tunnel.
l Configure an IPSec proposal to define the traffic protection method.
l Configure an IKE peer and define attributes used for IKE negotiation.
l Configure an IPSec policy to determine methods used to protect different types of data
flows.
Procedure
Step 1 Configure RouterA.
# Configure an ACL to define data flows to be protected by the IPSec tunnel.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] acl number 3000
[RouterA-acl-adv-3000] rule 5 permit ip source 10.10.1.0 0.0.0.255 destination
10.10.2.0 0.0.0.255
[RouterA-acl-adv-3000] quit
# Configure an IKE peer for establishing an IPSec connection with RouterB through
automatic negotiation.
[RouterA] ike peer rta v1
[RouterA-ike-peer-rta] pre-shared-key cipher huawei@123
[RouterA-ike-peer-rta] remote-address 1.1.1.1
[RouterA-ike-peer-rta] quit
# Configure a 3G interface.
[RouterA] interface cellular 0/0/0
[RouterA-Cellular0/0/0] ip address negotiate
[RouterA-Cellular0/0/0] ppp ipcp dns request
[RouterA-Cellular0/0/0] dialer enable-circular
[RouterA-Cellular0/0/0] dialer number *99# autodial
[RouterA-Cellular0/0/0] mode wcdma wcdma-precedence
[RouterA-Cellular0/0/0] apn-profile 3gprofile
[RouterA-Cellular0/0/0] ipsec policy rta
[RouterA-Cellular0/0/0] shutdown
[RouterA-Cellular0/0/0] undo shutdown
[RouterA-Cellular0/0/0] quit
# Configure an IKE peer. The IKE peer does not require a remote IP address and can perform
negotiation with other branches.
[RouterB] ike peer rtb v1
[RouterB-ike-peer-rtb] pre-shared-key cipher huawei@123
[RouterB-ike-peer-rtb] quit
# Configure an IPSec policy and reference the IPSec policy template in the IPSec policy.
[RouterB] ipsec policy rtb1 1 isakmp template temp
----End
Configuration Files
l Configuration file of RouterA
#
sysname RouterA
#
interface
Cellular0/0/0
link-protocol ppp
ppp ipcp dns request
dialer enable-circular
apn-profile 3gprofile
dialer timer autodial
10
dialer number *99#
autodial
ipsec policy
rta
ip address negotiate
#
apn profile
3gprofile
user name 3guser password cipher %@%@,)AK/L"R0'^5%YUBDqKP#^y>%@%@
authentication-mode auto
apn 3GNET
#
ip route-static 0.0.0.0 0.0.0.0 Cellular0/0/0
#
return
sysname RouterB
ipsec proposal
rtb
esp authentication-algorithm
sha2-256
esp encryption-algorithm aes-256
#
interface
GigabitEthernet1/0/0
ip address 1.1.1.1
255.255.255.0
ipsec policy rtb1
#
ip route-static 0.0.0.0 0.0.0.0 GigabitEthernet1/0/0
#
return
Networking Requirements
As shown in Figure 11-9, the enterprise branch uses a G.SHDSL interface as the primary
interface to access the Internet.
The branch requires high network connectivity. A very short network disconnect may affect
services of the branch, so a network backup solution is necessary for the branch. Wired links
can be used as backup links; however, it takes a long time and costs too much to deploy wired
links. As 3G links are easy to deploy and more flexible than wired links, the branch uses 3G
links as backup links to connect to the Internet. When the primary link fails, traffic is
immediately switched to the backup link, enhancing the reliability of Internet access.
Figure 11-9 Networking diagram for configuring the 3G cellular interface as the backup
interface to connect to the Internet
Application server PC
Headquarters
DSLAM WCDMA
network
ATM0/0/0
Cellular0/0/0
Enterprise
branch
Router
VLAN 10
10.10.10.0/24
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure the enterprise intranet and configure the Router to assign IP addresses to
enterprise intranet users.
2. Configure a G.SHDSL interface as the primary interface and configure the G.SHDSL
interface to use point-to-point protocol over ATM (PPPoA) to connect to the Internet.
3. Configure a 3G interface as the backup interface and configure the 3G interface to
connect to the WCDMA network using C-DCC.
4. Configure a default route for the primary interface and backup interface respectively so
that traffic from the enterprise intranet is forwarded to the Internet through the G.SHDSL
interface and 3G interface.
Procedure
Step 1 Configure the enterprise intranet.
# Create VLAN 10 and add Ethernet2/0/0 to VLAN 10.
<Huawei> system-view
[Huawei] sysname Router
[Router] vlan 10
[Router-vlan10] quit
[Router] interface ethernet 2/0/0
[Router-Ethernet2/0/0] port link-type trunk
[Router-Ethernet2/0/0] port trunk allow-pass vlan 10
[Router-Ethernet2/0/0] quit
# Enable DHCP.
[Router] dhcp enable
# Configure the interface to use the global address pool to allocate IP addresses to users.
[Router] interface vlanif 10
[Router-Vlanif10] ip address 10.10.10.1 255.255.255.0
[Router-Vlanif10] dhcp select global
[Router-Vlanif10] quit
# Configure an ACL to define the data flows that are allowed to pass through.
[Router] acl number 3002
[Router-acl-adv-3002] rule 5 permit ip source 10.10.10.0 0.0.0.255
[Router-acl-adv-3002] quit
Step 2 Configure the G.SHDSL interface as the primary interface to connect to the Internet.
[Router] interface virtual-template 10
[Router-Virtual-Template10] ip address ppp-negotiate
[Router-Virtual-Template10] nat outbound 3002
[Router-Virtual-Template10] quit
[Router] interface atm 1/0/0
[Router-Atm1/0/0] pvc voip 1/35
[Router-atm-pvc-Atm1/0/0-1/35-voip] map ppp virtual-template 10
[Router-atm-pvc-Atm1/0/0-1/35-voip] quit
[Router-Atm1/0/0] standby interface cellular 0/0/0
[Router-Atm1/0/0] quit
# Enable C-DCC.
[Router-Cellular0/0/0] dialer enable-circular
# Configure NAT.
[Router-Cellular0/0/0] nat outbound 3002
Backup-flag meaning:
M---MAIN B---BACKUP V---MOVED U---USED
D---LOAD P---PULLED
----------------------------------------------------------------------------
Below is track BFD information:
Bfd-Name Bfd-State BackupInterface State
----------------------------------------------------------------------------
Below is track IP route information:
Destination/Mask Route-State BackupInterface State
----------------------------------------------------------------------------
Below is track NQA Information:
Instance Name BackupInterface State
# Run the shutdown command on ATM1/0/0 to simulate a link fault. Run the display
standby state command on the Router to check the status of the primary and backup
interfaces. The command output shows that ATM1/0/0 is in Down state and Cellular0/0/0 is
in UP state, indicating that the backup interface has been used.
Backup-flag meaning:
M---MAIN B---BACKUP V---MOVED U---USED
D---LOAD P---PULLED
----------------------------------------------------------------------------
Below is track BFD information:
----------------------------------------------------------------------------
Below is track IP route information:
Destination/Mask Route-State BackupInterface State
----------------------------------------------------------------------------
Below is track NQA Information:
Instance Name BackupInterface State
----End
Configuration Files
l Configuration file of the Router
#
sysname Router
#
vlan batch 10
#
dhcp enable
#
acl number 3002
rule 5 permit ip source 10.10.10.0 0.0.0.255
#
ip pool 3gpool
gateway-list 10.10.10.254
network 10.10.10.0 mask 255.255.255.0
#
interface Vlanif10
ip address 10.10.10.1 255.255.255.0
dhcp select global
#
interface Ethernet2/0/0
port link-type trunk
port trunk allow-pass vlan 10
#
interface Cellular0/0/0
link-protocol ppp
ppp ipcp dns request
dialer enable-circular
apn-profile 3gprofile
dialer timer autodial 10
dialer number *99# autodial
nat outbound 3002
ip address negotiate
#
interface Atm1/0/0
pvc voip 1/35
map ppp Virtual-Template10
standby interface Cellular0/0/0
#
interface Virtual-Template10
ip address ppp-negotiate
nat outbound 3002
#
apn profile 3gprofile
user name 3guser password cipher %@%@}7g|@uc0bBQM%]VMM28)3U".%@%@
authentication-mode auto
apn 3GNET
#
ip route-static 0.0.0.0 0.0.0.0 virtual-template 10 preference 40
ip route-static 0.0.0.0 0.0.0.0 cellular 0/0/0 preference 80
#
return
Networking Requirements
Because some branches are located in remote areas, it is difficult to deploy fixed networks. As
shown in Figure 11-10, to meet service transmission requirements, the branch uses the Router
as the egress gateway and uses 3G cellular interfaces to connect to the Internet through the
WCDMA network.
The branch requires high network connectivity. A very short network disconnect may affect
services of the branch, so a network backup solution is necessary for the branch. Wired links
can be used as backup links; however, it takes a long time and costs too much to deploy wired
links. As 3G links are easy to deploy and more flexible than wired links, the branch uses 3G
links as backup links to connect to the Internet. When the primary link fails, traffic is
immediately switched to the backup link, enhancing the reliability of Internet access.
Headquarters
WCDMA CDMA
network network
Cellular0/0/0 Cellular0/0/1
Enterprise
branch
Router
VLAN10
10.10.10.0/24
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure the enterprise intranet and configure the Router to assign IP addresses to
enterprise intranet users.
2. Configure Cellular0/0/0 as the primary interface and configure Cellular0/0/0 to connect
to the WCDMA network using C-DCC.
3. Configure Cellular0/0/1 as the backup interface and configure Cellular0/0/1 to connect to
the CDMA2000 network using C-DCC.
4. Configure a default route for the primary interface and backup interface respectively so
that traffic from the enterprise intranet is forwarded to the Internet through Cellular0/0/0
and Cellular0/0/1.
Procedure
Step 1 Configure the enterprise intranet.
# Create VLAN 10 and add Ethernet2/0/0 to VLAN 10.
<Huawei> system-view
[Huawei] sysname Router
[Router] vlan 10
[Router-vlan10] quit
[Router] interface ethernet 2/0/0
[Router-Ethernet2/0/0] port link-type trunk
[Router-Ethernet2/0/0] port trunk allow-pass vlan 10
[Router-Ethernet2/0/0] quit
# Enable DHCP.
[Router] dhcp enable
# Configure the interface to use the global address pool to allocate IP addresses to users.
[Router] interface vlanif 10
[Router-Vlanif10] ip address 10.10.10.1 255.255.255.0
[Router-Vlanif10] dhcp select global
[Router-Vlanif10] quit
# Configure an ACL to define the data flows that are allowed to pass through.
[Router] acl number 3002
[Router-acl-adv-3002] rule 5 permit ip source 10.10.10.0 0.0.0.255
[Router-acl-adv-3002] quit
Step 2 Configure Cellular0/0/0 as the primary interface to connect to the WCDMA network.
# Create an APN profile.
[Router] apn profile 3gprofile1
[Router-apn-profile-3gprofile1] apn 3GNET
[Router-apn-profile-3gprofile1] user name 3guser1 password cipher Password@123
authentication-mode auto
[Router-apn-profile-3gprofile1] quit
# Enable C-DCC.
[Router-Cellular0/0/0] dialer enable-circular
# Configure NAT.
[Router-Cellular0/0/0] nat outbound 3002
Step 3 Configure Cellular0/1/0 as the backup interface to connect to the CDMA2000 network.
# Create an APN profile.
[Router] apn profile 3gprofile2
[Router-apn-profile-3gprofile2] user name 3guser2 password cipher Password@123
authentication-mode auto
[Router-apn-profile-3gprofile2] quit
# Enable C-DCC.
[Router-Cellular0/0/1] dialer enable-circular
# Configure NAT.
[Router-Cellular0/0/1] nat outbound 3002
[Router-Cellular0/0/0] shutdown
[Router-Cellular0/0/0] undo shutdown
[Router-Cellular0/0/0] quit
Backup-flag meaning:
M---MAIN B---BACKUP V---MOVED U---USED
D---LOAD P---PULLED
----------------------------------------------------------------------------
Below is track BFD information:
Bfd-Name Bfd-State BackupInterface State
----------------------------------------------------------------------------
Below is track IP route information:
Destination/Mask Route-State BackupInterface State
----------------------------------------------------------------------------
Below is track NQA Information:
Instance Name BackupInterface State
# Run the shutdown command on Cellular0/0/0 to simulate a link fault. Run the display
standby state command on the Router to check the status of the primary and backup
interfaces. The command output shows that Cellular0/0/0 is in DOWN state and Cellular0/0/1
is in UP state, indicating that the backup interface has been used.
Backup-flag meaning:
M---MAIN B---BACKUP V---MOVED U---USED
D---LOAD P---PULLED
----------------------------------------------------------------------------
Below is track BFD information:
Bfd-Name Bfd-State BackupInterface State
----------------------------------------------------------------------------
Below is track IP route information:
Destination/Mask Route-State BackupInterface State
----------------------------------------------------------------------------
Below is track NQA Information:
Instance Name BackupInterface State
----End
Example
l Configuration file of the Router
#
sysname Router
#
vlan batch 10
#
dhcp enable
#
acl number 3002
rule 5 permit ip source 10.10.10.0 0.0.0.255
#
ip pool 3gpool
gateway-list 10.10.10.254
network 10.10.10.0 mask 255.255.255.0
#
interface Vlanif10
ip address 10.10.10.1 255.255.255.0
dhcp select global
#
interface Ethernet2/0/0
port link-type trunk
port trunk allow-pass vlan 10
#
interface Cellular0/0/0
link-protocol ppp
ppp ipcp dns request
dialer enable-circular
apn-profile 3gprofile1
dialer timer autodial 10
dialer number *99# autodial
standby interface Cellular0/0/1
nat outbound 3002
ip address negotiate
#
interface Cellular0/0/1
link-protocol ppp
ppp ipcp dns request
dialer enable-circular
apn-profile 3gprofile2
dialer timer autodial 10
dialer number #777 autodial
nat outbound 3002
ip address negotiate
#
apn profile 3gprofile1
user name 3guser1 password cipher %@%@}7g|@uc0bBQM%]VMM28)3U".%@%@
authentication-mode auto
apn 3GNET
apn profile 3gprofile2
user name 3guser2 password cipher %@%@}6w|@uc0bBQM%]VMM28)3B".%@%@
authentication-mode auto
#
ip route-static 0.0.0.0 0.0.0.0 Cellular0/0/0 preference 40
ip route-static 0.0.0.0 0.0.0.0 Cellular0/0/1 preference 80
#
return
Networking Requirements
Because some branches are located in remote areas, it is difficult to deploy fixed networks.
Enterprise branches need to use the 3G mode for Internet access and VoIP communication
through the IMS network.
As shown in Figure 11-11, the branch uses the Router as the egress gateway and uses 3G
cellular interfaces to connect to the Internet and IMS network through the 3G network.
Figure 11-11 Networking diagram for configuring 3G cellular interfaces to use the multi-
APN function for Internet access and VoIP communication
Application server PC
Headquarters
IMS
network
3G
network
1
Cellular0/0/0:2 Cellular0/0/0:1
VoIP service Data service
Enterprise
branch
Router
VLAN10
10.10.10.0/24
Configuration Roadmap
You can use the multi-APN function of 3G cellular interfaces to implement data and VoIP
communication.
The configuration roadmap is as follows:
# Configure the enterprise intranet and configure the Router to assign IP addresses to intranet
users.
# Create two APN profiles. One profile corresponds to the APN connecting to the Internet,
and the other corresponds to the APN connecting to the IMS network.
# Configure 3G cellular interfaces, configure a network connection mode, and enable the
multi-APN function.
# Configure C-DCC on the two 3G interfaces and bind the APN profiles to the two interfaces.
# Configure NAT and specify the IP address of the 3G channel interface as the public IP
address of the enterprise branch.
# Configure default routes and specify 3G channel interfaces as outbound interfaces so that
traffic from the branch intranet is forwarded to the 3G network through the 3G channel
interfaces.
Procedure
Step 1 Configure the enterprise intranet.
# Enable DHCP.
[Router] dhcp enable
# Configure C-DCC on cellular0/0/0:2 and bind the APN profile voicenet to cellular0/0/0:2.
[Router] interface cellular 0/0/0:2
[Router-Cellular0/0/0:2] ip address negotiate
[Router-Cellular0/0/0:2] dialer enable-circular
[Router-Cellular0/0/0:2] dialer number *99# autodial
[Router-Cellular0/0/0:2] apn-profile voicenet
[Router-Cellular0/0/0:2] shutdown
[Router-Cellular0/0/0:2] undo shutdown
[Router-Cellular0/0/0:2] quit
Step 6 Configure default routes and specify the 3G channel interfaces as the outbound interfaces.
[Router] ip route-static 0.0.0.0 0 cellular 0/0/0:1
[Router] ip route-static 0.0.0.0 0 cellular 0/0/0:2
----End
Example
l Configuration file of the Router
#
sysname Router
#
vlan batch 10
#
dhcp enable
acl number
3002
rule 5 permit ip source 10.10.10.0 0.0.0.255
#
ip pool 3gpool
gateway-list 10.10.10.254
network 10.10.10.0 mask 255.255.255.0
#
interface Vlanif10
ip address 10.10.10.1 255.255.255.0
dhcp select global
#
interface Ethernet2/0/0
port link-type trunk
port trunk allow-pass vlan 10
#
interface Cellular0/0/0
link-protocol ppp
multi-apn enable
#
interface Cellular0/0/0:1
link-protocol ppp
dialer enable-circular
apn-profile datanet
dialer timer autodial 10
dialer number *99# autodial
nat outbound 3002
ip address negotiate
#
interface Cellular0/0/0:2
dialer enable-circular
apn-profile voicenet
dialer timer autodial 10
dialer number *99# autodial
nat outbound 3002
ip address negotiate
#
apn profile datanet
user name 3guser password cipher %@%@9eCPJjmQR!gQxf6@q%.;,u5q%@%@
authentication-mode chap
apn DATANET
apn profile voicenet
apn VOICENET
#
ip route-static 0.0.0.0 0.0.0.0 Cellular0/0/0:1
ip route-static 0.0.0.0 0.0.0.0 Cellular0/0/0:2
#
return
Fault Symptom
When using 3G cellular interfaces to access the Internet through dial-up, users fail to be
authenticated on an external PDN.
Fault Analysis
The possible causes are as follows:
1. The authentication mode configured using the user command in the APN profile view is
inconsistent with the authentication mode provided by the carrier.
2. The user name and password configured using the user command in the APN profile
view are inconsistent with the user name and password provided by the carrier.
Troubleshooting Procedure
Check the preceding causes one by one. If the fault occurs due to cause 1, use the following
solution:
l Confirm the network authentication mode with the carrier, and run the user command in
the APN profile view to check the authentication mode. If the authentication mode is
inconsistent with that provided by the carrier, configure the authentication mode to be
consistent with that provided by the carrier.
l Run the user command in the APN profile view to configure auto mode so that the
authentication mode can match with that provided by the carrier.
If the fault occurs due to cause 2, obtain the correct user name and password from the carrier
and ensure the user name and password are consistent with those configured by running the
user command in the APN profile view.
Fault Symptom
During IPSec configuration on a 3G cellular interface, after the 3G cellular interface is
configured with a fixed IP address, dial-up fails.
Fault Analysis
The cause is that the 3G cellular interface does not support the fixed IP address. Therefore,
IPSec cannot be configured on the 3G cellular interface using a fixed IP address.
Troubleshooting Procedure
1. Configure a 3G cellular interface of a branch to obtain IP an address dynamically.
2. Configure an IPSec policy template on the headquarters router so that the headquarters
router and branch gateway can perform IPSec negotiation without knowing the branch IP
address.
For the detailed configuration, see 11.6.3 Example for Configuring a Branch to Access
the Internet Using a 3G Cellular Interface and Establishing an IPSec Tunnel
Between Headquarters and Branch Using an IPSec Policy Template.
11.8 FAQ
11.8.1 How Do I Locate the Cause for a 3G Dial-up Access Failure?
Run the display cellular interface-number network command to check the Current Service
Status field.
If the Current Service Status field displays Service Available, the 3G service is available.
Perform the following operations to further check the router configuration:
If the Current Service Status field displays No Service or Emergency, the 3G service is
unavailable. If the 3G service is unavailable, perform the following operations:
If the 3G interface is connected to the CDMA2000 network or a network that is compatible with the
CDMA2000 network, you can skip this step.
2. Run the display cellular interface-number network command to check the Current
Network Connection field and check whether the type of the network connected to the
3G modem is correct.
3. Run the display cellular interface-number radio command to check the Current RSSI
field and received signal strength. If the RSSI is larger than or equal to -85 dBm, signals
are stable and reliable.
– If the Current RSSI field displays a value smaller than -85 dBm, perform the
following operations:
i. Check whether the angle of the antennas is proper. The angel of antennas
affects signal receiving and sending.
ii. Check whether the 3G/2G signal in the area is strong.
– If the Current RSSI field displays Unknown, perform the following operations:
i. Check whether the 3G data card is supported by the device.
ii. Check whether the 3G hardware (including the 3G data card/3G interface
card/3G model) or 3G antenna is damaged, not properly installed, or not
fastened.
iii. Check whether the area is covered with 3G/2G signals.
4. Check the SIM, USIM, or UIM card.
a. Contact the carrier to confirm whether 3G/2G services is enabled on the SIM,
USIM, or UIM card and whether the users owe fees.
b. Run the display cellular interface-number radio command to check the SIM
Status field and check whether the SIM, USIM, or UIM card status is normal.
If the SIM Status field displays Not insert, the SIM, USIM, or UIM card is not
installed properly.
5. Run the display cellular interface-number radio command to check PIN Status and
check whether the PIN status is normal.
2. Check whether the 3G data card or 3G interface card and SIM, USIM, or UIM card are
damaged or not properly installed.
3. Run the display dialer interface cellular interface-number command to check the Idle
field and check whether the maximum idle time of the 3G link is manually shortened.
If a branch connects to a network through a 3G cellular interface and requires a long
online duration, on-demand dial-up is not necessary for the branch. If on-demand dial-up
is configured to reduce data traffic, run the dialer timer idle seconds command to set the
link idle time of a 3G link to 600 seconds or longer.
11.8.4 Why Does the SIM, USIM, or UIM Card Fail to Work After
Being Installed on the Device?
The SIM, USIM, or UIM card is not hot-swappable. When the SIM, USIM, or UIM card is
installed on the device after the device is started, the card cannot work.
After hot-swapping the SIM, USIM, or UIM card, restart the 3G modem manually so that the
SIM, USIM, or UIM card can work normally.
You can configure Long Term Evolution (LTE) cellular interfaces to transmit voice, video,
and data services over the LTE network.
After the short message service (SMS) alarm function is configured, a short message with the
specified content can be sent to notify specific users of the service interface status change.
12.12 Maintaining LTE Cellular Interfaces
Maintaining LTE cellular interfaces includes restarting LTE data cards and clearing statistics.
12.13 Configuration Examples
This section provides examples for configuring LTE cellular interfaces, including networking
requirements, networking diagrams, configuration roadmaps, and configuration procedures.
Definition
Long Term Evolution (LTE) is a standard developed by the 3rd Generation Partnership
Project (3GPP) for the Universal Mobile Telecommunications System (UMTS).
LTE is improvement over 3G technology, but not equal to 4G technology. LTE is a transition
from 3G to 4G technology. Compared with 3G technology, LTE has the following technical
advantages:
l Higher data transmission rate: LTE provides a downstream peak rate of 100 Mbit/s and
an upstream peak rate of 50 Mbit/s over a 20 MHz bandwidth.
l Improved spectrum efficiency.
l Increased network deployment flexibility: LTE supports bandwidth ranging from 1.25
MHz to 20 MHz.
l QoS guarantee: The LTE system design and strict QoS mechanism ensures better QoS
for delay-sensitive services such as voice over Internet Protocol (VoIP).
l Shorter delay on wireless networks.
l Higher cell edge bit rate: The high bit rate delivers higher performance for users located
on the cell edge.
l Backward compatible: LTE offers compatibility between the existing 3G system and
non-3GPP systems.
An LTE cellular interface is a physical interface supporting Long Term Evolution (LTE)
technology. Compared with 3G technology, LTE technology provides enterprises with the
high-bandwidth wireless WAN access service.
Type
LTE hardware includes the LTE interface card, and LTE model. The device equipped with the
LTE data card or LTE interface card provides LTE cellular interfaces, and LTE models have
LTE cellular interfaces. The LTE interface card, and LTE model have built-in LTE modem. A
LTE cellular interface manages a LTE modem. The LTE cellular interface uses a LTE modem
for wireless data transmission at the physical layer, PPP or Wireless Wide Area Network
(WWAN) at the data link layer, and IP at the network layer.
In addition, the LTE cellular interface provided by an 1LTE-L interface card can be
configured with two LTE channel interfaces numbered 1 and 2.
NOTE
You can re-insert an LTE data card into the device 5 seconds after the card is removed. If an LTE data card
cannot be identified after you fast remove and install the card, you must restart the device.
LTE includes the time division long term evolution (TD-LTE) and frequency-division duplex long term
evolution (FDD-LTE). Among LTE networks, LTE cellular interfaces can only connect to FDD-LTE and TD-
LTE networks. Among 3G networks, LTE cellular interfaces can only connect to GSM, WCDMA and TD-
SCDMA networks, not CDMA2000 networks.
Purpose
LTE technology deployed on routers provides wireless access and interconnection for
enterprise branches or small- and medium-sized enterprises. Compared with 3G technology,
LTE technology provides higher bandwidth on wireless WAN links to transmit more voice,
data, and video services for enterprise users.
Enterprises can use LTE technology to replace or back up wired WAN links such as Ethernet,
digital subscriber line (DSL), frame relay (FR), and integrated services digital network
(ISDN) links. LTE allows flexible, efficient, and fast network deployment, and provides a
backup for wired WAN links on an enterprise network.
Benefits
LTE technology brings users the following benefits:
l Wired WAN link backup: LTE technology backs up wired links such as Ethernet and
DSL, ensuring uninterrupted services if the wired links fail.
l Flexible, efficient, and fast network deployment: LTE technology provides service
coverage even in remote areas and mobile office scenarios.
l Secure virtual private network (VPN) access: An enterprise branch can set up a tunnel
with the enterprise headquarters on LTE links using VPN technologies, such as Generic
Routing Encapsulation (GRE), Layer 2 Tunneling Protocol (L2TP), or Internet Protocol
Security (IPSec) VPN. This tunnel allows the enterprise branch to communicate with the
headquarters in a fast, secure, and efficient way.
l Data services and multimedia services: LTE allows a router to connect to different
gateways using different access point names (APNs). For example, the router can use
one APN to access the Internet, and another APN to access the IP multimedia subsystem
(IMS). QoS settings on the router can be configured to control the quality of data and
multimedia services on the router.
Limitations
Due to limitations in wireless transmission, LTE may be limited in terms of throughput, delay,
and customer requirements:
l Throughput: varies depending on the number of active users and network congestion.
This is a common limitation of wireless networks.
l Delay: varies depending on the quality of network services provided by carriers and may
increase due to network congestion. Compared with wired networks, wireless networks
may cause longer delays.
l Carriers may pose other limitations on LTE.
12.2 Principles
This section describes the implementation of LTE.
Table 12-1 describes LTE network elements (NEs). A router connects to the LTE network as
user equipment (UE).
SGSN
UE
Router
NE Description
NE Description
Table 12-2 Frequency bands and rates supported by an LTE interface card
Attribute Description
Attribute Description
Rates l GSM CS: upstream 14.4 kbit/s and downstream 14.4 kbit/s
l GPRS: upstream 85.6 kbit/s and downstream 85.6 kbit/s
l EDGE: upstream 236.8 kbit/s and downstream 236.8 kbit/s
l WCDMA CS: upstream 64 kbit/s and downstream 64 kbit/s
l WCDMA PS: upstream 384 kbit/s and downstream 384 kbit/s
l HSPA+: upstream 5.76 Mbit/s and downstream 21.6 Mbit/s
l DC-HSPA+: upstream 5.76 Mbit/s and downstream 42 Mbit/s
l LTE FDD: upstream 50 Mbit/s and downstream 100 Mbit/s
PGW
DCC Cellular LTE
interface Modem
1. When data needs to be transmitted or the dial-up timer expires, the router uses C-DCC to
initiate a dial-up on a cellular interface. The cellular interface sends a connection setup
request message to the LTE modem.
2. The LTE modem sends a connection setup request message to the PGW. The message
contains user authentication information including the access point name (APN), user
name, and password.
3. The PGW authenticates the user identity. After authentication succeeds, the PGW sets up
a connection with the LTE modem and assigns an IP address to the LTE modem.
4. The LTE modem instructs the cellular interface to go Up physically.
5. The cellular interface negotiates with the LTE modem to obtain an IP address.
6. The cellular interface sets up a connection with the PGW and forwards data services.
NOTE
The LTE module of the device does not support forwarding of DHCP packets.
12.2.4 APN
Definition
An access point name (APN) identifies an external packet data network (PDN) that a user
needs to access. Users connect to a PDN using the APN of the PDN. As shown in Figure
12-3, a router can connect to the carrier's PDN and the enterprise's gateway using the APNs
configured for the carrier and enterprise. For example, APN1 is used to access the IMS
network, and APN2 is used access the enterprise data gateway.
APN1
Router
LTE core Internet
Fax
network gateway
eNode B
APN2
IP phone LSW Headquarters
Enterprise Enterprise
IMS gateway data gateway
PC1 PC2
LTE Multi-APN
In Figure 12-4, the 1LTE-L interface card on the router supports two APNs that share the
same cellular interface. You need to bind each APN to a cellular channel interface configured
on the cellular interface. Each cellular channel interface is a logical service interface that has
its own IP address, DCC dial-up configuration, and services (such as voice, data, and VPN).
LTE core
network
Router eNode B
APN2 for voice IMS
gateway
The two APNs share uplink bandwidth on the cellular interface. QoS must be configured to
schedule services of the APNs. For example, if one APN is used to transmit voice services
and the other APN is used to transmit data services, voice services must be transmitted with a
higher priority. QoS parameters must be configured on the cellular interface to ensure that
voice services are preferentially scheduled.
License Support
LTE Cellular Interface is a basic capability of an AR router and is not under license control.
12.4 Applications
This section describes the applicable scenario of LTE Cellular Interfaces.
DSL link
Branch Headquarters
Router DSLAM
LTE link
LTE
network Primary link
Backup link
In Figure 12-6, an enterprise branch has two LTE links to connect to the headquarters. LTE
link 1 is the primary link and connects to LTE network 1 of Carrier A. LTE link 2 is the
backup link and connects to LTE network 2 of Carrier B. If the primary link fails, traffic is
immediately switched to the backup LTE link, enhancing reliability of Internet access from
the enterprise branch.
Branch Headquarters
Router
LTE link
LTE
Branch Headquarters
network
Router
Figure 12-8 Communication between the enterprise branch and the headquarters using an
IPSec VPN tunnel
LTE link
LTE
Branch Headquarters
network
Router
IPSec tunnel
Internet
Branch LTE
network PGW Headquarters
Router
IMS
network
IMS
gateway
Data communication
VoIP communication
Figure 12-10 Networking diagram for accessing different LTE networks using dual SIM
cards
LTE
Master SIM network 1
card
Enterprise
Cellular0/0/0 Headquarters
branch
Router
To configure LTE cellular interfaces, set the interface connection parameters and configure C-
DCC for dial-up connection so that the LTE cellular interfaces can connect to the LTE
network. You can also configure the PIN management function to ensure security of SIM
cards.
NOTE
This chapter describes the connection parameters of LTE cellular interfaces, C-DCC for dial-up connection,
and PIN management. Based on enterprise service requirements, you probably need to configure PPP, DHCP,
DNS, NAT, firewall, and backup interface functions. For details, see relevant configuration guides.
Pre-configuration Tasks
Before setting the connection parameters of LTE cellular interfaces, complete the following
tasks:
1. Ensuring that an available LTE network covers the required region
2. Buying the LTE service and obtaining SIM cards that support the LTE service from the
carrier
3. Ensuring that the LTE data cards and SIM cards are available
Procedure
Follow the steps to set the connection parameters of LTE cellular interfaces. You can perform
12.7.6 Configuring an APN Profile (A Single SIM Card and A Single APN), 12.7.7
Configuring an APN Profile (A Single SIM Card and Dual APNs), and 12.7.8
Configuring APN Profiles (Dual SIM Cards and a Single APN) in any sequence. Other
steps must be performed in sequence.
NOTE
Procedure
Step 1 Run:
system-view
----End
Procedure
Step 1 Run:
system-view
Procedure
Step 1 Run:
system-view
NOTE
You can run the service domain ps-only command to configure an LTE modem to work only in the PS
domain when it connects to an LTE network.
----End
cellular interfaces are connected to the GSM/WCDMA/LTE network, the LTE data card
automatically adjusts the frequency band accordingly, which affects stability of LTE links.
When the frequency band of a GSM/WCDMA/LTE network that you access is fixed, you can
set the frequency band of the GSM/WCDMA/LTE network that LTE cellular interfaces are
connected to. This prevents frequency band changes caused by frequency interference and
ensures LTE link stability.
Procedure
l Manually configuring the frequency band of a GSM network
a. Run:
system-view
The frequency band of the GSM network that LTE cellular interfaces are connected
to is manually configured.
The frequency band of the WCDMA network that LTE cellular interfaces are
connected to is manually configured.
c. Run:
band lte { band1 | band2 | band3 | band4 | band5 | band7 | band8 |
band17 | band20 | band38 | band39 | band40 | band41 }*
The frequency band of the LTE network that LTE cellular interfaces are connected
to is manually configured.
----End
Context
LTE cellular interfaces can connect to the 3G or LTE network only when the 3G or LTE
network connection mode is configured for an LTE modem based on the type of the network
provided by the carrier. If the 3G or LTE network connection mode configured for an LTE
modem is inconsistent with the network type of the provided by the carrier, configure a
correct network connection mode.
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface cellular interface-number
Step 3 Run:
mode lte { auto | gsm-only | lte-only | umts-gsm | umts-only | wcdma-gsm | wcdma-
only }
By default, the 3G or LTE network connection mode is auto for an LTE modem.
----End
Context
An access point name (APN) identifies an external PDN network (for example, the Internet or
IMS network) that users want to access.
You can create an APN profile to configure APN. In the scenario where a single single SIM
card and a single APN are available, create an APN profile and bind the profile to an LTE
cellular interface so that the APN can be used to access the Internet for data communication.
Procedure
Step 1 Create an APN profile.
NOTE
You are advised to create an APN profile to configure an APN. You are not advised to run the profile
create profile-number { dynamic | static apn } command in the LTE cellular interface view to configure
an APN by creating a 3G modem parameter profile.
1. Run:
system-view
NOTE
The user name, password, and authentication mode for accessing the external PDN
network are configured.
By default, the user name, password, and authentication mode for accessing an external
PDN network are not configured.
Contact the carrier when configuring the user name, password, and authentication mode.
NOTE
– Select a proper authentication mode based on the carrier network. PAP authentication provides
lower security. When you specify auto or pap to enable the device to use PAP authentication, the
password is transmitted in plain text on the network. This brings potential security risks.
– When you specify simple, the password is saved in plain text in the configuration, which brings
potential security risks. You are advised to specify cipher to save the password in the cipher text.
5. Run:
quit
1. Run:
interface cellular interface-number
If track nqa is specified, the device performs an NQA probe on the LTE network when
the dial-up initiated through an LTE cellular interface succeeds. The device terminates
the LTE link after three consecutive NQA probe failures. Additionally, you can run the
dialer timer probe-interval command to set the NQA probe interval.
----End
Context
An access point name (APN) identifies an external PDN network (for example, the Internet or
IMS network) that users want to access.
You can create an APN profile to configure APN. In the scenario where a single single SIM
card and dual APNs are available, create two APN profiles and bind the APN profiles
respectively to the two LTE channel interfaces configured for an LTE cellular interface. One
APN connects to the Internet for data communication, and the other connects to the IMS
network for VoIP communication.
Procedure
Step 1 Create an APN profile.
1. Run:
system-view
NOTE
The user name, password, and authentication mode for accessing the external PDN
network are configured.
By default, the user name, password, and authentication mode for accessing an external
PDN network are not configured.
Contact the carrier when configuring the user name, password, and authentication mode.
NOTE
– Select a proper authentication mode based on the carrier network. PAP authentication provides
lower security. When you specify auto or pap to enable the device to use PAP authentication, the
password is transmitted in plain text on the network. This brings potential security risks.
– When you specify simple, the password is saved in plain text in the configuration, which brings
potential security risks. You are advised to specify cipher to save the password in the cipher text.
5. Run:
quit
You need to repeat this step to create multiple APN profiles for accessing different external PDN networks.
You need to repeat this step to bind APN profiles to another 3G channel interface.
----End
Follow-up Procedure
The two APNs share uplink bandwidth on the LTE cellular interface. QoS is required to
schedule services based on APNs. For example, if one APN is used to transmit voice services
and the other APN is used to transmit data services, voice services must be transmitted with a
higher priority. You must configure QoS on the LTE cellular interface to ensure that voice
services are preferentially scheduled .For details on how to configure QoS, See Huawei AR
Series Access Routers Configuration Guide - QoS
NOTE
The master and backup SIM cards cannot simultaneously work. Upon a SIM card switchover, traffic is
interrupted for a short period.
Procedure
Step 1 Creating an APN profile
1. Run:
system-view
NOTE
The SIM card ID is set to specify the master or backup SIM card to which the APN
profile is bound.
The default ID of a SIM card is 1.
sim-id can be 1 or 2.
– The value 1 indicates that the APN profile is bound to the master SIM card.
– The value 2 indicates that the APN profile is bound to the backup SIM card.
5. (Optional) Run:
user name username password { cipher | simple } password [ authentication-
mode { auto | pap | chap } ]
The user name, password, and authentication mode for accessing the external PDN
network are configured.
By default, the user name, password, and authentication mode for accessing an external
PDN network are not configured.
Contact the carrier when configuring the user name, password, and authentication mode.
NOTE
– Select a proper authentication mode based on the carrier network. PAP authentication provides
lower security. When you specify auto or pap to enable the device to use PAP authentication, the
password is transmitted in plain text on the network. This brings potential security risks.
– When you specify simple, the password is saved in plain text in the configuration, which brings
potential security risks. You are advised to specify cipher to save the password in the cipher text.
6. Run:
quit
After the APN profile to be bound to the master SIM card is created, you need to repeat Creating an APN
profile to create an APN profile to be bound to the backup SIM card.
For the parameter priority, a larger value indicates a higher priority. When dual SIC
cards are available, you are advised to set the priority of the APN profile bound to the
master SIM card to higher than that of the APN profile bound to the backup SIM card.
NOTE
After an APN profile is bound to the master SIM card, you need to repeat this step to bind another APN
profile to the backup SIM card.
3. Run:
sim switch rssi-threshold rssi-threshold
The SIM cards are configured with automatic switchover based on the RSSI threshold.
By default, an LTE cellular interface does not switch between SIM cards based on the
RSSI threshold.
4. (Optional) Run:
sim switch-back enable [ timer time ]
Traffic is automatically switched from the backup SIM card back to the master SIM card.
By default, traffic on the backup SIM card is not automatically switched back to the
master SIM card.
----End
Follow-up Procedure
When automatic SIM card switchover is not configured or the switchover condition is not
met, you can run the sim switch to sim-id command in the LTE cellular interface view to
manually switch between SIM cards.
Context
The size of data packets is limited at the network layer. Upon receiving an IP packet to be
sent, the network layer checks to which local interface the packet needs to be sent and obtains
the maximum transmission unit (MTU) configured on the interface. Then the network layer
compares the MTU with the packet length. If the packet length is longer than the MTU, the
network layer disassembles the packet to fragments, each no longer than the MTU.
l If the MTU is too small whereas the packet size is large, the packet is split into many
fragments. Therefore, the packet may be discarded due to insufficient QoS queue length.
l If the MTU is too large, packets are transmitted slowly or even lost.
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface cellular interface-number
The LTE cellular interface view or LTE channel interface view is displayed.
Step 3 Run:
mtu mtu
The MTU is configured for the LTE cellular interfaces or LTE channel interfaces.
By default, the MTU is 1500 bytes for the LTE cellular interfaces or LTE channel interfaces.
----End
Procedure
l Run the display cellular interface-number { all | hardware | security | network |
profile | radio } command to check information about call sessions on the LTE modem.
l Run the display interface cellular [ interface-number ] command to check the running
status and statistics of LTE cellular interfaces.
----End
Context
Based on different triggering mode, the LTE link dial-up modes can be classified into the
following types:
This mode applies to the scenarios in which users are charged based on traffic or time.
For example, if a traffic-package service is used, users are allowed to use certain traffic
within the service duration.
Based on different link-layer protocols used by an LTE link, the LTE link dial-up modes can
be classified into the following types:
l PPP dial-up: In this mode, PPP is used as the link-layer protocol and the LTE link
obtains an IP address through PPP negotiation (configured using the ip address ppp-
negotiate command).
l WWAN dial-up: In this mode, WWAN is used as the link-layer protocol and the LTE
link dynamically obtains an IP address (configured using the ip address negotiate
command).
Pre-configuration Tasks
Before configuring C-DCC for dial-up connection, complete the following tasks:
1. Setting connection parameters of LTE cellular interfaces
2. Obtaining dialer numbers from the carrier
Procedure
Step 1 Configure a dialer control list.
NOTE
A dialer control list is specified for a dialer access group to define conditions for
initiating calls.
4. Run:
quit
An LTE cellular or LTE channel interface is created and the interface view is displayed.
When the multi-APN function is configured, the LTE channel interface view is
displayed; otherwise, the LTE cellular interface view is displayed.
2. Run:
dialer enable-circular
NOTE
Make sure that the value of group-number in the dialer-group command is the same as that of
dialer-rule-number in the dialer-rule command.
4. (Optional) Run:
rssi-threshold rssi-threshold
The received signal strength indicator (RSSI) threshold is set for successfully
establishing LTE links.
By default, an LTE data card does not establish an LTE link based on the RSSI threshold.
Step 3 Obtain IP addresses.
l When two LTE data cards are used to connect to the Internet through dual uplinks, the
LTE links use the PPP dial-up mode.
a. Run:
ip address ppp-negotiate
The local interfaces are configured to obtain IP addresses assigned by the peer
through PPP negotiation.
l For other scenarios, the WWAN dial-up mode is used.
Run:
ip address negotiate
The LTE cellular interfaces or LTE channel interfaces are configured to dynamically
obtain IP addresses.
Step 4 Run:
dialer number dial-number [ autodial ]
----End
Context
A PIN identifies the user of the SIM card and prevents unauthorized access to the SIM card.
If a user enters incorrect PINs three consecutive times, the PIN is locked to protect security of
the SIM card. To unlock the PIN, enter the PIN unblocking key (PUK).
NOTE
A PIN is a decimal integer of 4 to 8 digits. Obtain the initial PIN from the carrier.
PUKs are provided by carriers. If a user enters incorrect PUKs ten consecutive times, the SIM card is
permanently locked and the user needs to obtain a new one from the carrier.
Procedure
l Enabling PIN authentication
PIN authentication prevents unauthorized users from using a SIM card. A user can use
an LTE modem only after the PIN is authenticated. If PIN authentication is disabled,
anyone can use the SIM card.
a. Run:
system-view
a. Run:
system-view
Context
The device can use the SMS to send SMS messages to users and save SMS messages received
from users in the SIM card. You can check received SMS messages on the device. If the
number of SMS messages saved in the SIM card exceeds the maximum number, you can
delete the SMS messages.
Procedure
l Sending SMS messages
The device can use the SMS to send SMS messages to a user with a specified mobile
number. You need to specify the short message center (SMC) number when configuring
the device to send SMS messages.
a. Run:
system-view
Context
The device can send short messages to users' mobile phones through SMS.
In the scenario of active/standby interface backup, when the active and standby links are
switched, the active/standby interface status changes. Users can view the alarm on the device
to know the interface status change. If users want to sense the interface status change anytime
and anywhere, configure the SMS alarm function on the service interface. After the function
is configured, the alarm with the interface status change is sent to users in a short message.
For example, a user connects to the Internet through an ADSL interface (active link) and a
cellular interface (standby link). When the active link is faulty and services are switched to
the standby link after the SMS alarm function is configured, a short message can be
immediately sent to specific users. When the standby link is working properly and services
are not switched back to the active link within the specified time, a short message can be sent
to specific users again. If services are switched back to the active link within the specified
time, no short message needs to be sent again.
Procedure
Step 1 Configure an SMS service pool.
An SMS service pool contains the preset SMS services, user phone numbers specified to
receive short messages, and short message content.
1. Run:
system-view
The phone numbers specified to receive short messages, and short message content are
configured in the SMS service pool.
By default, no SMS service is configured in the SMS service pool.
A maximum of 20 SMS services can be configured in an SMS service pool. Each SMS
service can be preset with 3 phone numbers. Each short message can contain at most 160
characters. The short message content is configured to end with %.
4. Run:
quit
The preset short message is sent to specific users when the LTE cellular interface status
changes.
By default, the SMS alarm function is not configured on an interface.
If after time is not configured, a short message is sent immediately when the interface
status changes. If after time is configured, a short message is sent only when the
interface status changes and remains unchanged within the value of time. This
configuration prevents the device from frequently sending short messages when frequent
Up/Down status changes occur on an interface.
NOTE
Before running this command, ensure that the SMS service with a specified ID is configured using
the sms item command.
Currently, the SMS alarm function can be configured on interfaces only when cellular, ATM, and
serial interfaces are used as the active and standby interfaces.
This command can be run on each interface at most four times, and the latest configuration does
not override the previous ones.
4. Run:
sms service-center-address service-center-number
----End
NOTE
The SIM card is not hot swappable. To ensure that the installed SIM card works properly, manually restart the
LTE modem after hot swapping the SIM card.
Procedure
Step 1 Run:
system-view
NOTE
After you manually restart the LTE modem, the services on the LTE cellular interface are interrupted.
----End
Procedure
Step 1 Run:
system-view
An LTE modem is configured to automatically restart and the interval at which an LTE
modem automatically restarts is set.
By default, an LTE modem does not automatically restart.
----End
Procedure
Step 1 Run:
system-view
The device is configured to use an NQA test instance to detect a 3G or LTE link.
By default, a device does not use an NQA test instance to detect a 3G or LTE link.
NOTE
The NQA test instance used in this step must be an ICMP NQA test instance. For details
about how to configure such a test instance, see Configuring an ICMP Test Instance in the
Huawei AR Series Access Routers Configuration Guide - Network Management
Configuration.
Step 4 Run:
modem auto-recovery track action { plmn-search | modem-reboot | redial } fail-
times times
The maximum number of 3G or LTE detection failures in an NQA test instance is set. When
the number of consecutive 3G or LTE link detection failures in an NQA test instance reaches
the maximum value, the device triggers an action to recover the 3G or LTE link.
By default, the maximum number of 3G or LTE link detection failures in an NQA test
instance is not configured. That is, the device does not trigger an action to recover a 3G or
LTE link when 3G or LTE link detection fails for several consecutive times.
NOTE
----End
Procedure
Step 1 Run:
system-view
The maximum number of dial-up failures is set. When the number of consecutive dial-up
failures reaches the maximum value, the device restarts the LTE modem.
NOTE
----End
Context
To monitor the status of an LTE cellular interface or locate faults on the interface, collect
traffic statistics about the interface. Before collecting traffic statistics on an LTE cellular
interface within a period, delete the existing traffic statistics on this interface.
Interface traffic statistics cannot be restored after being cleared. Exercise caution when you
run the reset counters interface cellular [ interface-number ] command.
Procedure
l Run the reset counters interface cellular [ interface-number ] command to clear the
statistics on the current LTE cellular interface.
----End
Context
To view changes of the LTE signal strength, cell ID or network type in WWAN logs, you can
enable the WWAN log function.
Procedure
Step 1 Run:
system-view
Step 2 Run:
cellular log enable
After enabling the WWAN log function, you can view changes of the LTE signal strength, cell
ID or network type in WWAN logs.
l When the LTE signal strength changes, the device records the WWAN/5/
WWAN_SINR_NORMAL or WWAN/5/WWAN_SINR_WEAK log.
l When the cell ID changes, the device records the WWAN/5/WWAN_CELLID log.
l When the network type changes, the device records the WWAN/5/
WWAN_NETWORK log.
NOTE
The SINR threshold used to determine the LTE signal strength is set.
By default, the SINR threshold used to determine the LTE signal strength is 10 dB.
You can perform this step to change the SINR threshold used to determine the LTE signal
strength.
l If the strength of received LTE signals is greater than the SINR threshold 10 consecutive
times, and the signal strength becomes normal, the device records the WWAN/5/
WWAN_SINR_NORMAL log.
l If the strength of received LTE signals is not greater than the SINR threshold 10
consecutive times, and the signal strength becomes weak, the device records the
WWAN/5/WWAN_SINR_WEAK log.
NOTE
----End
Figure 12-11 Networking diagram of configuring an LTE cellular interface as the primary
interface to connect to the Internet
Cellular0/0/0
Enterprise LTE
branch network Headquarters
Router
Configuration Roadmap
The configuration roadmap is as follows:
1. Set the connection parameters of the LTE cellular interface.
2. Configure C-DCC for dial-up connection so that the LTE cellular interface can connect
to the LTE network.
3. Configure the enterprise intranet and configure the Router to assign IP addresses to
branch intranet users.
4. Configure the NAT function to allow branch intranet users to access external networks.
5. Configure a default route and specify the LTE cellular interface as the outbound interface
so that traffic from the branch intranet is forwarded to the Internet through the LTE
cellular interface.
NOTE
Run dialer enable-circular, the dialer number and IP address assigns automatically, a dialer control list not
required.
Procedure
Step 1 Set the connection parameters of the LTE cellular interface.
# Create an APN profile.
<Huawei> system-view
[Huawei] sysname Router
[Router] apn profile lteprofile
[Router-apn-profile-lteprofile] apn ltenet
[Router-apn-profile-lteprofile] quit
NOTE
Ensure that the group-number value in the dialer-group command is the same as the dialer-rule-number
value in the dialer-rule command.
# Enable DHCP.
[Router] dhcp enable
Step 5 Configure a default route and specify Cellular0/0/0 as the outbound interface.
[Router] ip route-static 0.0.0.0 0 cellular 0/0/0
# View information about all call sessions on the LTE data card. The following command
output shows that the APN is ltenet, the network type is Automatic, and the network
connection mode is LTE(LTE).
<Huawei> display cellular 0/0/0 all
Modem State:
Hardware Information.
=====================
Model = E392
Modem Firmware Version = 11.833.15.00.000
Hardware Version = CD2E392UM
Integrate circuit card identity (ICCID) = 98681011274300909893
International Mobile Subscriber Identity (IMSI) = 460016002731442
International Mobile Equipment Identity (IMEI) = 861230010006485
Factory Serial Number (FSN) = T2Y01A9211900298
Modem Status = Online
Profile Information.
====================
Profile 1 = ACTIVE
--------
PDP Type = IPv4, Header Compression = OFF
Data Compression = OFF
Access Point Name (APN) = ltenet
Packet Session Status = Active
* - Default profile
Network Information.
====================
Current Service Status = Service available
Current Service = Combined
Packet Service = Attached
Packet Session Status = Active
Current Roaming Status = Home
Network Selection Mode = Automatic
Network Connection Mode = Automatic
Current Network Connection = LTE(LTE)
Mobile Country Code (MCC) = 460
Mobile Network Code (MNC) = 01
Mobile Operator Information = "CHN-CULTE"
Cell ID = 55924
Upstream Bandwidth = 50mbps
Downstream Bandwidth = 100mbps
Radio Information.
==================
Current Band = AUTO
Current RSSI = -55 dBm
Modem Security Information.
===========================
PIN Verification = Disabled
PIN Status = Ready
Number of Retries remaining = 3
SIM Status = OK
----End
Example
l Configuration file of the Router
#
sysname Router
#
vlan batch 10
#
dhcp enable
#
acl number
3002
rule 5 permit ip source 192.168.100.0 0.0.0.255
#
ip pool 4gpool
gateway-list 192.168.100.1
network 192.168.100.0 mask 255.255.255.0
#
interface Vlanif10
ip address 192.168.100.1 255.255.255.0
dhcp select global
#
interface Ethernet2/0/0
port link-type trunk
port trunk allow-pass vlan 10
#
interface Cellular0/0/0
dialer enable-circular
dialer-group 1
apn-profile lteprofile
dialer number *99# autodial
nat outbound 3002
ip address negotiate
#
dialer-rule
dialer-rule 1 ip permit
#
apn profile lteprofile
apn ltenet
#
ip route-static 0.0.0.0 0.0.0.0 Cellular0/0/0
#
return
NOTE
The following figure shows only the access-side networking. Deploy devices on the aggregation and
core networks according to site requirements.
Figure 12-12 Networking diagram of configuring an LTE cellular links as the backup
interface to connect to the Internet
ATM1/0/0
Enterprise DSLAM
Router
Cellular0/0/0
LTE
network
Access
network Primary line
Backup line
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure the enterprise intranet and configure the Router as the enterprise's egress
gateway to assign IP addresses to enterprise intranet users.
2. Configure the VDSL interface as the uplink primary interface.
3. Configure the LTE cellular interface as the uplink backup interface.
4. Configure a default route so that traffic from the enterprise intranet is transmitted to the
Internet through the VDSL or LTE cellular interface.
Procedure
Step 1 Configure the enterprise intranet.
<Huawei> system-view
[Huawei] sysname Router
[Router] vlan 10
[Router-vlan10] quit
[Router] dhcp enable
[Router] interface vlanif 10
[Router-Vlanif10] ip address 192.168.100.1 255.255.255.0
[Router-Vlanif10] dhcp select global
[Router-Vlanif10] quit
[Router] ip pool lan
[Router-ip-pool-lan] gateway-list 192.168.100.1
[Router-ip-pool-lan] network 192.168.100.0 mask 24
[Router-ip-pool-lan] quit
[Router] interface ethernet 2/0/0
[Router-Ethernet2/0/0] port link-type hybrid
[Router-Ethernet2/0/0] port hybrid pvid vlan 10
[Router-Ethernet2/0/0] port hybrid untagged vlan 10
[Router-Ethernet2/0/0] quit
NOTE
This example only describes the configuration of the uplink primary interface. For details about other
uplink devices, see the related manuals.
[Router] acl number 3002
[Router-acl-adv-3002] rule 5 permit ip source 192.168.100.0 0.0.0.255
[Router-acl-adv-3002] quit
[Router] interface virtual-template 10
[Router-Virtual-Template10] ip address ppp-negotiate
[Router-Virtual-Template10] nat outbound 3002
[Router-Virtual-Template10] quit
[Router] interface atm 1/0/0
[Router-Atm1/0/0] pvc voip 1/35
[Router-atm-pvc-Atm1/0/0-1/35-voip] map ppp virtual-template 10
[Router-atm-pvc-Atm1/0/0-1/35-voip] quit
[Router-Atm1/0/0] standby interface cellular 0/0/0
[Router-Atm1/0/0] quit
Step 3 Configure the LTE cellular interface as the uplink backup interface.
# In this example, set the dialer number to *99#.
# Use the APN specified by the carrier. In this example, set the APN to ltenet.
NOTE
Before configuring the backup interface, ensure that the LTE data cards and SIM cards are available.
This example only describes the configuration of the uplink backup interface. For details about other
uplink devices, see the related manuals.
[Router] dialer-rule
[Router-dialer-rule] dialer-rule 1 ip permit
[Router-dialer-rule] quit
[Router] apn profile ltenet
[Router-apn-profile-ltenet] quit
[Router] interface cellular 0/0/0
[Router-Cellular0/0/0] ip address negotiate
[Router-Cellular0/0/0] dialer enable-circular
[Router-Cellular0/0/0] dialer-group 1
[Router-Cellular0/0/0] dialer timer idle 50
[Router-Cellular0/0/0] dialer number *99# autodial
[Router-Cellular0/0/0] nat outbound 3002
[Router-Cellular0/0/0] mode lte auto
[Router-Cellular0/0/0] apn-profile ltenet
[Router-Cellular0/0/0] shutdown
[Router-Cellular0/0/0] undo shutdown
[Router-Cellular0/0/0] quit
Backup-flag meaning:
M---MAIN B---BACKUP V---MOVED U---USED
D---LOAD P---PULLED
----------------------------------------------------------------------------
Below is track BFD information:
Bfd-Name Bfd-State BackupInterface State
----------------------------------------------------------------------------
Below is track IP route information:
Destination/Mask Route-State BackupInterface State
----------------------------------------------------------------------------
Below is track NQA Information:
Instance Name BackupInterface State
# Run the shutdown command on ATM1/0/0 to simulate a link fault. Run the display
standby state command on the Router to check the status of the primary and backup
interfaces. The command output shows that ATM1/0/0 is in Down state and Cellular0/0/0 is in
Up state, indicating that the backup interface has started.
[Router-Atm1/0/0] shutdown
[Router-Atm1/0/0] quit
[RouterA] display standby state
Interface Interfacestate Backupstate Backupflag Pri Loadstate
ATM1/0/0 DOWN MDOWN MU
Cellular0/0/0 UP UP BU 0
Backup-flag meaning:
M---MAIN B---BACKUP V---MOVED U---USED
D---LOAD P---PULLED
----------------------------------------------------------------------------
Below is track BFD information:
Bfd-Name Bfd-State BackupInterface State
----------------------------------------------------------------------------
Below is track IP route information:
Destination/Mask Route-State BackupInterface State
----------------------------------------------------------------------------
Below is track NQA Information:
Instance Name BackupInterface State
----End
Configuration Files
l Configuration file of the Router
#
sysname Router
#
vlan batch 10
#
dhcp enable
#
ip pool lan
gateway-list 192.168.100.1
interface Vlanif10
ip address 192.168.100.1 255.255.255.0
dhcp select global
#
interface Ethernet2/0/0
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
interface Cellular0/0/0
dialer enable-circular
dialer-group 1
apn-profile ltenet
dialer timer idle 50
dialer number *99# autodial
nat outbound 3002
ip address negotiate
#
interface Atm1/0/0
pvc voip 1/35
map ppp Virtual-Template10
standby interface Cellular0/0/0
#
interface Virtual-Template10
ip address ppp-negotiate
nat outbound 3002
#
dialer-rule
dialer-rule 1 ip permit
#
return
NOTE
In this example:
l For LTE network 1, the connection mode is LTE, the APN is ltenet1, and the dialer number is
*99#.
l For LTE network 2, the connection mode is AUTO, the APN is ltenet2, and the dialer number is
*98#.
Set the connection parameters based on the site requirements.
Figure 12-13 Networking diagram of configuring LTE cellular interfaces as the primary/
backup interfaces to connect to the Internet
LTE
Cellular1/0/0 network 1
Enterprise
branch
RouterA
Cellular2/0/0 LTE
network 2 Primary link
Backup link
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure Cellular1/0/0 on RouterA to connect RouterA to the Internet through LTE
network 1.
2. Configure Cellular2/0/0 on RouterA to connect RouterA to the Internet through LTE
network 2.
3. Configure Cellular2/0/0 as the backup interface of Cellular1/0/0 so that traffic can be
switched to Cellular2/0/0 when Cellular1/0/0 is faulty.
4. Configure C-DCC to dial up to the Internet through the primary or backup link.
5. Configure a static route for communication at the network layer.
Procedure
Step 1 Configure Cellular1/0/0.
# Create an APN profile.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] apn profile ltenet1
[RouterA-apn-profile-ltenet1] quit
[RouterA] dialer-rule
[RouterA-dialer-rule] dialer-rule 1 ip permit
[RouterA-dialer-rule] quit
[RouterA-Cellular2/0/0] dialer-group 1
[RouterA-Cellular2/0/0] dialer timer autodial 60
[RouterA-Cellular2/0/0] dialer number *98# autodial
[RouterA-Cellular2/0/0] quit
# After the configuration is complete, run the display standby state command on the
RouterA to check the status of the primary and backup interfaces. The command output shows
that Cellular1/0/0 is in Up state and Cellular2/0/0 is in Standby state.
[RouterA] display standby state
Interface Interfacestate Backupstate Backupflag Pri Loadstate
Cellular1/0/0 UP MUP MU
Cellular2/0/0 STANDBY STANDBY BU 0
Backup-flag meaning:
M---MAIN B---BACKUP V---MOVED U---USED
D---LOAD P---PULLED
----------------------------------------------------------------------------
Below is track BFD information:
Bfd-Name Bfd-State BackupInterface State
----------------------------------------------------------------------------
Below is track IP route information:
Destination/Mask Route-State BackupInterface State
----------------------------------------------------------------------------
Below is track NQA Information:
Instance Name BackupInterface State
# Run the shutdown command on Cellular1/0/0 to simulate a link fault. Run the display
standby state command on the RouterA to check the status of the primary and backup
interfaces. The command output shows that Cellular1/0/0 is in Down state and Cellular2/0/0
is in Up state, indicating that the backup interface has started.
[RouterA-Cellular1/0/0] shutdown
[RouterA-Cellular1/0/0] quit
[RouterA] display standby state
Interface Interfacestate Backupstate Backupflag Pri Loadstate
Cellular1/0/0 DOWN MDOWN MU
Cellular2/0/0 UP UP BU 0
Backup-flag meaning:
M---MAIN B---BACKUP V---MOVED U---USED
D---LOAD P---PULLED
----------------------------------------------------------------------------
Below is track BFD information:
Bfd-Name Bfd-State BackupInterface State
----------------------------------------------------------------------------
Below is track IP route information:
Destination/Mask Route-State BackupInterface State
----------------------------------------------------------------------------
Below is track NQA Information:
----End
Configuration Files
l Configuration file of RouterA
sysname RouterA
#
apn profile ltenet1
apn profile ltenet2
#
interface Cellular1/0/0
dialer enable-circular
dialer-group 1
apn-profile ltenet1
dialer timer autodial 60
dialer number *99# autodial
stanby interface Cellular2/0/0
ip address negotiate
#
interface Cellular2/0/0
dialer enable-circular
dialer-group 1
apn-profile ltenet2
dialer timer autodial 60
dialer number *98# autodial
ip address negotiate
#
dialer-
rule
dialer-rule 1 ip permit
#
meeting service transmission requirements. The PGW connects to the Internet through the
Internet gateway and connects to the IMS network through the IMS gateway.
Figure 12-14 Networking diagram of configuring LTE cellular interfaces to use the multi-
APN function for data and VoIP communication
Internet
Enterprise Enterprise
LTE
branch PGW headquarters
network
Router
IMS
network
IMS
gateway
Data communication
VoIP communication
Configuration Roadmap
The enterprise can use the multi-APN function of LTE cellular interfaces to implement data
and VoIP communication. Two LTE channel interfaces can be configured for an LTE cellular
interface. You can bind two APN profiles respectively to the two LTE channel interfaces. One
APN connects to the Internet for data communication, and the other connects to the IMS
network for VoIP communication. The PGW assigns an IP address to each LTE channel
interface of the LTE cellular interface.
The configuration roadmap is as follows:
l Create two APN profiles. One profile is named the APN connecting to the Internet, and
the other is named the APN connecting to the IMS network.
l Configure an LTE cellular interface, configure a network connection mode for the
interface, and enable the multi-APN function.
l Configure C-DCC for dial-up connection on the LTE cellular interface.
l Bind the APN profiles to the LTE cellular interface.
l Configure the enterprise intranet and configure the Router to assign IP addresses to
branch intranet users.
l Configure the NAT function and set the IP address of the LTE channel interface as the
public IP address of the enterprise branch.
l Configure a default route and specify the LTE channel interface as the outbound
interface so that traffic from the branch intranet can be forwarded to the LTE network
through the LTE channel interface.
Procedure
Step 1 Configure APN profiles.
# Configure an APN profile named datanet to connect to the Internet.
<Huawei> system-view
[Huawei] sysname Router
[Router] apn profile datanet
[Router-apn-profile-datanet] user name lte-example password cipher 123456
authentication-mode chap
[Router-apn-profile-datanet] apn data
[Router-apn-profile-datanet] quit
Step 3 Configure C-DCC for dial-up connection on the LTE cellular interface.
# Configure a dialer control list.
[Router] dialer-rule
[Router-dialer-rule] dialer-rule 1 ip permit
[Router-dialer-rule] quit
# Configure C-DCC for dial-up connection on LTE channel interface 1 and bind the APN
profile datanet to LTE channel interface 1.
[Router] interface cellular 1/0/0:1
[Router-Cellular1/0/0:1] ip address negotiate
[Router-Cellular1/0/0:1] dialer enable-circular
[Router-Cellular1/0/0:1] dialer-group 1
[Router-Cellular1/0/0:1] dialer timer autodial 20
[Router-Cellular1/0/0:1] dialer number *99# autodial
[Router-Cellular1/0/0:1] apn-profile datanet
[Router-Cellular1/0/0:1] shutdown
[Router-Cellular1/0/0:1] undo shutdown
[Router-Cellular1/0/0:1] quit
# Configure C-DCC for dial-up connection on LTE channel interface 2 and bind the APN
profile voicenet to LTE channel interface 2.
[Router] interface cellular 1/0/0:2
[Router-Cellular1/0/0:2] ip address negotiate
[Router-Cellular1/0/0:2] dialer enable-circular
[Router-Cellular1/0/0:2] dialer-group 1
[Router-Cellular1/0/0:2] dialer timer autodial 20
[Router-Cellular1/0/0:2] dialer number *99# autodial
[Router-Cellular1/0/0:2] apn-profile voicenet
[Router-Cellular1/0/0:2] shutdown
[Router-Cellular1/0/0:2] undo shutdown
[Router-Cellular1/0/0:2] quit
# Enable DHCP.
[Router] dhcp enable
Step 6 Configure a default route and specify the LTE channel interfaces as the outbound interfaces.
[Router] ip route-static 1.1.1.0 255.255.255.0 cellular 0/0/0:1
[Router] ip route-static 2.2.2.0 255.255.255.0 cellular 0/0/0:2
----End
Example
l Configuration file of the Router
#
sysname Router
#
vlan batch 10
#
dhcp enable
#
acl number
3002
rule 5 permit ip source 192.168.100.0 0.0.0.255
#
apn profile datanet
apn data
user name lte-example password cipher %^%#Xhc5=7"mU5o)7]/JST4$8\0CD`~a{O0Z~p
+YWvY~%^%# authentication-mode chap
apn profile voicenet
apn voice
#
interface Cellular1/0/0
mode lte auto
multi-apn enable
#
interface Cellular1/0/0:1
dialer enable-circular
dialer-group 1
apn-profile datanet
dialer timer autodial 20
dialer number *99# autodial
nat outbound 3002
ip address negotiate
#
interface Cellular1/0/0:2
dialer enable-circular
dialer-group 1
apn-profile voicenet
dialer timer autodial 20
dialer number *99# autodial
nat outbound 3002
ip address negotiate
#
interface Ethernet2/0/0
port link-type trunk
port trunk allow-pass vlan 10
#
interface Vlanif10
ip address 192.168.100.1 255.255.255.0
dhcp select global
#
ip pool 4gpool
gateway-list 192.168.100.1
network 192.168.100.0 mask 255.255.255.0
#
dialer-rule
dialer-rule 1 ip permit
#
ip route-static 1.1.1.0 255.255.255.0 Cellular1/0/0:1
ip route-static 2.2.2.0 255.255.255.0 Cellular1/0/0:2
#
return
Figure 12-15 Networking diagram for accessing different LTE networks using dual SIM
cards
LTE
Master SIM
network 1
card
Enterprise
branch Cellular0/0/0 Headquarters
Router
Backup SIM
card LTE
network 2
Configuration Roadmap
The configuration roadmap is as follows:
l Create two APN profiles. Bind one APN profile to the master SIM card and the other to
the backup SIM card.
l Configure C-DCC for the dial-up connection on the LTE cellular interface.
l Bind the APN profiles to the LTE cellular interface.
l Configure the enterprise intranet and use Router to assign IP addresses to the branch
intranet users.
l Configure the NAT function and specify the IP address of the LTE cellular interface as
the public IP address of the enterprise branch.
l Configure a default route and specify the LTE cellular interface as the outbound interface
so that traffic from the branch intranet is forwarded to the Internet through the LTE
cellular interface.
Procedure
Step 1 Configure APN profiles.
# Configure APN profile mainCard and bind it to the master SIM card to connect to LTE
network 1. According to the carrier, the APN of LTE network 1 is LTENET1.
<Huawei> system-view
[Huawei] sysname Router
[Router] apn profile mainCard
[Router-apn-profile-mainCard] sim-id 1
[Router-apn-profile-mainCard] apn LTENET1
[Router-apn-profile-mainCard] quit
# Configure APN profile backupCard and bind it to the backup SIM card to connect to LTE
network 2. According to the carrier, the APN of LTE network 2 is LTENET2.
[Router] apn profile backupCard
[Router-apn-profile-backupCard] sim-id 2
[Router-apn-profile-backupCard] apn LTENET2
[Router-apn-profile-backupCard] quit
Step 2 Configure C-DCC for the dial-up connection on the LTE cellular interface.
# Configure a dialer control list.
[Router] dialer-rule
[Router-dialer-rule] dialer-rule 1 ip permit
[Router-dialer-rule] quit
# Configure C-DCC for the dial-up connection on the LTE cellular interface.
[Router] interface cellular 0/0/0
[Router-Cellular0/0/0] ip address negotiate
[Router-Cellular0/0/0] mode lte auto
[Router-Cellular0/0/0] dialer enable-circular
[Router-Cellular0/0/0] dialer-group 1
[Router-Cellular0/0/0] dialer timer autodial 20
[Router-Cellular0/0/0] dialer number *99# autodial
# Enable DHCP.
[Router] dhcp enable
Step 6 Configure a default route and specify Cellular0/0/0 as the outbound interface.
[Router] ip route-static 0.0.0.0 0 cellular 0/0/0
# After the previous configurations, traffic on the branch intranet is transmitted to LTE
network 1 through the master SIM card. If dial-up fails because the account balance of the
master SIM card is insufficient, the master SIM card is faulty, the LTE link signal quality is
poor, or the connected LTE network is faulty, traffic is automatically switched to the backup
SIM card and transmitted to the LTE network 2.
----End
Example
l Configuration file of Router
#
sysname Router
#
vlan batch 10
#
dhcp enable
#
acl number
3002
rule 5 permit ip source 192.168.100.0 0.0.0.255
#
apn profile mainCard
apn LTENET1
apn profile backupCard
apn LTENET2
sim-id 2
#
interface Cellular0/0/0
dialer enable-circular
dialer-group 1
apn-profile mainCard priority 150
apn-profile backupCard priority 120
dialer timer autodial 20
dialer number *99# autodial
nat outbound 3002
ip address negotiate
sim switch-back enable timer 1440
sim switch rssi-threshold 105
#
interface Ethernet2/0/0
port link-type trunk
port trunk allow-pass vlan 10
#
interface Vlanif10
ip address 192.168.100.1 255.255.255.0
dhcp select global
#
ip pool ltepool
gateway-list 192.168.100.1
network 192.168.100.0 mask 255.255.255.0
#
dialer-rule
dialer-rule 1 ip permit
#
ip route-static 0.0.0.0 0.0.0.0 Cellular0/0/0
#
return
You can configure ISDN BRI interfaces to connect the headquarters and branch companies of
the enterprise to the ISDN network. ISDN BRI interfaces provide 64 kbit/s or 128 kbit/s
bandwidth.
13.1 ISDN BRI Interface Overview
This section describes basic concepts, attributes and usage scenarios of ISDN BRI interfaces.
13.2 Configuration Notes
This section describes specifications of ISDN BRI interfaces.
13.3 Application
13.4 Default Configuration
This section describes the default configuration of ISDN BRI interfaces.
13.5 Configuring an ISDN BRI Interface
The ISDN BRI interface configuration includes maximum transmission unit (MTU), interface
description, and the link layer protocol.
13.6 Maintaining an ISDN BRI Interface
ISDN BRI interface maintenance tasks include loopback detection and packet statistics
clearing.
ISDN provides users with a set of user-network interfaces (UNIs) to connect different
terminals such as phones, fax machines, computers to ISDN networks. ITU-T I.412 defines
two types of interfaces: Basic Rate Interfaces (BRI) and Primary Rate Interfaces (PRI).
l A BRI interface contains two 64 kbit/s B channels and one 64 kbit/s D channel (BRI
interface bandwidth = Bandwidth of two B channels + Bandwidth of one D channel).
The two B channels (B1 channel and B2 channel) can be used independently or be
bundled by using the MP technique to provide a maximum of 128 kbit/s transmission
rate.
l PRI interfaces are classified into CE1/PRI interfaces and CT1/PRI interfaces: For the
configuration of a CE1/PRI interface, see 5 CE1/PRI Interface Configuration; for the
configuration of a CT1/PRI interface, see 6 CT1/PRI Interface Configuration.
NOTE
Both BRI and PRI interfaces contain data channels (B channels) and signaling channels (D channels). B
channels transmit data of upper layer applications, and D channels transmit all ISDN signaling packets.
License Support
ISDN BRI interfaces is a basic capability of an AR router and is not under license control.
13.3 Application
NOTE
For details about ISDN service configuration, see ISDN Configuration in the Configuration Guide - WAN.
NT1 implements physical layer functions, including subscriber line transmission, loop detection, and D
channel preemption. For details, see ISDN Reference Model in Configuration Guide - WAN.
Figure 13-1 The router connects to an ISDN network through ISDN BRI interfaces.
ISDN BRI ISDN BRI
ISDN
RouterA NT1 ISDN ISDN NT1 RouterB
Switch Switch
Pre-configuration Tasks
Before configuring an ISDN BRI interface, complete the following task:
l Installing a 1BST interface card on the router and ensuring that it is registered
successfully
Context
Before configuration, clarify the following points:
l The interface provided by the ISP is an ISDN BRI U interface or an ISDN BRI S/T
interface. The 1BST interface card supported by the device provides an ISDN BRI S/T
interface.
l Whether the applied ISDN service supports digital services. The ISDN network supports
digital or voice services. Devices communicate in digital format. Therefore, the applied
ISDN service must provide digital services; otherwise, the devices cannot communicate.
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface bri interface-number
Step 3 Run:
mtu mtu
Step 5 Run either of the following commands to configure a link layer protocol for the ISDN BRI
interface:
l Run:
link-protocol ppp
----End
Context
You can configure loopback detection on an interface to monitor the interface or cable status.
NOTE
Performing loopback detection affects system performance. After loopback detection is performed, run the
undo loopback command to disable loopback detection immediately.
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface bri interface-number
Step 3 Run:
loopback { local | remote } [ b1 | b2 | both ]
----End
Context
To monitor the status of an interface or locate faults on the interface, you can collect traffic
statistics on the interface. Before collecting traffic statistics on an ISDN BRI interface within
a certain period, clear the existing traffic statistics on this interface.
Procedure
l Run the reset counters interface [ interface-type [ interface-number ] ] command to
clear the statistics on the specified ISDN BRI interface.
----End
Packet Over SONET/SDH (POS) uses SDH or SONET as the physical-layer protocol and
provides a high-speed channel to transfer IP data in MAN and WAN.
Introduction to POS
SONET/SDH
POS POS
A POS interface uses SONET/SDH to transfer IP data in MAN and WAN. The POS uses the
link-layer protocol (FR, PPP and HDLC) to encapsulate IP packets, uses the service adapter at
the SONET/SDH channel layer to map the packets to the payload of SONET/SDH signals,
then uses the SONET/SDH transport layer and section layer to add a path overhead and
segment overhead and encapsulate the payload in a SONET/SDH frame, and finally transmits
it on the optical network.
The device provides POS interfaces with two rates and their signal level are OC-3/STM-1
(155 Mbit/s) and OC-12/STM-4 (622 Mbit/s).
License Support
POS interfaces is a basic capability of an AR router and is not under license control.
Card), 1STM4 (1-Port-622M POS Optical Interface Card) or 4STM1 (4-Port 155M Packet
over SDH/SONET Optical Interface Card) in the Huawei AR Series Access Routers Get to
Know the Product-Hardware Description-Cards-WAN Interface Card.
Pre-configuration Tasks
Before configuring a POS interface, complete the following tasks:
Context
SDH and SONET are different standards defined by different organizations, but their content
and functions are similar. SDH is mainly used in Europe and China and SONET is mainly
used in North America and Japan. Different device manufacturers provide different default
configurations for them.
Configure the POS interface frame format based on the standard used locally.
Procedure
Step 1 Run:
system-view
----End
Procedure
Step 1 Run:
system-view
----End
When the POS interfaces of the router and a remote device are directly connected, set the
clock mode of one end to master and that of the peer end to slave. When the POS interface of
a device is connected to the SONET or SDH network, set the clock mode of the POS interface
to slave because the SONET or SDH network clock has a higher accuracy than the POS
interface.
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface pos interface-number
Step 3 Run:
clock { master | slave | system }
----End
Context
The size of data packets is limited at the network layer. Any time the network layer receives
an IP packet to be sent, it checks to which local interface the packet needs to be sent and
obtains the MTU configured on the interface. Then, the network layer compares the MTU
with the packet length. If the packet length is longer than the MTU, the IP layer disassembles
the packet to fragments, each not longer than the MTU.
l If the MTU is too small whereas the packet size is large, the packet is probably split into
many fragments. Therefore, the packet may be discarded due to the insufficient QoS
queue length.
l If the MTU is too large, packets are transmitted slowly or even lost.
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface pos interface-number
Step 3 Run:
mtu mtu
After changing the MTU on an interface using the mtu command, run the shutdown and
undo shutdown/restart command in the interface view to restart the interface for the
configuration to take effect.
----End
Context
Different device manufactures require different overhead bytes for a POS interface. Ensure
that the C2, J0, and J1 overhead bytes of both ends are the same. Otherwise, the two devices
cannot be connected.
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface pos interface-number
Step 3 Run:
l flag c2 c2–value
l flag j0 { 1byte-mode value | 16byte-mode value | 64byte-mode value }
l flag j1 { 1byte-mode value | 16byte-mode value | 64byte-mode value }
The default overhead bytes for the SDH are used: The C2 overhead byte is 0x16, J0 and J1
overhead bytes are blank.
----End
Context
To avoid long consecutive 1 and 0 and allow the receiver to extract clock signals, a POS
interface supports scrambling of payload data.
Ensure that the same scrambling function is configured for both devices on the link.
Otherwise, the two devices cannot be connected.
Procedure
Step 1 Run:
system-view
----End
Ensure that the same CCR field length is configured for both devices on the link. Otherwise,
the two devices cannot be connected.
Procedure
Step 1 Run:
system-view
crc { 16 | 32 }
----End
Context
Different services allow different bit error rates. Configure the error rate alarm threshold for a
POS interface so that an alarm is reported when the link performance deteriorates. Network
administrators can locate and process link faults based on the alarms.
The Signal Degrade (SD) and Signal Fail (SF) alarms indicate the current link performance.
Their generation reasons are both that the receiver detects error codes. The difference is that
an SD alarm is reported when a small number of error codes are detected and an SF alarm is
reported when a large number of error codes are detected.
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface pos interface-number
Step 3 Run:
threshold { sd | sf } value
The default SD alarm threshold is 10e-6 and the default SF alarm threshold is 10e-3.
----End
Procedure
l Run the display interface pos [ interface-number ] command to display the POS
interface settings and status.
l Run the display interface brief command to display the brief information about the POS
interface.
----End
l After the loopback detection is enabled on an interface using the loopback command, the
POS interface or link on the interface cannot function properly. When the loopback
detection is not required, run the undo loopback command to disable it.
When testing some special functions, for example, diagnosing POS interface faults, enable
loopback detection.
Table 14-2 describes the loopback detection classification.
Hardware loopback
Connect a short-circuiting cable on the transceiver so that the device receives the signals
sent by itself.
Internal loopback
Internal loopback means that a packet from
an interface is sent back to this interface
inside the system.
Procedure
Step 1 Run:
system-view
The loopback detection is enabled for the POS interface and the detection mode is configured.
By default, loopback detection is disabled on a POS interface.
----End
Once statistics are deleted, they cannot be restored. Confirm the action before you perform it.
Procedure
l Run:
reset counters interface [ interface-type [ interface-number ] ]
Configuration Roadmap
The configuration roadmap is as follows:
Procedure
Step 1 Set the frame format of the POS interface on RouterA to SONET.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] interface pos 2/0/0
[RouterA-Pos2/0/0] frame-format sonet
Step 2 Set the link-layer protocol of the POS interface on RouterA to HDLC.
[RouterA-Pos2/0/0] link-protocol hdlc
Step 3 Set the clock mode of the POS interface on RouterA to slave.
[RouterA-Pos2/0/0] clock slave
[RouterA-Pos2/0/0] flag c2 3
[RouterA-Pos2/0/0] flag j0 16byte-mode abc
[RouterA-Pos2/0/0] flag j1 16byte-mode xyz
Step 7 Set the CRC field length of the POS interface on RouterA to 16 bits.
[RouterA-Pos2/0/0] crc 16
----End
Configuration Files
l Configuration file of RouterA
#
sysname RouterA
#
interface Pos2/0/0
link-protocol hdlc
mtu 1200
ip address 10.1.1.1 255.255.255.252
flag c2 3
flag j0 16byte-mode abc
flag j1 16byte-mode xyz
frame-format sonet
undo scramble
crc 16
#
return
Troubleshooting Procedure
1. Run the interface pos interface-number command to enter the POS interface view, then
run the display this to check the interface information in the POS interface view.
– View the Scramble values on both ends. If they are different, run the scramble
command in the POS interface view to change them to the same.
– View the CRC values on both ends. If they are different, run the crc command in
the POS interface view to change them to the same.
– View the Flag values on both ends. If they are different, run the flag command in
the POS interface view to change them to the same.
2. Run the display interface pos [ interface-number ] check the configuration and status of
the POS interface.
– View the Link layer protocol values on both ends. If they are different, run the
link-protocol command in the POS interface view to change them to the same.
You can configure CPOS interfaces on a router to converge E1/T1 lines of a SONET/SDH
network.
15.1 CPOS Overview
A CPOS interface is a channelized POS interface that allows a device to effectively converge
low-speed access lines.
15.2 Principles
15.3 Configuration Notes
This section describes specifications of CPOS interfaces.
15.4 Application
15.5 Default Configuration
This section describes the default CPOS interface configuration.
15.6 Configuring CPOS Interfaces to Connect Devices
When the headquarters and the branch need to transmit data over a long distance through
CPOS interfaces, you can configure CPOS interfaces to connect devices through optical fibers
or using WDM.
15.7 Configuring CPOS Interfaces to Converge E1 Lines
Multiple branches access the SONET/SDH network through E1 lines. To lower costs and
improve the convergence ability of the device for low-speed access, the regional headquarters
uses CPOS interfaces to converge these E1 lines. In this way, data can be transmitted between
the regional headquarters and its branches. The E1 system is widely used in Europe and
China.
15.8 Configuring CPOS Interfaces to Converge T1 Lines
Multiple branches access the SONET/SDH network through T1 lines. To lower costs and
improve the convergence ability of the device for low-speed access, the regional headquarters
uses CPOS interfaces to converge these T1 lines. In this way, data can be transmitted between
the regional headquarters and its branches. T1 system is widely used in North America and
Japan.
15.9 Maintaining CPOS Interface Configuration
You can enable the self-loop function to detect whether an interface runs properly and clear
interface statistics to maintain CPOS interfaces.
15.10 Configuration Examples
This section provides CPOS interface configuration examples including the networking
requirements, configuration roadmap, operation procedure, and configuration files.
15.11 Common Configuration Errors
This section provides the common configuration errors.
Introduction to POS
SONET/SDH
POS POS
A POS interface uses SONET/SDH to transfer IP data in MAN and WAN. The POS uses the
link-layer protocol (FR, PPP and HDLC) to encapsulate IP packets, uses the service adapter at
the SONET/SDH channel layer to map the packets to the payload of SONET/SDH signals,
then uses the SONET/SDH transport layer and section layer to add a path overhead and
segment overhead and encapsulate the payload in a SONET/SDH frame, and finally transmits
it on the optical network.
The device provides POS interfaces with two rates and their signal level are OC-3/STM-1
(155 Mbit/s) and OC-12/STM-4 (622 Mbit/s).
CPOS
Low-speed tributary signals can be multiplexed into SDH signals. These low-speed tributary
links are known as channels. CPOS interfaces are channelized POS interfaces that use the
SDH mechanism to perform refined division of bandwidth. A CPOS interface reduces the
number of low-speed physical interfaces required in networking and improves the capability
of a device to access leased lines. CPOS interfaces in Figure 15-2 are used in the regional
headquarters to converge E1/T1 lines of each branch, improving the convergence ability of
the device for low-speed access.
Regional
headquarters
RouterA
CPOS
interface
SONET/SDH
15.2 Principles
15.2.1 Concepts
Multiplexing units
SDH contains basic multiplexing units, including container (C-n), virtual container (VC-n),
tributary unit (TU-n), tributary unit group (TUG-n), administrative unit (AU-n), and
administrative unit group (AUG-n). Here, n stands for the number of the unit level.
Container
It is used to carry service signals that are transmitted at different rates. G.709 defines
specifications for five types of standard containers: C-11, C-12, C-2, C-3, and C-4.
VC
It is used to support connections between channel layers of the SDH and is an information
terminal of SDH channels. VCs are classified into lower-order VCs and higher-order VCs.
VC-3 in AU-3 and VC-4 are higher-order VCs.
TU and TUG
TU provides adaptation between lower-order and higher-order path layers. One TU or a set of
multiple TUs, occupying a fixed position in the payload of the higher-order VC, is called a
TUG.
AU and AUG
AU provides adaptation between higher-order channel layer and multiplex section layer. One
AU and a set of multiple AUs, occupying a fixed position in the payload of STM-N, is called
an AUG.
9*270*N(bytes)
1 Regenerator
2 Section
3 Overhead
4 AUPTR
5 Payload
6 Multiplex
7 Section
8 Overhead
9
9*N 261*N
STM-N is the frame with the dimension of 9 rows x 270 x N columns. Here, N is consistent
with that in STM-N, indicating how many STM-1 signals are multiplexed to this STM-N
signal.
l Payload
Figure 15-4 and Figure 15-5 show the multiplexing from E1/T1 to STM-1.
×1 ×1 ×3
SMT-1 AUG-1 AU-4 VC-4
×3 TUG-3
AU-3
×7
Point processing
×7 TUG-2
VC-3
Multiplexing
Aligning
C-12:2.048Mb/s ×3
Mapping
C-12 VC-12 TU-12
TUG-3
×3 ×7
AU-3 VC-3
Point processing ×7
TUG-2
Multiplexing
×4
Aligning
TU-11
Mapping
VC-11
C-11:1.544Mb/s
C-11
In application, different countries and regions may adopt different multiplexing paths. To
ensure mutual communication, the device provides the multiplex mode command on the
CPOS interface so that you can select the AU-3 or AU-4 multiplexing path.
The multiplexing process in Figure 15-6 shows that the 2 Mbit/s multiplexing structure is
3-7-3 when the AU-4 multiplexing path is adopted. The following formula shows how to
calculate the numbers of TU-12s that are located in different positions in a VC-4:
In a VC-4, all TUG-3s are numbered the same; all TUG-2s are numbered the same; the
difference between two TU-12 numbers is 1. These two TU-12s are adjacent.
NOTE
l The numbers listed in the preceding formula stand for the positions in a VC-4 frame.
l The TUG-3 number ranges from 1 to 3; the TUG-2 number ranges from 1 to 7; the TU-12 number
ranges from 1 to 3.
l The TU-12 number indicates which one of the 63 TU-12s is in the VC-4 frame according to the
sequence and also indicates the E1 channel number.
TU-12 1
1 1
TU-12 3
TU-12 1
2 2
. 3
. TU-12
.
.
.
.
TU-12 1
3 7
TUG-3 TUG-2 TU-12 2
TU-12 3
When the AU-3 multiplexing path is adopted, the calculation of the TU-12 number can be
deduced in a similar manner.
This section describes only some SDH overhead bytes used in configuration. For details, refer to a book
about the particular topic.
l SOH
SOH consists of RSOH and MSOH.
The Payload of an STM-N frame contains the path overhead (POH) that monitors low-
speed tributary signals.
J0, the regeneration section trace message is contained in RSOH. This byte is used to
transmit the Section Access Point Identifiers (SAPIs) repeatedly to check the connection
between the receiver and the transmitter. The byte can be any character in the networks
of a carrier, whereas the J0 byte of the receiver and the transmitter must match each other
at the border of networks between two carriers. With the J0 byte, a carrier can locate and
rectify faults in advance to speed up the network recovery.
l POH
SOH monitors section layers, whereas POH monitors path layers. POH is classified into
lower-order path overhead and higher-order path overhead.
The higher-order path overhead monitors the paths at VC-4 and VC-3 levels.
J1, the higher-order VC-N path trace byte, is contained in the higher-order path
overhead. Similar to j0, J1 is used to transmit SAPIs repeatedly to check the connection
between the receiver and the transmitter. J1 bytes of the receiver and transmitter must
match each other.
C2, the path signal label byte, is contained in higher-order path overhead. C2 is used to
specify the multiplexing structure and the attributes of the information payload in a VC
frame, including whether the path is loaded with services, service types, and the mapping
mode. C2 bytes of the receiver and transmitter must match each other.
License Support
CPOS interfaces is a basic capability of an AR router and is not under license control.
15.4 Application
The SONET/SDH network converges E1/T1 lines of all branches to one CPOS interface or
several CPOS interfaces. The CPOS interface connects the E1/T1 lines to RouterA, and
RouterA identifies each mid-range and low-end router based on the timeslot. Logically, each
mid-range and low-end router is connected to RouterA through the E1/T1 line or several
E1/T1 lines.
NOTE
In practice, there may be more than one level of transmission networks between CPOS interfaces and mid-
range and low-end routers. The mid-range and low-end routers may require other transmission devices to
connect to CPOS interfaces.
Figure 15-7 Using CPOS interfaces to converge E1/T1 lines through SONET/SDH network
Regional
headquarters
RouterA
CPOS
interface
SONET/SDH
As shown in Figure 15-8, some enterprise branches use mid-range and low-end routers to
connect to the CPOS interfaces. The CPOS interfaces are configured to aggregate E1/T1 lines
of each branch.
SONET/SDH
.
.
.
.
CPOS CPOS CPOS
Regional
headquarters Headquarters
Pre-configuration Tasks
Before configuring CPOS interfaces to connect devices, complete the following task:
Context
When CPOS interfaces of a Huawei device and a non-Huawei device are connected through
optical fibers or using WDM, configure the connection mode for the CPOS interface.
A router provides three connection modes: Alcatel mode, Huawei mode, and Lucent mode.
Configure the mode to suit the device connected to the CPOS interface.
NOTE
When the E1/T1 links on all low-end devices are aggregated to the device's CPOS interface through an SDH/
SONET network, you do not need to configure the connection mode for the CPOS interface.
Procedure
Step 1 Run:
system-view
Step 2 Run:
controller cpos cpos-number
Step 3 Run:
multi-channel align-mode { alcatel | huawei | lucent }
----End
Procedure
l Perform the following configurations if SDH is used locally:
a. Run:
system-view
NOTE
The frame format of the CPOS interface must be the same on both ends.
d. Run:
multiplex mode { au-4 | au-3 }
NOTE
Choose a proper AUG multiplexing mode and ensure that the AUG multiplexing mode of
the CPOS interface is the same on both ends.
e. Run:
flag { c2 c2-value | { j0 | j1 } { 1byte-mode 1byte-string | 16byte-mode
16byte-string | 64byte-mode 64byte-string } | s1 s1-string }
NOTE
The values of C2, J0, J1, and S1 at the receive and transmit ends must be the same; otherwise, the
two ends fail to communicate.
f. Run:
clock { master | slave | system }
NOTE
When CPOS interfaces are connected through optical fibers or using WDM, configure one CPOS
interface to work in master clock mode and the other in slave clock mode.
g. Run:
itf { number number | type { 7e | ff } }
The interframe filling tag and the number of interframe filling tags are configured
on a CPOS interface.
By default, a CPOS interface uses the interframe filling tag 0x7e and interframe
filling tags.
l Perform the following configurations if SONET is used locally:
a. Run:
system-view
NOTE
The frame format of the CPOS interface must be the same on both ends.
d. Run:
flag { c2 c2-value | { j0 | j1 } { 1byte-mode 1byte-string | 16byte-mode
16byte-string | 64byte-mode 64byte-string } | s1 s1-string }
NOTE
The values of C2, J0, J1, and S1 at the receive and transmit ends must be the same; otherwise, the
two ends fail to communicate.
e. Run:
clock { master | slave | system }
NOTE
When CPOS interfaces are connected through optical fibers or using WDM, configure one CPOS
interface to work in master clock mode and the other in slave clock mode.
f. Run:
itf { number number | type { 7e | ff } }
The interframe filling tag and the number of interframe filling tags are configured
on a CPOS interface.
By default, a CPOS interface uses the interframe filling tag 0x7e and four
interframe filling tags.
----End
Procedure
l Run the display controller cpos [ cpos-number ] command to view the physical layer
configurations of the CPOS interface and all E1/T1 channels.
l Run the display cpos multi-channel align-mode command to view the multiplexing
path tributary unit groups (TUGs) of an E1/T1 channel.
----End
Pre-configuration Tasks
Before configuring CPOS interfaces to converge E1 lines, complete the following tasks:
l Registering the 1CPOS-155M/1CPOS-155M-W interface card
l Ensuring that the configuration of multiplexing path TUGs on the SDH transmission
device corresponds to the E1 channel number of the CPOS interface
Context
SDH and SONET are different standards defined by different organizations, but their content
and functions are similar. SDH is mainly used in Europe and China and SONET is mainly
used in North America and Japan. Different device manufacturers provide different default
configurations for them.
You need to configure line attributes for a CPOS interface based on the local standard.
Procedure
l Perform the following configurations if SDH is used locally:
a. Run:
system-view
NOTE
NOTE
When connecting to a SONET/SDH device, a CPOS interface must be configured with the slave
clock mode because the clock on a SONET/SDH network is more accurate than the internal clock
source on a CPOS interface.
l Perform the following configurations if SONET is used locally:
a. Run:
system-view
NOTE
When connecting to a SONET/SDH device, a CPOS interface must be configured with the slave
clock mode because the clock on a SONET/SDH network is more accurate than the internal clock
source on a CPOS interface.
----End
Procedure
Step 1 Run:
system-view
Before switching between the unchannelized mode and channelized mode, delete the configuration of the
original working mode.
Step 5 Run:
e1 e1-number set frame-format { crc4 | no-crc4 }
NOTE
The frame format of the E1 channel must be the same on both ends.
Step 6 Run:
e1 e1-number set flag { j2 { 1byte-mode 1byte-string | 16byte-mode 16byte-
string } | v5 v5-string }
NOTE
Step 8 (Optional) Run either of the following commands to disable or enable the E1 channel.
l Run:
e1 e1-number shutdown
----End
Pre-configuration Tasks
Before configuring CPOS interfaces to converge T1 lines, complete the following tasks:
l Registering the 1CPOS-155M/1CPOS-155M-W interface card
l Ensuring that the configuration of multiplexing path TUGs on the SDH transmission
device corresponds to the T1 channel number of the CPOS interface
Procedure
l Perform the following configurations if SDH is used locally:
a. Run:
system-view
c. Run:
frame-format sdh
NOTE
NOTE
When connecting to a SONET/SDH device, a CPOS interface must be configured with the slave
clock mode because the clock on a SONET/SDH network is more accurate than the internal clock
source on a CPOS interface.
l Perform the following configurations if SONET is used locally:
a. Run:
system-view
NOTE
When connecting to a SONET/SDH device, a CPOS interface must be configured with the slave
clock mode because the clock on a SONET/SDH network is more accurate than the internal clock
source on a CPOS interface.
----End
Procedure
Step 1 Run:
system-view
l Run:
t1 t1-number channel-set set-number timeslot-list slot-list [ speed { 56k |
64k } ]
Step 5 Run:
t1 t1-number set frame-format { esf | sf }
NOTE
The frame format of the T1 channel must be the same on both ends.
Step 6 Run:
t1 e1-number set flag { j2 { 1byte-mode 1byte-string | 16byte-mode 16byte-
string } | v5 v5-string }
By default, J2 repeatedly transmits a string of null characters, and the V5 byte value is 2.
Step 7 Run:
t1 t1-number set clock { master | slave }
NOTE
Step 8 (Optional) Run either of the following commands to disable or enable the T1 channel.
l Run:
t1 t1-number shutdown
----End
Procedure
l Run the display controller cpos [ cpos-number ] command to view the physical layer
configurations of the CPOS interface and all E1/T1 channels.
l Run the display controller cpos cpos-number t1 t1-number command to view the
physical layer configuration of a specified T1 channel of a specified CPOS interface.
----End
Context
The interface or the link runs abnormally during the loopback test. After finishing the
detection, run the undo loopback command immediately to disable loopback.
Procedure
Step 1 Run:
system-view
Step 2 Run:
controller cpos cpos-number
Step 3 According to the type of the interface to be detected, choose one of the following commands
to enable loopback.
l In the case of a CPOS interface, run the loopback { local | remote } command.
l In the case of the E1 channel of a CPOS interface, run the e1 e1-number set loopback
{ local | remote } command.
l In the case of the T1 channel of a CPOS interface, run the t1 t1-number set loopback
{ local | remote } command.
----End
Procedure
l Run the reset counters interface [ interface-type [ interface-number ] ] command in the
user view to clear statistics on the CPOS interface or on the E1/T1 channel.
----End
Figure 15-10 Networking diagram for configuring CPOS interfaces to be connected through
optical fibers
RouterA RouterB
CPOS1/0/0
Configuration Roadmap
The configuration roadmap is as follows:
1. Set the connection mode of RouterA to Alcatel.
2. Set the frame format to SDH for the CPOS interface on RouterA.
3. Set the AUG multiplexing mode to AU-3 for the CPOS interface on RouterA.
4. Set the overhead bytes of the CPOS interface on RouterA as follows: c2: 3, s1:14, j0:
abc(16 byte-mode), and j1: xyz(16 byte-mode) and ensure that overhead bytes are the
same on both ends.
5. Set the clock mode of the CPOS interface on RouterA to master and ensure that RouterA
has the different clock mode than RouterB.
Procedure
Step 1 Set the connection mode of RouterA to Alcatel.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] controller cpos 1/0/0
[RouterA-Cpos1/0/0] multi-channel align-mode alcatel
Step 2 Set the frame format to SDH for the CPOS interface on RouterA.
[RouterA-Cpos1/0/0] frame-format sdh
Step 3 Set the AUG multiplexing mode to AU-3 for the CPOS interface on RouterA.
[RouterA-Cpos1/0/0] multiplex mode au-3
Step 5 Set the clock mode of the CPOS interface on RouterA to master.
[RouterA-Cpos1/0/0] clock master
[RouterA-Cpos1/0/0] quit
----End
Configuration Files
l Configuration file of RouterA
#
sysname RouterA
#
controller Cpos1/0/0
clock master
multiplex mode au-3
multi-channel align-mode alcatel
flag j0 16byte-mode abc
flag j1 16byte-mode xyz
flag c2 3
flag s1 14
#
return
Figure 15-11 Networking diagram for configuring CPOS interfaces to converge E1 lines
RouterH
E1
.
.
CPOS1/0/0 .
SDH
.
RouterA .
E1
RouterB
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure line attributes, including clock mode, frame format, and AUG multiplexing
mode, on RouterA's CPOS interface.
NOTE
By default, the clock mode is slave clock, frame format is SDH, and AUG multiplexing mode is au-4.
The default line attributes on CPOS interface do not need to be modified in this example.
2. Create and configure an MP-Group interface on RouterA and RouterB.
3. Configure an E1 channel on the CPOS interface of RouterA and bind the E1 channel to
the MP-Group interface.
4. Bind the E1-F interface to the MP-Group interface on RouterB.
Procedure
Step 1 Create and configure an MP-Group interface on RouterA.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] interface mp-group 0/0/1
[RouterA-Mp-group0/0/1] ip address 10.10.10.1 24
[RouterA-Mp-group0/0/1] quit
----End
Configuration Files
l Configuration file of RouterA
#
sysname RouterA
#
interface Mp-group0/0/1
ip address 10.10.10.1 24
#
controller cpos 1/0/0
e1 1 unframed
e1 2 unframed
#
interface Serial1/0/0/1:0
link-protocol ppp
ppp mp mp-group 0/0/1
#
interface Serial1/0/0/2:0
link-protocol ppp
ppp mp mp-group 0/0/1
#
return
Networking Requirements
As shown in Figure 15-12, RouterA connects to seven Routers B through H. Each of the
seven Routers connects to RouterA using an T1 link. RouterA uses a CPOS interface to
aggregate these T1 links.
When another T1 link is added to RouterB to provide more bandwidth, the two T1 links need
to be bound using MP-Group interfaces.
Figure 15-12 Networking diagram for configuring CPOS interfaces to converge T1 lines
RouterH
T1
.
.
CPOS1/0/0 .
SDH
.
RouterA .
T1
RouterB
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure line attributes, including clock mode, frame format, and AUG multiplexing
mode, on RouterA's CPOS interface.
NOTE
By default, the clock mode is slave clock, frame format is SDH, and AUG multiplexing mode is au-4.
The default line attributes on CPOS interface do not need to be modified in this example.
2. Create and configure an MP-Group interface on RouterA and RouterB.
3. Configure a T1 channel on the CPOS interface of RouterA and bind the T1 channel to
the MP-Group interface.
4. Bind the T1-F interface to the MP-Group interface on RouterB.
Procedure
Step 1 Create and configure an MP-Group interface on RouterA.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] interface mp-group 0/0/1
[RouterA-Mp-group0/0/1] ip address 10.10.10.1 24
[RouterA-Mp-group0/0/1] quit
[RouterA-Serial1/0/0/1:0] quit
[RouterA] interface serial 1/0/0/2:0
[RouterA-Serial1/0/0/2:0] ppp mp mp-group 0/0/1
[RouterA-Serial1/0/0/2:0] quit
----End
Configuration Files
l Configuration file of RouterA
#
sysname RouterA
#
interface Mp-group0/0/1
ip address 10.10.10.1 24
#
controller cpos 1/0/0
t1 1 channel-set 1 timeslot-list 1-24
t1 2 channel-set 2 timeslot-list 1-24
#
interface Serial1/0/0/1:0
link-protocol ppp
ppp mp mp-group 0/0/1
#
interface Serial1/0/0/2:0
link-protocol ppp
ppp mp mp-group 0/0/1
#
return
Fault Symptom
CPOS interfaces of a Huawei device and a non-Huawei device are connected through SDH
transmission devices. The E1 channel of the CPOS interface runs PPP and does not have a
loopback mode configured. Run the display interface serial command to view the interface
status, and you can find that the physical status of the E1 channel is Up, the link protocol
status is Down, and a loopback is detected.
Fault Analysis
The fault may be caused because the configuration of multiplexing path TUGs on the SDH
transmission device does not correspond to the E1 channel number of the CPOS interface. As
a result, signals are transmitted to the incorrect timeslot. Timeslots on both ends do not match.
PPP negotiation fails and LCP cannot work properly. If a timeslot corresponds to an idle
timeslot on the transmission device but the E1 channel of the correct timeslot on the
transmission device is in loopback state, the system prompts a message, indicating that a line
loopback is detected.
Troubleshooting Procedure
1. Run the display controller cpos e1 command to view the multiplexing path of the E1
channel. You can also obtain the multiplexing path of the E1 channel based on the E1
channel number of a CPOS interface and the result of 15.2.4 Calculation of E1/T1 Path
Sequence Number.
2. Check whether the configurations on the SDH transmission device correspond to the E1
multiplexing path obtained in step 1 and modify inconsistent entries.
Fault Description
Two routers are connected through CPOS interfaces, and CPOS interfaces are bundled into a
large number of logical channels. The link layer status of the logical channel keeps alternating
between Up and Down.
Fault Cause
Too many logical channels affect processing capability of the system.
Troubleshooting Procedure
This problem can be solved using the following two methods:
idle logical links bundled on the CPOS interface until the protocol status of the logical
channel keeps stable.
l Method 2: Configure CPU attack defense. PPP of the logical channel is used as an
example.
a. Run the packet-type ppp rate-limit rate-value command in the attack defense
policy view to increase the rate limit for sending packets to the CPU.
b. Apply the attack defense policy in the system view.
c. Repeat the preceding operations until the link layer status of the logical link is in a
stable state.
Asymmetric Digital Subscriber Line (ADSL) technology transmits LAN services over low-
cost twisted pairs to upper-layer devices.
16.1 ADSL Overview
ADSL is a data communications technology that enables fast data transmission over copper
twisted pairs by employing high frequencies that are not used by regular telephone lines.
16.2 Configuration Notes
This section describes specifications of ADSL interfaces.
16.3 Principles
16.4 Default Configuration
This section describes the default configuration of the ADSL interface.
16.5 Configuring an ADSL Interface
After an ADSL interface on the device is configured, the device can transmit services to
upper-layer devices.
16.6 Configuration Examples
This section provides several ADSL interface configuration examples, including network
requirements, configuration roadmap, configuration procedure, and configuration files.
Background
Users must access networks to use Internet services. Varying with transmission media,
network access modes include wired access, wireless access, and combination of wired and
wireless access. Wired access includes copper access, fiber access, and access by using both
twisted pairs and fibers. Copper twisted pair access is widely used currently, so ADSL
becomes the most competitive access mode.
ADSL uses frequency division multiplexing (FDM) technology to classify telephone lines
into regular telephone lines, upstream channels, and downstream channels to avoid
interference. ADSL can provide channelized data services (including E1/Tl, FR, IP, and ATM
services) and transmit data, voice, and video signals at a high rate.
ADSL Evolution
The first ADSL standards (G.992.1 G.DMT and G.992.2 G.Lite) supported the upstream
transmission rate of 640 kbit/s to 2 Mbit/s, downstream transmission rate of 1 Mbit/s to 8
Mbit/s, and transmission distance of 3 to 5 km. Since the release of ADSL in June 1999, the
ITU-T has been improving the ADSL transmission performance, anti-attenuation and anti-
interference capabilities, line diagnosis, and operation maintenance. In 2002, the ITU-T
released ADSL2, which comprises two new ADSL standards (G.992.3 and G.992.4). In 2003,
the ITU-T defined G.992.5, which is referred to as ADSL2+.
Compared with the first ADSL technology, ADSL2/2+ has the following advantages:
1. ADSL2 improves performance in long-distance transmission, anti-attenuation, and anti-
noise. ADSL2 also improves the frame structure, so it can provide a maximum of 1
Mbit/s upstream transmission rate and 12 Mbit/s downstream transmission rate.
Expanding the frequency spectrum used, ADSL2+ greatly improves transmission
performance and provides a maximum rate of 1 Mbit/s upstream and 24 Mbit/s
downstream.
2. In addition to providing higher rates, ADSL2/2+ improves transmission performance in
long-distance transmission and anti-interference by improving the modulation rate and
coding gain, reducing the frame overhead, and using enhanced signal processing
methods. Currently, ADSL provides a transmission distance of 3 km, whereas ADSL2+
achieves a maximum of 6 km transmission distance.
3. ADSL2/2+ saves energy. The first ADSL technology provides the same transmission rate
regardless of whether data is being transmitted. ADSL2/2+ enables a transmitter to enter
the sleep state when the data transmission rate is low or no data is being transmitted,
reducing power consumption and heat dissipation.
ADSL System
As shown in Figure 16-1, an ADSL system consists of a Digital Subscriber Line Access
Multiplexer (DSLAM) and Customer Premises Equipment (CPE).
l A DSLAM is an aggregation device that terminates ADSL packets on the central office.
l A CPE provides interfaces for users, modulates and demodulates data signals, and
uploads user data to a DSLAM.
NOTE
In the ADSL system, downstream transmission refers to data transmission from a DSLAM to
a CPE, and upstream transmission refers to data transmission from a CPE to a DSLAM.
ADSL interfaces on the device are upstream interfaces.
Host 1
CPE DSLAM
Host 2 xDSL
Internet
Host n
License Support
ADSL interfaces is a basic capability of an AR router and is not under license control.
Among the AR150&AR160&AR200 series, only the AR129, AR156, AR157, AR169F,
AR206, AR207 series support ADSL interfaces.
Among the AR150&AR160&AR200, only the AR156, AR156W, and AR206 support
AnnexJ.
AR1200 series, AR2204, AR2220E, AR2220, AR2240, AR3200 and AR3600 series provide
ADSL-A/M and ADSL-B/J boards. Only the ADSL-A/M boards support AnnexM. Only the
ADSL-B/J boards support AnnexJ.
16.3 Principles
Interface Activation
Activation of an ADSL interface refers to the training between a DSLAM and a CPE. During
the training, the two devices check the line distance and status and negotiate parameters such
as the transmission standard, upstream and downstream line rates, and specified noise margin.
If the training succeeds, the ADSL interface on the CPE is activated and can transmit data.
After the device starts, its ADSL interface is automatically activated. The ADSL interface
remains activated as long as its ADSL line works properly. To set line parameters, deactivate
the ADSL interface on the CPE. After setting parameters, activate the interface to make
configurations take effect.
Transmission Standard
Parameters for an ADSL interface include the transmission standard, bit exchange status,
seamless rate adaptation status, and trellis coding status.
Transmission Standard
Before configuring the device to transmit services on an ADSL line, configure the
transmission standard for an ADSL interface on the device. Table 16-1 lists the transmission
standards supported by the device.
The device functions as a CPE and must be configured with the same transmission standard as
the DSLAM. You are advised to configure the device to automatically adapt to the
transmission standard of the DSLAM. By doing this, the device can automatically select the
same transmission standard as the DSLAM from G.DMT, ADSL2, AnnexL, ADSL2+,
AnnexM and T1.413.
NOTE
The performance of an ADSL interface depends on external factors, such as DSLAM line card types,
DSLAM software version, line noise, line length, and temperature.
Bit Exchange
During line activation, every sub-channel calculates the signal-to-noise ratio (SNR) and the
number of bits to be transmitted. After the line is activated, the SNR may change because the
external environment changes. For example, the SNRs of some sub-channels decrease,
whereas the SNRs of others increase. After a long period of time, the line may be
disconnected.
The bit exchange function addresses this issue in the following ways:
l Allows sub-channels with low SNRs switch some bits that they cannot transmit to sub-
channels with higher SNRs.
l Reduces the transmit power of sub-channels with higher SNRs to increase the sending
rate and SNRs of sub-channels with lower SNRs.
These measures reduce the bit error rate without triggering line negotiation.
Seamless Rate Adaptation
To prevent the line disconnection when the external environment changes, the bit exchange
function adjusts bit distribution or the power among sub-channels without deactivating the
line. However, the bit exchange function cannot change the line rate. When the line
environment worse, the bit exchange function just allows the line to be activated at a smaller
rate. When the line environment becomes better, the bit exchange function cannot adjust the
rate and therefore, wasting line resources.
Seamless rate adaptation solves this problem by dynamically adjusting the line rate without
reactivating the line.
Trellis Coding
Trellis coding increases the SNR by using an algorithm with a high coding efficiency. After
trellis coding is enabled, the line activation rate is greatly increased.
Interface status Up
Pre-configuration Tasks
Before Configuring an ADSL interface, complete the following task:
l Installing an ADSL-A/M or ADSL-B interface card on the router and ensuring that it is
registered successfully
Context
After an device starts, its ADSL interface is automatically activated. To set line parameters,
deactivate the ADSL interface on the CPE. After setting parameters, activate the interface to
make configurations take effect.
NOTE
Procedure
Step 1 Run:
system-view
----End
Prerequisites
The ADSL interface has been deactivated.
Context
The router used as the CPE and the peer device must use the same transmission standard, bit
exchange status, seamless rate adaptation status, and trellis coding status so that they can
communicate.
Procedure
Step 1 Run:
system-view
NOTE
ADSL boards on the device include ADSL-A/M and ADSL-B/J boards. Only ADSL-A/M boards
support annexm, annexl and t1413. Only ADSL-B/J boards support annexj.
Step 4 Run:
adsl bitswap { off | on }
Step 5 Run:
adsl sra { off | on }
Step 6 Run:
adsl trellis { off | on }
----End
Prerequisites
Parameters have been set for an ADSL interface.
Context
Deactivating an ADSL interface disconnects it from a DSLAM. To enable the ADSL interface
to transmit services, reactivate the interface.
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface atm interface-number
Step 3 Run:
undo shutdown
----End
Procedure
l Run the display dsl interface atm interface-number command to check the information
about an ADSL interface.
l Run the display interface atm [ interface-number ] command to check the configuration
and status of an ADSL interface.
----End
Router DSLAM
ATM1/0/0
Internet
Enterprise A
Configuration Roadmap
The configuration roadmap is as follows:
1. Deactivate an ADSL interface.
2. Set the same parameters on the device as those of the DSLAM. Parameters for the ADSL
interface on the DSLAM: The transmission standard ADSL2+ is used, bit exchange and
trellis coding are enabled, and seamless rate adaptation are disabled.
3. Activate the ADSL interface.
Procedure
Step 1 Deactivate ATM1/0/0.
<Huawei> system-view
[Huawei] sysname Router
[Router] interface atm 1/0/0
[Router-Atm1/0/0] shutdown
Step 2 Configure the transmission standard ADSL2+ for the ADSL interface.
[Router-Atm1/0/0] adsl standard adsl2+
Line modulations
G.Dmt : Disabled
ADSL2 : Disabled
T1.413 : Disabled
AnnexL : Disabled
ADSL2+ : Enabled
AnnexM : Disabled
Line capability
Bitswap : On
SRA : Off
Trellis coding : On
Board version
vendor ID : BDCM:
0x938f
vendor serial : 0x938f
Board ID: : 963281TAN
Software version : 4.06L.03
----End
Configuration Files
l Configuration file of the Router
#
sysname Router
#
interface Atm1/0/0
adsl standard adsl2+
#
return
The Very high data rate Digital Subscriber Line (VDSL) technology transmits LAN services
over low-cost twisted pairs.
Advantages of VDSL
Compared with ADSL, VDSL has the following advantages:
VDSL System
As shown in Figure 17-1, a VDSL system consists of a Digital Subscriber Line Access
Multiplexer (DSLAM) and Customer Premises Equipment (CPE).
l A DSLAM is an aggregation device that terminates VDSL packets on the central office.
l A CPE provides interfaces for users, modulates and demodulates data signals, and
uploads user data to a DSLAM.
NOTE
In the VDSL system, downstream transmission refers to data transmission from a DSLAM to
a CPE, and upstream transmission refers to data transmission from a CPE to a DSLAM.
VDSL interfaces on the device are upstream interfaces.
Host 1
CPE DSLAM
Host 2 xDSL
Internet
Host n
License Support
VDSL interfaces is a basic capability of an AR router and is not under license control.
17.3 Principle
Working Mode
The device supports two working modes for VDSL interfaces:
l Asynchronous Transfer Mode (ATM): ATM cells are transmitted over VDSL lines.
l Packet Transfer Mode (PTM): Ethernet frames are transmitted over VDSL lines.
Ethernet frames do not need to be fragmented into ATM cells. 1483B/1483R
encapsulation, ATM Adaptation Layer 5 (AAL5) encapsulation, and ATM cell
encapsulation are not required, enabling Ethernet services to be transmitted more rapidly
than in ATM mode.
A VDSL interface on the device must work in the same mode as the VDSL interface on the
DSLAM.
Interface Activation
Activation of a VDSL interface refers to the training between a DSLAM and a CPE. During
the training, the two devices check the line distance and status and negotiate parameters such
as the transmission standard, upstream and downstream line rates, and specified noise margin.
If the training succeeds, the VDSL interface on the CPE is activated and can transmit data.
After the device starts, its VDSL interface is automatically activated. The VDSL interface
remains activated as long as its VDSL line works properly. To set line parameters, deactivate
the VDSL interface on the CPE. After setting parameters, activate the interface to make
configurations take effect.
Transmission Standard
Parameters for a VDSL interface include the transmission standard, bit exchange status,
seamless rate adaptation status, and trellis coding status.
Transmission Standard
Before configuring the device to transmit services on a VDSL line, configure the transmission
standard for a VDSL interface on the device. Table 17-1 lists the transmission standards
supported by the device.
The device functions as a CPE and must be configured with the same transmission standard as
the DSLAM. You are advised to configure the device to automatically adapt to the
transmission standard of the DSLAM. By doing this, the device can automatically select the
same transmission standard as the DSLAM from G.DMT, ADSL2, AnnexL, ADSL2+,
AnnexM, AnnexJ, AnnexA, AnnexB, T1.413, and VDSL2.
NOTE
The performance of a VDSL interface depends on external factors, such as DSLAM line card types, DSLAM
software version, line noise, line length, and temperature.
Bit Exchange
During line activation, every sub-channel calculates the signal-to-noise ratio (SNR) and the
number of bits to be transmitted. After the line is activated, the SNR may change because the
external environment changes. For example, the SNRs of some sub-channels decrease,
whereas the SNRs of others increase. After a long period of time, the line may be
disconnected.
The bit exchange function addresses this issue in the following ways:
l Allows sub-channels with low SNRs switch some bits that they cannot transmit to sub-
channels with higher SNRs.
l Reduces the transmit power of sub-channels with higher SNRs to increase the sending
rate and SNRs of sub-channels with lower SNRs.
These measures reduce the bit error rate without triggering line negotiation.
Seamless Rate Adaptation
To prevent the line disconnection when the external environment changes, the bit exchange
function adjusts bit distribution or the power among sub-channels without deactivating the
line. However, the bit exchange function cannot change the line rate. When the line
environment worse, the bit exchange function just allows the line to be activated at a smaller
rate. When the line environment becomes better, the bit exchange function cannot adjust the
rate and therefore, wasting line resources.
Seamless rate adaptation solves this problem by dynamically adjusting the line rate without
reactivating the line.
Trellis Coding
Trellis coding increases the SNR by using an algorithm with a high coding efficiency. After
trellis coding is enabled, the line activation rate is greatly increased.
Interface status Up
Pre-configuration Tasks
Before setting parameters for a VDSL interface, complete the following task:
l Installing a VDSL interface card on the router and ensuring that it is registered
successfully
Context
The device supports two working modes for VDSL interfaces: ATM for transmitting ATM
cells and PTM for transmitting Ethernet frames.
The device functions as a CPE. A VDSL interface on the device must work in the same mode
as the VDSL interface on the DSLAM.
Procedure
Step 1 Run:
system-view
Step 2 Run:
set workmode slot slot-id vdsl atm
NOTE
After completing this step, restart the board and wait for a while for the configuration to take effect.
For the AR129, AR129W, AR129GW-L, AR169, AR169W, AR169F, AR169BF, AR169FVW, AR169FGW-
L, AR169G-L, AR169-P-M9, AR169W-P-M9, AR169RW-P-M9, and AR169FGVW-L, you must restart the
device to make the configuration take effect after performing this step.
----End
Context
After the device starts, its VDSL interface is automatically activated. The VDSL interface
remains activated as long as its VDSL line works properly. To enable a CPE to communicate
with a DSLAM, deactivate the VDSL interface on the CPE, set parameters, and then
reactivate this interface to make configurations take effect.
NOTE
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface atm interface-number
Step 3 Run:
shutdown
----End
Prerequisites
l The transmission mode of the VDSL interface has been set to ATM or PTM.
l The VDSL interface has been deactivated.
Context
Carrier bands a43, b43, and v43 on a VDSL interface allow the local device to connect to and
negotiate with a digital subscriber line access multiplexer (DSLAM). By default, carrier bands
are enabled on the VDSL interface and the local device selects a carrier band through auto-
negotiation with the DSLAM. If the DSLAM does not support a carrier band, disable the
carrier band.
Procedure
Step 1 Run:
system-view
----End
Prerequisites
The VDSL interface has been deactivated.
Context
The router used as the CPE and the peer device must use the same transmission standard, bit
exchange status, seamless rate adaptation status, and trellis coding status so that they can
communicate.
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface atm interface-number
The transmission standard is configured for the VDSL interface in ATM mode.
By default, a VDSL interface in ATM mode transmission standard is auto.
NOTE
Step 4 Run:
adsl bitswap { off | on }
----End
Procedure
Step 1 Run:
system-view
Step 3 Run:
undo shutdown
----End
Procedure
l Run the display dsl interface atm interface-number command to check the information
about a VDSL interface.
l Run the display interface atm interface-number command to check the configuration
and status of a VDSL interface.
----End
Pre-configuration Tasks
Before setting parameters for a VDSL interface, complete the following task:
l Installing a VDSL interface card on the router and ensuring that it is registered
successfully
Context
The device supports two working modes for VDSL interfaces: ATM for transmitting ATM
cells and PTM for transmitting Ethernet frames.
The device functions as a CPE. A VDSL interface on the device must work in the same mode
as the VDSL interface on the DSLAM.
Procedure
Step 1 Run:
system-view
Step 2 Run:
set workmode slot slot-id vdsl ptm
NOTE
After completing this step, restart the board and wait for a while for the configuration to take effect.
For the AR129, AR129W, AR129GW-L, AR169, AR169W, AR169F, AR169BF, AR169FVW, AR169FGW-
L, AR169G-L, AR169-P-M9, AR169W-P-M9, AR169RW-P-M9, and AR169FGVW-L, you must restart the
device to make the configuration take effect after performing this step.
----End
NOTE
Procedure
Step 1 Run:
system-view
----End
Context
The router used as the CPE and the peer device must use the same bit exchange status,
seamless rate adaptation status, and trellis coding status so that they can communicate.
Procedure
Step 1 Run:
system-view
NOTE
Only the AR129, AR129W, AR129GW-L, AR169, AR169W, AR169F, AR169FVW, AR169FGW-L,
AR169FGVW-L, AR169G-L, AR169W-P-M9, AR169RW-P-M9, AR169-P-M9 support this step.
Step 4 Run:
adsl bitswap { off | on }
----End
Procedure
Step 1 Run:
system-view
Router DSLAM
ATM1/0/0
Internet
Enterprise A
Configuration Roadmap
The configuration roadmap is as follows:
1. Deactivate a VDSL interface.
2. Set the same parameters on the device as those of the DSLAM. Parameters for the VDSL
interface on the DSLAM: The transmission standard auto is used, bit exchange and
trellis coding are enabled, and seamless rate adaptation are disabled.
3. Activate the VDSL interface.
NOTE
The VDSL interface working in ATM mode is used as an example. The VDSL interface working in
ATM mode has the similar configuration roadmap with this example.
Procedure
Step 1 Set the working mode for VDSL interfaces on the device to ATM.
<Huawei> system-view
[Huawei] sysname Router
[Router] set workmode slot 1 vdsl atm
Warning: Changing the working mode will reset the board in slot 1. Continue? [y/
n]:y
INFO: Resetting board[1] succeeded.
NOTE
Step 3 Configure the transmission standard auto for the VDSL interface.
[Router-Atm1/0/0] adsl standard auto
Line modulations
G.Dmt : Enabled
T1.413 : Enabled
ADSL2 : Enabled
AnnexL : Enabled
ADSL2+ : Enabled
AnnexM : Enabled
Line capability
Bitswap : On
SRA : Off
Trellis coding : On
Board version
vendor ID : BDCM:
0x938f
vendor number : 0x938f
vendor ID : 0xB5 0 "BDCM" 0 0
vendor serial : 10000000000000000000000000000000
Board ID : 963168MBV_17A
Software version : 4.12L.08
Bootloader (CFE) version : 1.0.38-112.118
DSL PHY and driver version : A2pvbF038j.d24h
Build timestamp : 20130706_1814
--------------------------------------------------------------
----End
Configuration Files
l Configuration file of the Router
#
sysname Router
#
The G.Single-pair High Speed Digital Subscriber Line (G.SHDSL) technology transmits data
over low-cost twisted pairs.
18.1 G.SHDSL Overview
G.SHDSL is a data communications technology that enables faster data transmission over
copper twisted pairs. G.SHDSL employs frequencies that include those unused by traditional
Plain Old Telephone Service (POTS) to provide symmetric transmit and receive data rates.
18.2 Configuration Notes
This section describes specifications of G.SHDSL interfaces.
18.3 Default Configuration
This section describes the default configuration of the G.SHDSL interface.
18.4 Setting Parameters for a G.SHDSL Interface
When the router connects to a DSLAM using a G.SHDSL interface, set parameters for the
G.SHDSL interface.
18.5 Configuration Examples
This section provides several G.SHDSL interface configuration examples, including network
requirements, configuration roadmap, configuration procedure, and configuration files.
18.6 FAQ About Basic Interfaces
G.SHDSL complies with ITU Recommendation G.991.2 and provides bidirectional data
transmission with symmetric data rates over twisted pairs. It reduces the transmission
spectrum, improves the anti-noise performance, and extends the maximum transmission
distance to 6 km by using 16-trellis coded pulse amplitude modulation (TCPAM).
Advantages of G.SHDSL
G.SHDSL provides high-speed commercial broadband services and has the following
advantages:
l Symmetric DSL technology: In contrast to ADSL, G.SHDSL provides symmetrical
services with symmetric rates from 192 kbit/s to 15296 kbit/s on a single twisted pair.
G.SHDSL can also achieve a higher bandwidth by using interface binding.
l Good compatibility: G.SHDSL is compatible with other access transmission
technologies including Digital Subscriber Line (DSL). This extends the transmission
distance.
l High-speed transmission: The G.SHDSL supports high data transmission, meeting
users's requirements.
l Long transmission distance and high signal-to-noise ratio (SNR): Compared with other
DSL technologies, G.SHDSL provides a longer transmission distance for the same
transmission rate, a higher transmission rate for the same transmission distance, and a
greater SNR for the same transmission distance and rate.
l Good performance and wide range of services: G.SHDSL provides comprehensive
solutions for small- and medium-scale enterprises and branch networks of medium- and
large-scale enterprises, meeting diverse requirements, such as security, Virtual Private
Network (VPN), and service extension. It also provides voice, video, and video
conference solutions for service providers.
G.SHDSL System
As shown in Figure 18-1, a G.SHDSL system consists of a Central Office (CO) and
Customer Premises Equipment (CPE).
l A CO is an aggregation device that terminates G.SHDSL packets on the central office.
l A CPE is a user-side device that modules and demodulates user data, and transmits user
data to a DSLAM.
NOTE
Host 1
CPE CO
Host 2
Internet
Host n
License Support
G.SHDSL interfaces is a basic capability of an AR router and is not under license control.
Interface status Up
Pre-configuration Tasks
Before setting parameters for a G.SHDSL interface, complete the following tasks:
Context
The router supports two transmission modes for G.SHDSL interfaces: ATM for transmitting
ATM cells and PTM for transmitting Ethernet frames. The device functions as a CPE. a
G.SHDSL interface on the device must work in the same mode as the G.SHDSL interface on
the DSLAM.
Procedure
Step 1 Run:
system-view
NOTE
l The SRU of AR158E, AR158EVW, AR168F and AR208E has only one WAN physical interface.
After the transmission mode is set for the G.SHDSL interface card, four G.SHDSL interfaces all
work in the configured mode. The AR168F interfaces are numbered from 0 to 3. In ATM mode, the
AR158E, AR158EVW and AR208E interfaces are numbered from 0 to 3; in PTM mode, the
AR158E and AR158EVW interfaces are numbered from 4 to 7, and AR208E interfaces are
numbered from 8 to 11.
l Each 4G.SHDSL board on the AR1200, AR2204, AR2204-48GE-P, AR2204-51GE-P,
AR2204-24GE, AR2204-27GE-P, AR2204-27GE, AR2204E, AR2220E, AR2220, AR2240,
AR2240C, AR3200, and AR3600 has only one physical interface. This physical interface can be
virtualized into four G.SHDSL upstream interfaces numbered from 0 to 3. After the transmission
mode is set for the G.SHDSL interface card, four G.SHDSL interfaces all work in the configured
mode.
----End
Context
After the device starts, its G.SHDSL interface is automatically activated. The G.SHDSL
interface remains activated as long as its G.SHDSL line works properly. To enable a CPE to
communicate with a DSLAM, deactivate the G.SHDSL interface on the CPE, set parameters
such as the transmission standard, interface binding mode, PSD mode, and line probing
function for the interface, and then reactivate this interface to make configurations take effect.
Procedure
Step 1 Run:
system-view
Step 3 Run:
shutdown
----End
Context
The G.SHDSL interface can work in CO or CPE mode.
When two devices establish a back-to-back connection, one device must work in CO mode
and the other device must work in CPE mode.
Procedure
Step 1 Run:
system-view
Step 3 Run:
shdsl mode { co | cpe }
----End
Context
The router must be configured with the same interface binding mode as the peer device. For
example, if interfaces 0 and 1 are bound on the peer device, interfaces 0 and 1 must be bound
on the router. When binding interfaces, pay attention to the following points:
l Only contiguous interfaces on the same 4G.SHDSL interface card or SRU can be bound
together. The number of the first interface to be bound must be 0 or 2, the first bound
interface is the master interface, and other bound interfaces are slave interfaces.
l Before binding interfaces, ensure that these interfaces have been deactivated and that
slave interfaces are not configured with any service.
l You only need to configure G.SHDSL interface binding on the master interface and do
not need to configure it on slave interfaces.
NOTE
l If the transmission mode is set to ATM, the interface binding mode must be set to M-Pair binding.
l If the transmission mode is set to PTM, the interface binding mode must be set to EFM binding.
l Two binding groups cannot be configured on the same interface of a 4G.SHDSL or 1GBIS4W interface
card.
Procedure
l Configure the G.SHDSL interface working in ATM transmission mode.
a. Run:
system-view
If the transmission mode is set to ATM, the interface binding mode must be set to M-Pair binding.
After G.SHDSL interfaces are bound together, the transmission standard, PSD mode, and line
probing status of these interfaces are restored to the default settings. To activate all the bound
interfaces or set parameters for these interfaces, activate the main interface or set parameters for
the main interface. Other bound interfaces inherit the configurations from the main interface. For
example, if the main interface is activated, other interfaces in the same binding group are also
activated. When one bound interface fails, all services are interrupted.
l Configure the G.SHDSL interface working in PTM transmission mode.
a. Run:
system-view
c. Run:
shdsl bind efm link-number
If the transmission mode is set to PTM, the interface binding mode must be set to EFM binding.
After G.SHDSL interfaces are bound successfully, you can set different parameters for these
interfaces. For example, you can set different transmission standards for interfaces in the same
binding group. When one bound interface fails, traffic on this interface automatically switches to
other bound interfaces. Services are not interrupted if the traffic rate is smaller than the actual
interface bandwidth.
----End
Prerequisites
The G.SHDSL interface has been deactivated.
Context
The device supports the following transmission standards:
A G.SHDSL interface must use the same transmission standard as the remote G.SHDSL
interface on the DSLAM.
Procedure
Step 1 Run:
system-view
Step 2 Run either of the following commands to enter the G.SHDSL interface view.
l If the transmission mode is set to ATM, run:
interface atm interface-number
Step 3 Run:
shdsl annex { a | all | b }
By default, a G.SHDSL interface supports both G.991.2 Annex A, G.991.2 Annex F, and G.
991.2 Annex B, and G.991.2 Annex G and can adapt to the transmission standard used by the
remote G.SHDSL interface on the DSLAM.
----End
Context
The router must be configured with the same power spectral density (PSD) mode as the peer
device. The router supports the following PSD modes:
l Symmetric PSD: The G.SHDSL interface is spectral-compatible with other services, uses
less power, and is suitable for short-distance transmission.
l Asymmetric PSD: The G.SHDSL interface uses a high output power for better
transmission performance and is suitable for long-distance transmission.
Procedure
Step 1 Run:
system-view
Step 3 Run:
shdsl psd { asymmetry | symmetry }
----End
Context
Normally, an interface adjusts its transmit power based on the line noise to achieve a proper
SNR. When the noise is known or the rate automatically adjusted by the interface is
inaccurate, you can manually adjust the transmit power.
Procedure
Step 1 Run:
system-view
Step 2 Run either of the following commands to enter the G.SHDSL interface view.
l If the transmission mode is set to ATM, run:
interface atm interface-number
----End
Prerequisites
The G.SHDSL interface has been deactivated.
Context
To enable the device to connect to the peer device, configure the capability for the G.SHDSL
interface card based on the chip type of the peer device. When the peer device uses the g-
shdsl mode, you must configure the g-shdsl mode on the device.
Procedure
l Configure the g-shdsl.bis mode.
a. Run:
system-view
c. Run:
shdsl capability { auto | g-shdsl.bis }
A capability is configured.
By default, a G.SHDSL interface uses the auto mode.
d. Run:
shdsl pam { 16 | 32 | 64 | 128 | auto }
NOTE
If a G.SHDSL interface uses the auto mode, only the 16 PAM mode and 32 PAM mode can
be configured automatically, the 64 PAM mode and 128 PAM mode must be configured
manually.
e. Run:
shdsl bind m-pair 2 [ pairs { auto-enhanced | enhanced | standard } ]
When the g-shdsl mode is configured, strictly perform the following operations. Otherwise, the link
cannot be activated when the local device is connected to the peer device.
a. Run:
system-view
c. Run:
shdsl capability g-shdsl
A capability is configured.
d. Run:
shdsl pam 16
f. Run:
shdsl rate maximum maximum
Context
You can configure the compatibility modes of a G.SHDSL interface based on the chip type on
the remote DSLAM so that the router can communicate with the DSLAM.
The interface compatibility modes supported by the router include the extended compatibility
mode at the transport layer, probe mode, vendor ID mode, and interoperability mode.
NOTE
Only AR V200R007C00 supports the extended compatibility mode at the transport layer.
Compatibilit Sub-category
y Mode
Vendor ID l normal indicates that the G.SHDSL interface uses the device's vendor
mode ID.
l gs indicates that the G.SHDSL interface uses the Globespan's vendor
ID.
When the router communicates with a DSLAM that uses the
Globespan's vendor ID, the DSLAM detects that the router and itself
are from different vendors, and forcibly makes the router go offline.
You can set the vendor ID to the Globespan's vendor ID so that the
DSLAM does not forcibly make the router go offline.
l gs enhanced indicates that the G.SHDSL interface uses the
Globespan's enhanced vendor ID.
If the router uses the Globespan's vendor ID but still fails to
communicate with the DSLAM, you can change the vendor ID to the
Globespan's enhanced vendor ID so that the router can communicate
with the DSLAM.
Procedure
Step 1 Run:
system-view
Three compatibility modes of the G.SHDSL interface, including the probe mode, vendor
ID, and interoperability mode, are configured.
By default, the probe mode, vendor ID, and interoperability mode of a G.SHDSL
interface are set to normal.
l Run:
shdsl tc mode { efm | ptm_6465o | efm_6465o }
The extended compatibility mode at the transport layer of the G.SHDSL interface is
configured.
By default, the extended compatibility mode at the transport layer of a G.SHDSL
interface is efm.
----End
Prerequisites
The G.SHDSL interface has been deactivated.
Context
The device supports the following SNR settings:
l Uplink and downlink SNRs: When the actual SNR of the device is greater than the
configured SNR, the device is activated successfully.
l Lowest uplink and downlink SNRs: When the actual lowest SNR of the device is smaller
than the configured lowest SNR, the device is disconnected.
Procedure
l Set the uplink and downlink SNRs on a G.SHDSL interface.
a. Run:
system-view
c. Run:
shdsl current target snr margin upstream value
a. Run:
system-view
c. Run:
shdsl worst case target snr margin upstream value
Context
If the line probing function is enabled on a G.SHDSL interface, the G.SHDSL interface will
be activated at the optimal line rate.
l If the remote DSLAM is configured with the maximum and minimum G.SHDSL line
rates, the local G.SHDSL interface must be activated at a rate within the specified range.
Enable the line probing function on the G.SHDSL interface so that the interface can
automatically select an appropriate rate that is within the specified range.
l If the remote DSLAM is configured with a fixed G.SHDSL line rate, the local G.SHDSL
interface must be activated at the fixed G.SHDSL line rate. By disabling the line probing
function on the G.SHDSL interface, enable the G.SHDSL interface to be activated at the
fixed G.SHDSL line rate.
NOTE
If the modulation mode of a G.SHDSL interface is set to 64 PAM or 128 PAM, the line probing function
cannot be enabled on the G.SHDSL interface, and the G.SHDSL interface will be activated at the
maximum transmission rate configured using the shdsl rate maximum command. If the G.SHDSL
interface cannot be activated because the configured rate is too high, you need to manually configure the
maximum transmission rate of the G.SHDSL interface based on the actual line rate.
Procedure
Step 1 Run:
system-view
Step 2 Run either of the following commands to enter the G.SHDSL interface view.
l If the transmission mode is set to ATM, run:
interface atm interface-number
Step 3 Run:
shdsl line-probing enable
----End
Context
After a G.SHDSL interface is deactivated, the device is disconnected from the DSLAM. To
enable the G.SHDSL interface to transmit services, reactivate this G.SHDSL interface.
Procedure
Step 1 Run:
system-view
Step 2 Run either of the following commands to enter the G.SHDSL interface view.
l If the transmission mode is set to ATM, run:
interface atm interface-number
Step 3 Run:
undo shutdown
NOTE
l To activate G.SHDSL interfaces bound in M-Pair mode, you only need to activate the main interface
because slave interfaces will be activated together with the main interface.
l To activate G.SHDSL interfaces bound in EFM mode, activate the main and slave interfaces in
sequence.
----End
Procedure
Step 1 Run the display dsl interface { atm | ethernet } interface-number command to check
information about the G.SHDSL interface.
NOTE
You can select the G.SHDSL interface to view according to the interface transmission mode (ATM or
PTM).
The fields displayed in the command output are the same for G.SHDSL interfaces working in ATM or
PTM transmission mode.
----End
Networking Requirements
As shown in Figure 18-2, Enterprise A requires a carrier to provide a data access solution that
is easy to deploy and provides high-speed upstream and downstream transmission to meet
service requirements of security, VPN, and video conferences.
Router DSLAM
ATM1/0/0 ATM1/0/0
ATM1/0/1 M-Pair ATM1/0/1
ATM1/0/2 ATM1/0/2 Internet
Enterprise A
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure the same transmission mode as G.SHDSL interfaces on the DSLAM for
G.SHDSL interfaces on the device.
2. Deactivate G.SHDSL interfaces.
3. Set parameters for these G.SHDSL interfaces. The parameters include the interface
binding mode, transmission standard, PSD mode, and line probing function. All the
parameters except the line probing function must be the same as those on the DSLAM.
Otherwise, the G.SHDSL interfaces cannot be activated.
4. Activate the G.SHDSL interfaces.
NOTE
In this section, the configuration of G.SHDSL interfaces working in ATM transmission mode is used as
an example. The configuration of G.SHDSL interfaces working in PTM transmission mode is similar
except for the transmission mode and interface binding mode.
Procedure
Step 1 Set the transmission mode for G.SHDSL interfaces on the device to ATM.
<Huawei> system-view
[Huawei] sysname Router
[Router] set workmode slot 1 shdsl atm
Warning: Changing the working mode will reset the board in slot 1. Continue? [y/
n]:y
INFO: Resetting board[1] succeeded.
NOTE
----End
Configuration Files
l Configuration file of the Router
#
sysname Router
#
interface Atm1/0/0
shdsl bind m-pair 3
shdsl annex b
#
return
HUA UA50 162 H601SD Conexan When two Run the shdsl bind
WEI 00 LB t virtualized m-pair 2 pairs
interfaces are enhanced command
bound, the on the G.SHDSL
G.SHDSL interface working in
interface ATM mode to set
cannot be the binding mode to
activated. enhanced.
HUA MA56 Unknow SHEA Conexan When two Run the shdsl bind
WEI 00 n t virtualized m-pair 2 pairs
interfaces are enhanced command
bound, the on the G.SHDSL
G.SHDSL interface working in
interface ATM mode to set
cannot be the binding mode to
activated. enhanced.
19 IMA Configuration
With Inverse Multiplexing for ATM (IMA) technology, you can use one or multiple E1-IMA
links or G.SHDSL links to transmit services based on the required bandwidth.
19.1 IMA Overview
IMA allows a sender to break up the ATM cell flows and distributes the cells over multiple
low-speed links, and allows a receiver to recombine the cells into the cell flows.
19.2 Configuration Notes
This section describes specifications of IMA.
19.3 Default Configuration
This section describes the default configuration of the E1-IMA interface and IMA group.
19.4 Configuring IMA
19.5 Configuration Examples
This section provides IMA configuration examples, including networking requirements and
configuration roadmap.
IMA Principle
ATM cells are transmitted over the links based on the Round Robin distribution mechanism.
This mechanism allows each separate cell to be sent cyclically over the links. An IMA group
periodically sends IMA Control Protocol (ICP) cells to define IMA frames. ICP cells enable
the receiver to reconstruct the ATM cell stream. Based on the arrival time of IMA frames, the
receiver can detect and adjust the link differential delay to remove the cell delay variation
(CDV) imported by ICP cells.
The sender sends cells consecutively. If no ATM layer cell can be sent in an IMA frame
between ICP cells, the IMA sender adds filler cells to ensure consecutive cells. The IMA
receiver discards these filler cells.
IMA System
As shown in Figure 19-2, there is one or multiple physical links between Router A and
Router B.
l You can use a single E1-IMA links or G.SHDSL links to transmit services.
l When you require high bandwidth that a single E1-IMA links or G.SHDSL links cannot
provide, you can bind multiple E1-IMA links or G.SHDSL links to an IMA group to
transmit services.
An IMA group is a logical link multiplexing one or more low-speed links. It provides high
bandwidth and supports high-speed ATM cell stream. The bandwidth of an IMA group is
approximately the sum of the bandwidths of all member links. IMA technology is flexible to
use and cost-effective.
Host 1
Host n
License Support
IMA is a basic capability of an AR router and is not under license control.
asymmetric operation. Currently, the device supports symmetric mode and symmetric
operation.
Applicable Scenario
To transmit ATM cells over a single E1-IMA link, configure attributes of the E1-IMA
interfaces on both ends of the E1-IMA link.
By default, these attributes of the E1-IMA interface have default values. To modify the
attributes, perform the following operations.
NOTE
You can create PVC, specify service type, and configure parameters for the E1-IMA link. For details, see
ATM Configuration in the Huawei AR Series Access Routers Configuration Guide - WAN Configuration.
Pre-configuration Tasks
Before configuring an E1-IMA interface, complete the following task:
l Successfully registering the 4E1-IMA card
Procedure
Step 1 Run:
system-view
NOTE
When the router is connected to the peer device through E1-IMA interfaces, one E1-IMA interface must work
in master clock mode and the other must work in slave clock mode.
Step 4 Run:
frame-format { crc4-adm | no-crc4-adm }
----End
Applicable Scenario
When you require high bandwidth that a single E1-IMA link or G.SHDSL link cannot
provide, you can bind multiple E1-IMA links or G.SHDSL links to an IMA group to increase
the bandwidth.
When using an IMA group to transmit the ATM cells, you need to configure attributes of the
IMA group.
By default, these attributes of the IMA group interface have default values. To modify the
attributes, perform the following steps.
NOTE
l In ATM transmission mode, you can add G.SHDSL interfaces to IMA groups on the AR158E, AR168F,
AR158EVW, and AR208E.
l You can create PVC, specify service type, and configure parameters for the IMA group links. For details,
see ATM Configuration in the Huawei AR Series Access Routers Configuration Guide - WAN
Configuration.
Pre-configuration Tasks
Before configuring an IMA group, complete the following task:
Register the 4E1-IMA interface card with the device or power on the AR158E, AR168F,
AR158EVW, and AR208E and ensure that their self-tests are successful.
Procedure
Step 1 Create an IMA group.
1. Run:
system-view
NOTE
l Only non-configured E1-IMA link or G.SHDSL link can join an IMA group. Bound G.SHDSL links
cannot join an IMA group.
l When the device is connected to the DSLAM through the IMA group, the device and the DSLAM's
G.SHDSL links must use the same interface numbering sequence (ascending or descending) to join or
quit the IMA group. Otherwise, the IMA group may fail to be activated. To activate the IMA group, you
only need to run the shutdown and undo shutdown commands in the IMA group view.
l When removing a link from the original IMA group to a new IMA group, you need to remove two
interfaces of the link from the original IMA group, and then add the two interfaces of the link to the new
IMA group.
l If two devices on both ends of a link cannot communicate after the link is removed from an original IMA
group to a new IMA group, run the shutdown and undo shutdown commands in the IMA group view on
the two devices.
1. Run:
interface atm interface-number
The E1-IMA interface view is displayed. Alternatively, you can run the interface atm
interface-number command to enter the G.SHDSL interface view in ATM transmission
mode.
2. Run:
ima ima-group interface-number
4. Run:
ima-standard { normal | standard-v10 | standard-v11 | alternate-v10 }
The minimum number of available member links in the IMA group is set.
By default, the minimum number of available member links in an IMA group is 1.
6. Run:
differential-delay interval
The maximum differential delay of member links in the IMA group is set.
By default, the maximum differential delay of member links in an IMA group is 25 ms.
----End
ATM2/0/1 ATM2/0/1
RouterA RouterB
Configuration Roadmap
The configuration roadmap is as follows:
1. Add the E1-IMA links to an IMA group.
2. Configure the E1-IMA interface on RouterA to work in master clock mode and the E1-
IMA interface on RouterB to work in slave clock mode and use default values for other
attributes so that RouterA and RouterB on the E1-IMA link can communicate.
3. Configure RouterA' to use Common Transmit Clock Configuration (CTC) of link 0, and
RouterB to use Independent Transmit Clock Configuration (ITC) to meet higher
bandwidth requirement.
Procedure
Step 1 Configure RouterA.
# Create an IMA group.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] interface ima-group 2/0/0
[RouterA-Ima-group2/0/0] quit
----End
Configuration Files
l Configuration file of RouterA
#
sysname RouterA
#
interface atm 2/0/0
ima ima-group 2/0/0
clock master
#
interface atm 2/0/1
ima ima-group 2/0/0
clock master
#
interface ima-group 2/0/0
ima-clock ctc link-number 0
#
return
Passive optical network (PON) interfaces are classified into Ethernet PON (EPON) interfaces
and gigabit PON (GPON) interfaces. They transmit data at a high rate.
20.1 PON Overview
Passive optical network (PON) technology is a new point-to-multipoint optical access
technology. A PON network uses only optical fibers to transmit data, voice, and video
services.
20.2 Principles
20.3 Configuration Notes
This section describes specifications of PON interfaces.
20.4 Default Configuration
This section provides the default configuration of the PON interface.
20.5 Configuring Attributes of an EPON Interface
To enable the router to communicate with an upstream optical line terminal (OLT), you must
correctly configure attributes of the EPON interface connected to the OLT.
20.6 Configuring Attributes of a GPON Interface
To enable the router to communicate with an upstream optical line terminal (OLT), you must
correctly configure attributes of the GPON interface connected to the OLT.
20.7 Maintaining PON Interfaces
This section describes how to maintain PON interfaces.
NOTE
PON
ONU
OLT
ONU ODN
Internet
ODN
ONU
ONU
20.2 Principles
l Downstream: An OLT broadcasts IP packets of data, voice, and video services to all
ONUs through 1:N ODN. After an ONU receives a data frame, it checks the logical
identifier of the data frame at the physical layer. If the logical identifier is the same as the
local identifier allocated by the OLT, the ONU accepts the data frame; if not, the ONU
discards the data frame.
l Upstream: A 1:N ODN uses the time division multiple access (TDMA) function to
couple signals of various services from multiple ONUs to one optical fiber and sends the
signals to the OLT. Signals of different services do not interfere with each other during
transmission.
PON interfaces on the router transmit data to an OLT; therefore, these interfaces are also
called upstream PON interfaces.
The Ethernet in the First Mile (EFM) task force, founded in November 2000, brought forward
the EPON concept and described it in IEEE 802.3ah. EPON integrates the Ethernet and PON
technologies and provides 1.25 Gbit/s symmetric transmission rate on upstream and
downstream links. An EPON network is a point-to-multipoint gigabit optical access system.
EPON technology complies with IEEE Ethernet standards and is a good choice for migration
to the all-IP network.
ITU and FSAN developed and standardized GPON technology. This technology uses the
Generic Framing Procedure (GFP) defined by ITU-T to encapsulate Ethernet, time division
multiplexing (TDM), and Asynchronous Transfer Mode (ATM) packets at Layer 2. GPON
technology provides the downstream transmission rate of 1.25 Gbit/s or 2.5 Gbit/s, and the
upstream transmission rate of 155 Mbit/s, 622 Mbit/s, 1.25 Gbit/s, or 2.5 Gbit/s, and has
strong OAM functions. GPON technology provides a higher transmission rate and supports
more services than EPON technology, but it is more complicated and expensive and is not as
mature as EPON technology.
PON is becoming the mainstream bearer technology for the next generation access network
because of its advantages of long transmission distance, high QoS guarantee, and high
bandwidth.
Maximum
transmission 10 km or 20 km 20 km
distance
Link layer
Ethernet GEM or ATM
protocol
Encapsulation
High Higher
efficiency
Technical
Good Medium
standardization
License Support
PON interfaces is a basic capability of an AR router and is not under license control.
Different vendors have proprietary mechanisms for implementing the PON technology on
OLTs. PON cards or modules can only be interconnected with Huawei's DSLAMs.
Pre-configuration Tasks
Before Configuring an EPON interface, complete the following task:
l Installing a PON interface card on the router and ensuring that it is registered
successfully
Context
When the router is connected to an EPON interface of an OLT, configure the router to
automatically determine the working mode according to the received optical signal, or
configure the PON interface connected to the OLT to work in EPON mode.
l You are advised to configure a PON interface to work in auto-negotiation mode. To trigger
another negotiation after a successful negotiation, reset the PON board. For example, if a
PON interface of the router has automatically negotiated to work in EPON mode, you
need to reset the PON board so that this interface can automatically negotiate to work in
GPON mode when this interface connects to an OLT's PON interface that works in GPON
mode.
l If a PON interface is transmitting service data, changing the working mode will interrupt
services on the PON interface. Perform this operation with caution.
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface pon interface-number
Step 3 Run:
port mode epon
----End
Logical The OLT You do not need to When two ONUs Networks requiring
identifier authentic configure new use the same logical flexible access
(LOID) ates an logical identifiers identifier, the OLT
authentic ONU by when users change allows the one that
ation checking their physical passes the
the locations. The OLT authentication
LOID can be configured to earlier to go online.
and check only the Therefore, if an
check LOID or check both unauthorized ONU
code of the LOID and check has gone online by
the code, implementing using the logical
ONU. flexible access. identifier of an
You can authorized ONU,
configur the authorized ONU
e the cannot go online.
OLT to
check
only the
LOID, or
check
both the
LOID
and
check
code.
Procedure
l Configure physical identifier authentication (MAC address authentication).
a. Run:
system-view
You can configure the OLT to check only the LOID, or check both the LOID and check code.
When step 3 and step 4 are configured, the router will check both the LOID and check code.
l Configure password authentication.
a. Run:
system-view
c. Run:
epon-password cipher password
Password authentication is a Huawei proprietary authentication mode. When this mode is used, the
OLT must be a Huawei device.
----End
Context
After configuring optical module attributes on a PON interface, you can monitor the interface
status on the NMS.
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface pon interface-number
Step 3 Run:
laser { auto | off | on [ time-value ] }
The laser working mode of the PON interface optical module is configured.
Step 4 Run:
optical-module threshold bias { lower-limit lower-limit | upper-limit upper-
limit }*
The lower alarm threshold and upper alarm threshold of the bias current are set for the optical
module.
Step 5 Run:
optical-module threshold rx-power { lower-limit lower-limit | upper-limit upper-
limit }*
The lower alarm threshold and upper alarm threshold of the receiving optical power are set for
the optical module.
Step 6 Run:
optical-module threshold tx-power { lower-limit lower-limit | upper-limit upper-
limit }*
The lower alarm threshold and upper alarm threshold of the transmitting optical power are set
for the optical module.
Step 7 Run:
optical-module threshold temperature { lower-limit lower-limit | upper-limit
upper-limit }*
The lower alarm threshold and upper alarm threshold of the temperature are set for the optical
module.
Step 8 Run:
optical-module threshold voltage { lower-limit lower-limit | upper-limit upper-
limit }*
The lower alarm threshold and upper alarm threshold of the voltage are set for the optical
module.
----End
Follow-up Procedure
To remove all alarm thresholds that are configured step 4 through step 8, run the undo
optical-module threshold command.
Procedure
Step 1 Run the display epon-info interface pon interface-number command to view information
about an EPON interface.
Step 2 Run the display pon-transceiver interface pon interface-number command to view
information about the optical module on an EPON interface.
Step 3 Run the display pon-statistic interface pon interface-number command to view traffic
statistics on an EPON interface.
----End
Pre-configuration Tasks
Before Configuring a GPON interface, complete the following task:
l Installing a PON interface card on the router and ensuring that it is registered
successfully
l You are advised to configure a PON interface to work in auto-negotiation mode. To trigger
another negotiation after a successful negotiation, reset the PON board. For example, if a
PON interface of the device has automatically negotiated to work in EPON mode, you
need to reset the PON board so that this interface can automatically negotiate to work in
GPON mode when this interface connects to an OLT's PON interface that works in GPON
mode.
l If a PON interface is transmitting service data, changing the working mode will interrupt
services on the PON interface. Perform this operation with caution.
Procedure
Step 1 Run:
system-view
----End
Context
An OLT needs to authenticate validity and identity of each ONU to prevent access from
unauthorized ONUs. A GPON system supports the following ONU authentication modes:
A GPON system supports the following ONU authentication modes: only by serial number
(SN), only by password, or by SN and password. When a GPON system authenticates the
ONU by checking the password or checking SN and password, you must run the gpon-
password command to configure a password for the GPON.
NOTE
All the authentication parameters are pre-configured on the OLT and cannot be modified on the ONU. If
the authentication parameters are not pre-configured, the ONU cannot be authenticated.
Procedure
Step 1 Run:
system-view
----End
Context
After configuring optical module attributes on a PON interface, you can monitor the interface
status on the NMS.
Procedure
Step 1 Run:
system-view
The laser working mode of the PON interface optical module is configured.
The default laser working mode is auto.
Step 4 Run:
optical-module threshold bias { lower-limit lower-limit | upper-limit upper-
limit }*
The lower alarm threshold and upper alarm threshold of the bias current are set for the optical
module.
Step 5 Run:
optical-module threshold rx-power { lower-limit lower-limit | upper-limit upper-
limit }*
The lower alarm threshold and upper alarm threshold of the receiving optical power are set for
the optical module.
Step 6 Run:
optical-module threshold tx-power { lower-limit lower-limit | upper-limit upper-
limit }*
The lower alarm threshold and upper alarm threshold of the transmitting optical power are set
for the optical module.
Step 7 Run:
optical-module threshold temperature { lower-limit lower-limit | upper-limit
upper-limit }*
The lower alarm threshold and upper alarm threshold of the temperature are set for the optical
module.
Step 8 Run:
optical-module threshold voltage { lower-limit lower-limit | upper-limit upper-
limit }*
The lower alarm threshold and upper alarm threshold of the voltage are set for the optical
module.
----End
Follow-up Procedure
To remove all alarm thresholds that are configured step 4 through step 8, run the undo
optical-module threshold command.
----End
The cleared interface statistics cannot be restored. Exercise caution when you use this
command.
Procedure
l Run the reset pon-statistic interface pon interface-number command in the user view
or system view to clear traffic statistics on a PON interface.
----End
MP-Group used to perform MP binding. MP group For details about how to configure
interface interfaces are dedicated to the MP an MP Group interface, see MP
application and usually used in Configuration in the Huawei AR
scenarios requiring dynamic bandwidth. Series Access Routers
Configuration Guide: WAN.
Dialer used to implement the Dialer Control For details about how to configure
interface Center (DCC) function. A physical a dialer interface, see DCC
interface can be bound to a dialer Configuration in the Huawei AR
interface to inherit the configuration of Series Access Routers
the dialer interface. Configuration Guide: WAN.
Tunnel has Layer 3 features, transmits packets, For details about how to configure
interface and identifies and processes packets a tunnel interface, see GRE
transmitted over a tunnel. Configuration in the Huawei AR
Series Access Routers
Configuration Guide: VPN.
VLANIF has Layer 3 features and enables For details about how to configure
interface VLANs to communicate after being a VLANIF interface, see VLAN
assigned an IP address. Configuration in the Huawei AR
Series Access Routers
Configuration Guide: LAN
Configuration.
MFR If a single FR link cannot provide For details about how to configure
interface sufficient bandwidth, and multiple FR an MFR interface, see FR
physical links exist between devices, Configuration in the Huawei AR
you can bundle these FR physical links Series Access Routers
into a Multilink Frame Relay (MFR) Configuration Guide: WAN
link to increase bandwidth. Interconnection.
Bridge A bridge interface has Layer 3 features For details about how to configure
interface and enables users on different network a bridge interface, see Transparent
segments on a transparent bridge to Bridging Configuration in the
communicate with each other after Huawei AR Series Access Routers
being assigned an IP address. Configuration Guide: LAN
Configuration.
License Support
Logical Interface is a basic capability of an AR router and is not under license control.
Context
Generally, each physical interface is configured with one main IP address. When Layer 3
devices connect to Layer 2 devices in different VLANs through a Layer 3 Ethernet interface,
the main IP address of the Layer 3 physical interface cannot support communication between
different VLANs.
Sub-IP addresses or sub-interfaces can be configured on the Layer 3 Ethernet interface to
solve the issue. Sub-IP addresses are valid only when the main IP address is valid. Sub-
interfaces share the physical configuration of the main interface but have independent link
layer and network layer configurations. Therefore, sub-interfaces can function independently
of the main interface. Sub-interfaces are created on the Ethernet interface that connects Layer
3 devices to Layer 2 devices in different VLANs to ensure commutation between different
VLANs.
Pre-configuration Tasks
Before configuring an Ethernet sub-interface, complete the following tasks:
l Correctly connecting the physical interface of the sub-interface
l Configuring a Layer 3 main interface
Procedure
Step 1 Run:
system-view
NOTE
If you need to configure a secondary IP address for the Ethernet sub-interface, specify the sub
parameter.
l Configure an IPv6 address for the Ethernet sub-interface.
For the detailed configuration, see Configuring IPv6 Addresses for Interfaces in the
Huawei AR Series Access Routers Configuration Guide - IP Service - Basic IPv6
Configurations.
VLAN packets are classified into Dot1q packets (one layer of VLAN tag) and QinQ packets
(double layers of tags). Accordingly, there are two VLAN tag termination modes. Dot1q
termination terminates Dot1q packets and QinQ termination terminates QinQ packets. Run
either of the following commands to configure an Ethernet sub-interface for termination based
on site requirements.
l Run:
dot1q termination vid low-pe-vid [ to high-pe-vid ]
The allowed VLAN is configured on the Ethernet sub-interface for dot1q VLAN
termination.
l Run:
qinq termination pe-vid pe-vid ce-vid ce-vid1 [ to ce-vid2 ]
The allowed VLAN is configured on the Ethernet sub-interface for qinq VLAN
termination.
Step 5 Run:
arp broadcast enable
NOTE
When you enable or disable the ARP broadcast function on a sub-interface, the routing status of the sub-
interface becomes Down and then Up. This may result in flapping of routes on the entire network, affecting
the normal operation of services.
----End
Context
Sub-interfaces can be configured on a Layer 3 Eth-Trunk interface. When Layer 3 devices
connect to Layer 2 devices in different VALNs through the Layer 3 Eth-Trunk interface, sub-
interfaces must be configured on the Eth-Trunk interface to identify packets from different
VLANs and to enable users in different VLANs to communicate with each other.
Pre-Configuration
Before configuring an Eth-Trunk sub-interface, complete the following tasks:
l Using physical links to connect devices correctly
Procedure
Step 1 Run:
system-view
If you need to configure a secondary IP address for the Eth-Trunk sub-interface, specify the sub
parameter.
l Configure an IPv6 address for the Eth-Trunk sub-interface.
For the detailed configuration, see Configuring IPv6 Addresses for Interfaces in the
Huawei AR Series Access Routers Configuration Guide - IP Service - Basic IPv6
Configurations.
Step 7 Configure an Ethernet sub-interface for termination.
l Run:
dot1q termination vid low-pe-vid [ to high-pe-vid ]
The allowed VLAN is configured on the Ethernet sub-interface for dot1q VLAN
termination.
Step 8 Run:
arp broadcast enable
NOTE
When you enable or disable the ARP broadcast function on a sub-interface, the routing status of the sub-
interface becomes Down and then Up. This may result in flapping of routes on the entire network, affecting
the normal operation of services.
----End
Context
Sub-interfaces can be configured on a PON interface. To ensure that the PON interface can
identify different VLAN packets and users in different VLANs can communicate, create
mapping between sub-interfaces and VLANs on the connected PON interface.
Pre-configuration Tasks
Before configuring a PON sub-interface, complete the following tasks:
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface pon interface-number.subinterface-number
If you need to configure a secondary IP address for the PON sub-interface, specify the sub
parameter.
l Configure an IPv6 address for the PON sub-interface.
For the detailed configuration, see Configuring IPv6 Addresses for Interfaces in the
Huawei AR Series Access Routers Configuration Guide - IP Service - Basic IPv6
Configurations.
Step 4 Run:
dot1q termination vid low-pe-vid [ to high-pe-vid ]
The allowed VLAN is configured on the Ethernet sub-interface for dot1q VLAN termination.
Step 5 Run:
arp broadcast enable
NOTE
When you enable or disable the ARP broadcast function on a sub-interface, the routing status of the sub-
interface becomes Down and then Up. This may result in flapping of routes on the entire network, affecting
the normal operation of services.
----End
Context
Configuring ATM sub-interfaces implements P2MP connections on ATM links.
Procedure
Step 1 Run:
system-view
----End
Context
Configuring FR sub-interfaces implements P2MP connections on FR links.
Procedure
Step 1 Run:
system-view
Step 5 Run:
interface interface-type interface-number.subnumber [ p2mp | p2p ]
An FR sub-interface is configured.
subnumber is the number of the sub-interface. The value ranges from 1 to 1024.
The default type of an FR sub-interface is P2MP.
Step 6 Run:
ip address ip-address { mask | mask-length } [ sub ]
----End
Context
A loopback interface is always Up at the physical layer and link layer unless it is manually
shut down. You can configure loopback interfaces to enhance network reliability.
The loopback interface has the following features:
l A loopback interface is always Up at the physical layer and link layer unless it is
manually shut down. It has the loopback feature.
l The loopback interface can be configured with the mask of all 1s.
Based on the preceding features, the loopback interface has the following applications.
l The IP address of a loopback interface is specified as the source address of packets to
improve network reliability.
l When no Router ID is configured for dynamic routing protocols, the maximum IP
address of the loopback interface is configured as the router ID automatically.
l The loopback interface is configured as the source interface to send boarder gateway
protocol (BGP) packets to ensure that the BGP session functions correctly when the
physical interface is faulty.
l The loopback interface can be configured with the mask of 255.255.255.255 to save IP
address resources.
Pre-Configuration
Before configuring a loopback interface, complete the following task:
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface loopback loopback-number
Step 3 Run:
ip address ip-address { mask | mask-length } [ sub ]
----End
Context
A NULL interface is always Up once created automatically by the system. It does not forward
packets but can be used to filter packets.
A NULL0 interface is created automatically. The NULL0 interface is always Up and cannot
forward packets. Any packets sent to the NULL0 interface are discarded. If the next hop of a
static route to a network segment is a null interface, all the data packets destined for this
network segment are discarded. Therefore, the packets that you want to filter out can be sent
to the NULL0 interface directly without configuring the access control list.
For example, run the following static route configuration command to discard packets sent to
the network segment of 192.168.0.0.
[Huawei] ip route-static 192.168.0.0 255.255.255.0 NULL 0
Pre-Configuration
Before configuring a NULL interface, complete the following task:
Procedure
Step 1 Run:
system-view
----End
Context
A Multilink PPP (MP) group interface is used to perform MP binding to increase link
bandwidth.
If high bandwidth is required, a single PPP link cannot provide sufficient bandwidth. Multiple
PPP links are bound to form an MP link to enhance link bandwidth and reliability.
An MP-Group interface is the dedicated interface in MP. An MP group is created by binding
one or more interfaces to an MP-Group interface. An MP-Group interface is applicable to the
scenario with dynamic bandwidth requirements.
Pre-configuration Tasks
Before configuring an MP-Group interface, complete the following task:
l Powering on the device and performing self-check
Procedure
Step 1 Run:
system-view
----End
Context
By binding a physical interface (such as a serial, BRI or asynchronous interface) to a dialer
interface, you can enable the physical interface to inherit the configuration of the dialer
interface.
The dial control center (DCC) provides the dialing service for users. You can configure DCC
on the routers connected by an Integrated Services Digital Network (ISDN), a 3G network, or
a Public Switched Telephone Network (PSTN) or on the routers functioning as a PPPoE/
PPPoEoA/PPPoA client connecting to a PPPoE/PPPoEoA/PPPoA server.
A dialer interface is a logical interface used to implement DCC. A physical interface can be
bound to a dialer interface to inherit the configuration of the dialer interface.
Applicable Environment
Before configuring a dialer interface, complete the following task:
l Powering on the device and performing self-check
Procedure
Step 1 Run:
system-view
----End
Context
Virtual-Ethernet (VE) interfaces allow one data link protocol to transmit data of other link
layer protocols.
The VE interface is applicable to PPPoEoA and IPoEoA, and can be applied to the firewall
and route configurations.
Pre-Configuration
Before configuring a VE interface, complete the following task:
l Powering on the device and performing self-check
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface virtual-ethernet ve-number
NOTE
After establishing a binding relationship between a VE interface and the permanent virtual channel
(PVC) that transmits PPPoEoA or IPoEoA data, you can delete this VE interface only when you unbind
the VE interface from the PVC.
The MAC address of a VE interface is the system MAC address, and may conflict with the
MAC address of another interface (a physical or logical interface). If the MAC address of the
VE interface conflicts with that of another interface, a loop probably occurs or traffic
forwarding on the VE interface may fail.
In this case, you must run this command to configure a MAC address for the VE interface to
guarantee the normal transmission of service data flows.
----End
Context
When a PPP link needs to transmit data of other link layer protocols, configure a Virtual-
Template (VT) interface.
A VT interface is used in VPN, ATM and MP applications. The system creates and deletes
VT interfaces and the process is transparent to users.
The link layer of VT interfaces only supports the PPP protocol, and the network layer only
supports IP.
l The newly configured or modified parameters of a VT interface take effect only after the
shutdown and the undo shutdown command are run.
l After configuring or modifying services such as MPLS, MTU or IS-IS, modify VT
configuration on the interfaces with the services configured.
Pre-configuration Tasks
Before configuring a VT interface, complete the following tasks:
Procedure
Step 1 Run:
system-view
Step 2 Run:
interface virtual-template vt-number
After a VT interface is deleted, all of its derived VA interfaces are deleted automatically.
Step 3 Run:
ip address ip-address { mask| mask-length } [ sub ]
Step 4 Run:
broadcast-limit link number
The maximum number of links supported by the VT interface for sending multicast or
broadcast packets is configured.
Multicast or broadcast packets sent out from each link may affect system performance if there
are too many links in the VT interface.
Using the broadcast-limit link command, you can restrict the packets since the packets are
dropped when the link number exceeds the maximum number.
NOTE
Do not configure multiple services such as MP, L2TP and PPPoE on a VT.
----End
LAN2:10.10.0.0/16
Serial1/0/0 RouterB
1.1.1.2/24
DLCI=70
Serial1/0/0.1
RouterA 1.1.1.1/24
DLCI=50
Frame Relay
network
Serial1/0/0.2
1.1.2.1/24
DLCI=60
Serial1/0/0
LAN1:10.9.0.0/16 1.1.2.2/24
DLCI=80 RouterC
LAN3:10.11.0.0/16
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure the link protocol of the interface that accesses the FR network on routerA.
2. Configure sub-interfaces and allocate IP addresses and VC.
3. Configure the static route to the peer LAN.
Procedure
Step 1 Configure RouterA.
# Configure link layer protocol as FR on Serial 1/0/0 of RouterA.
<Huawei> system-view
[Huawei] sysname RouterA
# Configure the sub-interface Serial 1/0/0.1 on RouterA, and assign VC for it.
[RouterA] interface serial 1/0/0.1 p2mp
[RouterA-Serial1/0/0.1] ip address 1.1.1.1 255.255.255.0
[RouterA-Serial1/0/0.1] fr dlci 50
[RouterA-fr-dlci-Serial1/0/0.1-50] quit
# Configure the sub-interface Serial 1/0/0.2 on RouterA, and assign VC for it.
[RouterA] interface serial 1/0/0.2 p2mp
[RouterA-Serial1/0/0.2] ip address 1.1.2.1 255.255.255.0
[RouterA-Serial1/0/0.2] fr dlci 60
[RouterA-fr-dlci-Serial1/0/0.2-60] quit
# Configure the IP address on Serial 1/0/0 of RouterB, and assign VC for it.
[RouterB-Serial1/0/0] ip address 1.1.1.2 255.255.255.0
[RouterB-Serial1/0/0] fr dlci 70
[RouterB-fr-dlci-Serial1/0/0-70] quit
# Configure the IP address on Serial 1/0/0 of RouterC, and assign VC for it.
[RouterC-Serial1/0/0] ip address 1.1.2.2 255.255.255.0
[RouterC-Serial1/0/0] fr dlci 80
[RouterC-fr-dlci-Serial1/0/0-80] quit
# Run the display ip route-table command on RouterA to view routes of LAN2 and LAN3.
The ping command output shows that three LANs can access each other.
----End
Configuration Files
l Configuration files of RouterA
#
sysname RouterA
#
interface Serial1/0/0
link-protocol fr
#
interface Serial1/0/0.1 p2mp
fr dlci 50
ip address 1.1.1.1 255.255.255.0
#
interface Serial1/0/0.2 p2mp
fr dlci 60
ip address 1.1.2.1 255.255.255.0
#
ip route-static 10.10.0.0 255.255.0.0 1.1.1.2
ip route-static 10.11.0.0 255.255.0.0 1.1.2.2
#
return
link-protocol fr
fr dlci 70
ip address 1.1.1.2 255.255.255.0
#
ip route-static 10.9.0.0 255.255.0.0 1.1.1.1
#
return
Serial1/0/0
RouterA RouterB
10.1.1.2/30
Configuration Roadmap
The configuration roadmap is as follows:
Configure the Serial interface of RouterA to borrow the IP address of the loopback1
interface.so that RouterA can communicate with RouterB.
Procedure
Step 1 Create a loopback interface on Router A and allocate an IP address for it.
<Router> system-view
[Router] sysname RouterA
[RouterA] interface loopback 1
[RouterA-LoopBack1] ip address 10.1.1.1 32
[RouterA-LoopBack1] quit
Step 2 Configure Serial 1/0/0 of Router A to borrow the IP address of the created loopback1
interface.
[RouterA] interface serial 1/0/0
[RouterA-Serial1/0/0] ip address unnumbered interface loopback 1
[RouterA-Serial1/0/0] quit
# The information in bold shows that Serial1/0/0 borrows the IP address of loopback1.
# If Router A can ping Router B, Router A can communicate with Router B.
----End
Configuration Files
l Configuration files of Router A.
#
sysname RouterA
#
interface Serial1/0/0
link-protocol ppp
ip address unnumbered interface LoopBack1
#
interface LoopBack1
ip address 10.1.1.1 255.255.255.255
#
return